summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java
diff options
context:
space:
mode:
authorcfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-07-23 00:26:22 +0000
committercfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2010-07-23 00:26:22 +0000
commit6737a416d8cf688b15ec72a5ca574b0208a4dfc8 (patch)
tree43f298417795ecfa22af989a4031e43c642ac3ba /pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java
parente5f83cbfceeac25ba1cdb532bf327c2f3e389d2f (diff)
downloadpki-6737a416d8cf688b15ec72a5ca574b0208a4dfc8.tar.gz
pki-6737a416d8cf688b15ec72a5ca574b0208a4dfc8.tar.xz
pki-6737a416d8cf688b15ec72a5ca574b0208a4dfc8.zip
Bug 608086 - CC: CA, OCSP, and DRM need to add more audit calls
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1130 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java')
-rw-r--r--pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java39
1 files changed, 13 insertions, 26 deletions
diff --git a/pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java b/pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java
index d5e6d1299..e36f5b385 100644
--- a/pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java
+++ b/pki/base/common/src/com/netscape/cms/profile/common/EnrollProfile.java
@@ -1167,7 +1167,20 @@ public abstract class EnrollProfile extends BasicProfile
public void populateInput(IProfileContext ctx, IRequest request)
throws EProfileException {
super.populateInput(ctx, request);
+ }
+
+ public void populate(IRequest request)
+ throws EProfileException {
+ super.populate(request);
+
+ }
+ /**
+ * Passes the request to the set of constraint policies
+ * that validate the request against the profile.
+ */
+ public void validate(IRequest request)
+ throws ERejectException {
String auditMessage = null;
String auditSubjectID = auditSubjectID();
String auditRequesterID = auditRequesterID(request);
@@ -1230,34 +1243,8 @@ public abstract class EnrollProfile extends BasicProfile
audit(auditMessage);
}
- // } catch( EProfileException eAudit1 ) {
- // // store a message in the signed audit log file
- // auditMessage = CMS.getLogMessage(
- // LOGGING_SIGNED_AUDIT_PROFILE_CERT_REQUEST,
- // auditSubjectID,
- // ILogger.FAILURE,
- // auditRequesterID,
- // auditProfileID,
- // auditCertificateSubjectName );
- //
- // audit( auditMessage );
- // }
- }
-
- public void populate(IRequest request)
- throws EProfileException {
- super.populate(request);
-
- }
- /**
- * Passes the request to the set of constraint policies
- * that validate the request against the profile.
- */
- public void validate(IRequest request)
- throws ERejectException {
super.validate(request);
- X509CertInfo info = request.getExtDataInCertInfo(REQUEST_CERTINFO);
Object key = null;
try {