|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.iiit.access.server.util.LdapUtil
This class is used for all LDAP requests of the LDAP plug-in.
Constructor Summary | |
LdapUtil()
Creates a new instance of LdapPlugin |
Method Summary | |
String |
getLdapCommonName()
The LDAP attribute to use for names |
String |
getLdapExpression()
The LDAP attribute to use for expressions |
String |
getLdapFormulaBase()
Retrieves the configured LDAP search base for expressions |
String |
getLdapFormulaClass()
Retrieves the configured LDAP object class to use for expressions |
String |
getLdapGroupBase()
Retrieves the configured LDAP search base for groups |
String |
getLdapGroupClass()
Retrieves the configured LDAP object class to use for groups |
String |
getLdapGroupMember()
The LDAP attribute to use for user IDs of group members |
String |
getLdapPersonBase()
Retrieves the configured LDAP search base for persons |
String |
getLdapPersonClass()
Retrieves the configured LDAP object class to use for persons |
String |
getLdapUserId()
The LDAP attribute to use for user IDs |
void |
initialize(Configuration config)
Initialize the current object. |
Vector |
search(String searchBase,
String filter,
String[] attrs)
Retrieves records from the LDAP database. |
void |
shutdown()
Stop the refresher thread |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LdapUtil()
Method Detail |
public void initialize(Configuration config)
LdapPersonClass | The LDAP class used for persons |
LdapGroupClass | The LDAP class used for groups |
LdapFormulaClass | The LDAP class used for expressions |
LdapPersonSearchBase | The search base for persons |
LdapGroupSearchBase | The search base for groups |
LdapFormulaSearchBase | The search base for expressions |
LdapConnectionManager
config
- The configuration needed for the LDAP requests.public void shutdown()
public String getLdapPersonBase()
public String getLdapPersonClass()
public String getLdapFormulaBase()
public String getLdapFormulaClass()
public String getLdapGroupBase()
public String getLdapGroupClass()
public String getLdapExpression()
public String getLdapCommonName()
public String getLdapUserId()
public String getLdapGroupMember()
public Vector search(String searchBase, String filter, String[] attrs) throws NamingException
searchBase
- The search base to use for the request.filter
- The search filter to use for the requestattrs
- The attributes to retrieve
LdapGenericObject
NamingException
- if a LDAP error occured
|
iiitAccessServer 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |