public class NoMap extends java.lang.Object implements ILdapMapper, IExtendedPluginInfo
Modifier and Type | Field and Description |
---|---|
IConfigStore |
mConfig |
HELP_TEXT, HELP_TOKEN
Constructor and Description |
---|
NoMap()
constructor if initializing from config store.
|
Modifier and Type | Method and Description |
---|---|
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)
for initializing 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)
Maps a X500 subject name to LDAP entry.
|
public IConfigStore mConfig
public java.lang.String[] getExtendedPluginInfo(java.util.Locale locale)
IExtendedPluginInfo
getExtendedPluginInfo
in interface IExtendedPluginInfo
public IConfigStore getConfigStore()
ILdapPlugin
getConfigStore
in interface ILdapPlugin
public void init(IConfigStore config) throws EBaseException
init
in interface ILdapPlugin
config
- the configuration store to initialize from.ELdapException
- initialization failed due to Ldap error.EBaseException
- initialization failed.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 object to map.ELdapException
- if any LDAP exceptions occured.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.public java.lang.String getImplName()
ILdapMapper
getImplName
in interface ILdapMapper
public java.lang.String getDescription()
ILdapMapper
getDescription
in interface ILdapMapper
public java.util.Vector getDefaultParams()
ILdapMapper
getDefaultParams
in interface ILdapMapper
public java.util.Vector getInstanceParams()
ILdapMapper
getInstanceParams
in interface ILdapMapper