Class Mapper
java.lang.Object
com.netscape.certsrv.publish.Mapper
Class for mapping a X509 certificate to a LDAP entry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ConfigStoreReturn config store.Returns the initial default parameters.abstract StringReturns the description of this mapper.abstract StringReturns implementation name.Returns the current instance parameters.abstract voidinit(ConfigStore config) Initialize from config store.abstract Stringmaps a certificate to a LDAP entry.abstract Stringmaps a certificate to a LDAP entry.
-
Constructor Details
-
Mapper
public Mapper()
-
-
Method Details
-
init
Initialize from config store.- Parameters:
config- the configuration store to initialize from.- Throws:
DBException- initialization failed due to Ldap error.EBaseException- initialization failed.
-
getConfigStore
Return config store. -
getImplName
Returns implementation name. -
getDescription
Returns the description of this mapper. -
getDefaultParams
-
getInstanceParams
-
map
maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.- Parameters:
conn- the LDAP connectionobj- the object to map- Returns:
- dn indicates whether a mapping was successful
- Throws:
DBException- Map operation failed.
-
map
public abstract String map(netscape.ldap.LDAPConnection conn, Request r, Object obj) throws DBException maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.- Parameters:
conn- the LDAP connectionr- the request to mapobj- the object to map- Returns:
- dn indicates whether a mapping was successful
- Throws:
DBException- Map operation failed.
-