diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java b/pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java index ebc615fc..cd4012a4 100644 --- a/pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java +++ b/pki/base/common/src/com/netscape/certsrv/publish/ILdapCertMapper.java @@ -17,6 +17,7 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.certsrv.publish; + import java.security.cert.X509Certificate; import java.util.Vector; @@ -24,9 +25,10 @@ import netscape.ldap.LDAPConnection; import com.netscape.certsrv.ldap.ELdapException; -/** - * Interface for mapping a X509 certificate to a LDAP entry. - * + +/** + * Interface for mapping a X509 certificate to a LDAP entry. + * * @version $Revision$ $Date$ */ public interface ILdapCertMapper extends ILdapPlugin { @@ -52,17 +54,18 @@ public interface ILdapCertMapper extends ILdapPlugin { public Vector getInstanceParams(); /** - * maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry. - * + * maps a certificate to a LDAP entry. + * returns dn of the mapped LDAP entry. * @param conn the LDAP connection * @param cert the certificate to map * @param checkForCert whether to check for the presence of the cert - * @exception ELdapException Failed to map. - * @return LdapCertMapResult indicates whether a mapping was successful and - * whether a certificate was found if checkForCert was true. If - * checkForCert was not set the hasCert method in LdapCertMapResult - * should be ignored. + * @exception ELdapException Failed to map. + * @return LdapCertMapResult indicates whether a mapping was successful + * and whether a certificate was found if checkForCert was true. + * If checkForCert was not set the hasCert method in LdapCertMapResult + * should be ignored. */ - public LdapCertMapResult map(LDAPConnection conn, X509Certificate cert, - boolean checkForCert) throws ELdapException; + public LdapCertMapResult map(LDAPConnection conn, + X509Certificate cert, boolean checkForCert) + throws ELdapException; } |