Package com.netscape.certsrv.publish
Interface ILdapCertMapper
- All Superinterfaces:
ILdapPlugin
Interface for mapping a X509 certificate to a LDAP entry.
- Version:
- $Revision$ $Date$
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default parameters.Returns the description of this mapper.Returns implementation name.Returns the instance parameters.map
(netscape.ldap.LDAPConnection conn, X509Certificate cert, boolean checkForCert) maps a certificate to a LDAP entry.Methods inherited from interface com.netscape.certsrv.publish.ILdapPlugin
getConfigStore, init
-
Method Details
-
getImplName
String getImplName()Returns implementation name. -
getDescription
String getDescription()Returns the description of this mapper. -
getDefaultParams
Returns the default parameters. -
getInstanceParams
Returns the instance parameters. -
map
LdapCertMapResult map(netscape.ldap.LDAPConnection conn, 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.
-