|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.publish.mappers.LdapCertExactMap
public class LdapCertExactMap
Maps a X509 certificate to a LDAP entry by using the subject name of the certificate as the LDAP entry DN.
| Field Summary | |
|---|---|
protected IConfigStore |
mConfig
|
| Fields inherited from interface com.netscape.certsrv.base.IExtendedPluginInfo |
|---|
HELP_TEXT, HELP_TOKEN |
| Constructor Summary | |
|---|---|
LdapCertExactMap()
constructs a certificate subject name mapper with search base. |
|
| Method Summary | |
|---|---|
IConfigStore |
getConfigStore()
Return config store. |
java.util.Vector |
getDefaultParams()
Returns the initial default parameters. |
java.lang.String |
getDescription()
Returns the description of this mapper. |
java.lang.String[] |
getExtendedPluginInfo(java.util.Locale locale)
This method returns an array of strings. |
java.lang.String |
getImplName()
Returns implementation name. |
java.util.Vector |
getInstanceParams()
Returns the current instance parameters. |
void |
init(IConfigStore config)
Initialize from config store. |
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)
Finds the entry for the certificate by looking for the cert subject name in the subject name attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IConfigStore mConfig
| Constructor Detail |
|---|
public LdapCertExactMap()
| Method Detail |
|---|
public IConfigStore getConfigStore()
ILdapPlugin
getConfigStore in interface ILdapPlugin
public void init(IConfigStore config)
throws EBaseException
ILdapPlugin
init in interface ILdapPluginconfig - the configuration store to initialize from.
ELdapException - initialization failed due to Ldap error.
EBaseException - initialization failed.public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo in interface IExtendedPluginInfopublic java.lang.String getImplName()
ILdapMapper
getImplName in interface ILdapMapperpublic java.lang.String getDescription()
ILdapMapper
getDescription in interface ILdapMapperpublic java.util.Vector getDefaultParams()
ILdapMapper
getDefaultParams in interface ILdapMapperpublic java.util.Vector getInstanceParams()
ILdapMapper
getInstanceParams in interface ILdapMapper
public java.lang.String map(netscape.ldap.LDAPConnection conn,
java.lang.Object obj)
throws ELdapException
map in interface ILdapMapperconn - - 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 ILdapMapperconn - the LDAP connectionreq - the request to mapobj - the object to map
ELdapException - Map operation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||