com.netscape.certsrv.publish
Interface ILdapMapper

All Superinterfaces:
ILdapPlugin
All Known Implementing Classes:
LdapCaSimpleMap, LdapCertCompsMap, LdapCertExactMap, LdapCertSubjMap, LdapCrlIssuerCompsMap, LdapEnhancedMap, LdapSimpleMap, NoMap

public interface ILdapMapper
extends ILdapPlugin

Interface for mapping a X509 certificate to a LDAP entry.

Version:
$Revision: 1211 $ $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 java.util.Vector getDefaultParams()
          Returns the initial default parameters.
 java.lang.String getDescription()
          Returns the description of this mapper.
 java.lang.String getImplName()
          Returns implementation name.
 java.util.Vector getInstanceParams()
          Returns the current instance parameters.
 java.lang.String map(netscape.ldap.LDAPConnection conn, IRequest r, java.lang.Object obj)
          maps a certificate to a LDAP entry.
 java.lang.String map(netscape.ldap.LDAPConnection conn, java.lang.Object obj)
          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 getDefaultParams()
Returns the initial default parameters.


getInstanceParams

java.util.Vector getInstanceParams()
Returns the current instance parameters.


map

java.lang.String map(netscape.ldap.LDAPConnection conn,
                     java.lang.Object obj)
                     throws ELdapException
maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.

Parameters:
conn - the LDAP connection
obj - the object to map
Returns:
dn indicates whether a mapping was successful
Throws:
ELdapException - Map operation failed.

map

java.lang.String map(netscape.ldap.LDAPConnection conn,
                     IRequest r,
                     java.lang.Object obj)
                     throws ELdapException
maps a certificate to a LDAP entry. returns dn of the mapped LDAP entry.

Parameters:
conn - the LDAP connection
r - the request to map
obj - the object to map
Returns:
dn indicates whether a mapping was successful
Throws:
ELdapException - Map operation failed.