public class LdapCertCompsMap extends LdapDNCompsMap implements ILdapMapper
LdapDNCompsMap.SearchFilter
mBaseDN, mConfig, mDnComps, mFilterComps
HELP_TEXT, HELP_TOKEN
Constructor and Description |
---|
LdapCertCompsMap() |
LdapCertCompsMap(java.lang.String baseDN,
netscape.security.util.ObjectIdentifier[] dnComps,
netscape.security.util.ObjectIdentifier[] filterComps)
Constructor.
|
LdapCertCompsMap(java.lang.String certAttr,
java.lang.String baseDN,
netscape.security.util.ObjectIdentifier[] dnComps,
netscape.security.util.ObjectIdentifier[] filterComps)
constructor using non-standard certificate attribute.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.String> |
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<java.lang.String> |
getInstanceParams()
Returns the current instance parameters.
|
protected void |
init(java.lang.String baseDN,
netscape.security.util.ObjectIdentifier[] dnComps,
netscape.security.util.ObjectIdentifier[] filterComps)
common initialization routine.
|
java.lang.String |
map(netscape.ldap.LDAPConnection conn,
IRequest req,
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 LDAP entry.
|
formDNandFilter, getCompsFromString, getConfigStore, getDnComps, getExtendedPluginInfo, getFilterComps, init, map
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigStore, init
public LdapCertCompsMap()
public LdapCertCompsMap(java.lang.String baseDN, netscape.security.util.ObjectIdentifier[] dnComps, netscape.security.util.ObjectIdentifier[] filterComps)
baseDN
- The base DN.dnComps
- Components to form the LDAP base dn for search.filterComps
- Components to form the LDAP search filter.public LdapCertCompsMap(java.lang.String certAttr, java.lang.String baseDN, netscape.security.util.ObjectIdentifier[] dnComps, netscape.security.util.ObjectIdentifier[] filterComps)
public java.lang.String getImplName()
ILdapMapper
getImplName
in interface ILdapMapper
getImplName
in class LdapDNCompsMap
public java.lang.String getDescription()
ILdapMapper
getDescription
in interface ILdapMapper
getDescription
in class LdapDNCompsMap
public java.util.Vector<java.lang.String> getDefaultParams()
ILdapMapper
getDefaultParams
in interface ILdapMapper
getDefaultParams
in class LdapDNCompsMap
public java.util.Vector<java.lang.String> getInstanceParams()
ILdapMapper
getInstanceParams
in interface ILdapMapper
getInstanceParams
in class LdapDNCompsMap
protected void init(java.lang.String baseDN, netscape.security.util.ObjectIdentifier[] dnComps, netscape.security.util.ObjectIdentifier[] filterComps)
LdapDNCompsMap
init
in class LdapDNCompsMap
public java.lang.String map(netscape.ldap.LDAPConnection conn, java.lang.Object obj) throws ELdapException
map
in interface ILdapMapper
conn
- - the LDAP connection.obj
- - the X509Certificate.ELdapException
- Map operation failed.public java.lang.String map(netscape.ldap.LDAPConnection conn, IRequest req, java.lang.Object obj) throws ELdapException
ILdapMapper
map
in interface ILdapMapper
conn
- the LDAP connectionreq
- the request to mapobj
- the object to mapELdapException
- Map operation failed.