diff options
author | Ade Lee <alee@redhat.com> | 2012-03-23 16:19:59 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-03-23 20:51:42 -0400 |
commit | 40d3643b8d91886bf210aa27f711731c81a11e49 (patch) | |
tree | afef9b49de9539ab1d681835e150aadefb4f9e53 /pki/base/ca/src/com/netscape | |
parent | 154c2954b7986299840746e98ae7a23199cc35b9 (diff) | |
download | pki-40d3643b8d91886bf210aa27f711731c81a11e49.tar.gz pki-40d3643b8d91886bf210aa27f711731c81a11e49.tar.xz pki-40d3643b8d91886bf210aa27f711731c81a11e49.zip |
Added policy deprecations
Many of the policy deprecation warnings come from classes that probably ought to
be deprecated as part of the deprecated policy framework as well. Making these
as deprecated removes the deprecation warnings - and we can really see where
we make sure of deprecated policy code elsewhere.
Also removed some URLEncoder, Decoder deprecations
Diffstat (limited to 'pki/base/ca/src/com/netscape')
-rw-r--r-- | pki/base/ca/src/com/netscape/ca/CAPolicy.java | 1 | ||||
-rw-r--r-- | pki/base/ca/src/com/netscape/ca/CertificateAuthority.java | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pki/base/ca/src/com/netscape/ca/CAPolicy.java b/pki/base/ca/src/com/netscape/ca/CAPolicy.java index d18774d95..4df28d344 100644 --- a/pki/base/ca/src/com/netscape/ca/CAPolicy.java +++ b/pki/base/ca/src/com/netscape/ca/CAPolicy.java @@ -39,6 +39,7 @@ import com.netscape.cmscore.util.Debug; * XXX2 moved to just implement IPolicy since GenericPolicyProcessor is * unuseable for CA. * + * @deprecated * @version $Revision$, $Date$ */ public class CAPolicy implements IPolicy { diff --git a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java index 007ebf207..c8783f566 100644 --- a/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java +++ b/pki/base/ca/src/com/netscape/ca/CertificateAuthority.java @@ -268,6 +268,9 @@ public class CertificateAuthority implements ICertificateAuthority, ICertAuthori return mCRLPublisher; } + /** + * @deprecated + */ public IPolicyProcessor getPolicyProcessor() { return mPolicy.getPolicyProcessor(); } |