Package com.netscape.certsrv.publish
Interface ILdapCertMapper
-
- All Superinterfaces:
ILdapPlugin
public interface ILdapCertMapper extends ILdapPlugin
Interface for mapping a X509 certificate to a LDAP entry.- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Vector<java.lang.String>
getDefaultParams()
Returns the default parameters.java.lang.String
getDescription()
Returns the description of this mapper.java.lang.String
getImplName()
Returns implementation name.java.util.Vector<java.lang.String>
getInstanceParams()
Returns the instance parameters.LdapCertMapResult
map(netscape.ldap.LDAPConnection conn, java.security.cert.X509Certificate cert, boolean checkForCert)
maps a certificate to a LDAP entry.-
Methods inherited from interface com.netscape.certsrv.publish.ILdapPlugin
getConfigStore, init
-
-
-
-
Method Detail
-
getImplName
java.lang.String getImplName()
Returns implementation name.
-
getDescription
java.lang.String getDescription()
Returns the description of this mapper.
-
getDefaultParams
java.util.Vector<java.lang.String> getDefaultParams()
Returns the default parameters.
-
getInstanceParams
java.util.Vector<java.lang.String> getInstanceParams()
Returns the instance parameters.
-
map
LdapCertMapResult map(netscape.ldap.LDAPConnection conn, java.security.cert.X509Certificate cert, boolean checkForCert) throws ELdapException
maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.- Parameters:
conn
- the LDAP connectioncert
- the certificate to mapcheckForCert
- whether to check for the presence of the cert- Returns:
- 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.
- Throws:
ELdapException
- Failed to map.
-
-