summaryrefslogtreecommitdiffstats
path: root/pki/base/ca
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-03-23 16:19:59 -0400
committerAde Lee <alee@redhat.com>2012-03-23 20:51:42 -0400
commit40d3643b8d91886bf210aa27f711731c81a11e49 (patch)
treeafef9b49de9539ab1d681835e150aadefb4f9e53 /pki/base/ca
parent154c2954b7986299840746e98ae7a23199cc35b9 (diff)
downloadpki-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')
-rw-r--r--pki/base/ca/src/com/netscape/ca/CAPolicy.java1
-rw-r--r--pki/base/ca/src/com/netscape/ca/CertificateAuthority.java3
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();
}