Method Summary |
|
protected void | bindToServer(String rootDn, String rootPassword)
Binds to the ldap server. |
abstract protected String[] | getAttributes() |
abstract protected String | getEntryPrefix()
A template method that returns the LDAP entry prefix of the concrete DAO. |
protected String[] | getGroupAttributes() |
protected String | getGroupFilter()
Returns the default Group suffix dn. |
protected String | getGroupFilterBase()
Returns the default Group suffix dn. |
protected String | getGroupIdAttribute() |
protected String | getGroupMembershipAttribute() |
protected String | getGroupMembershipForRoleAttribute() |
protected String[] | getGroupObjectClasses()
Returns the default Group suffix dn. |
protected String | getGroupObjectRequiredAttributeClasses() |
protected String | getGroupUidAttribute() |
protected String[] | getKnownAttributes() |
abstract protected String[] | getObjectClasses() |
protected String[] | getRoleAttributes() |
protected String | getRoleFilter()
Returns the default Group suffix dn. |
protected String | getRoleFilterBase()
Returns the default Group suffix dn. |
protected String | getRoleGroupMembershipForRoleAttribute() |
protected String | getRoleIdAttribute() |
protected String | getRoleMembershipAttribute() |
protected String[] | getRoleObjectClasses()
Returns the default Group suffix dn. |
protected String | getRoleObjectRequiredAttributeClasses() |
protected String | getRoleUidAttribute() |
protected String | getRootContext()
Returns the root context. |
abstract protected String | getSearchDomain() |
protected int | getSearchScope() |
abstract protected String | getSearchSuffix()
A template method that returns the LDAP entry prefix of the concrete DAO. |
protected String | getSubcontextName(String dn)
Gets the sub context name.
Parameters: dn - The domain name. |
protected String | getUidAttribute() |
protected String[] | getUserAttributes() |
protected String | getUserFilter() |
protected String | getUserFilterBase()
Returns the default Group suffix dn. |
protected String | getUserGroupMembershipAttribute() |
protected String | getUserIdAttribute() |
protected String[] | getUserObjectClasses() |
protected String | getUserPasswordAttribute() |
protected String | getUserRoleMembershipAttribute() |
protected String | getUserUidAttribute() |
public String | lookupByUid(String uid)
Searches the LDAP server for the user with the specified userid (uid attribute). |
protected NamingEnumeration | searchByWildcardedUid(String filter, SearchControls cons)
Search uid by wild card. |
protected NamingEnumeration | searchGroupByWildcardedUid(String filter, SearchControls cons)
Search uid by wild card. |
protected NamingEnumeration | searchRoleByWildcardedUid(String filter, SearchControls cons)
Search uid by wild card. |
protected SearchControls | setSearchControls() |
protected void | validateDn(String dn)
Validate the domain name. |
protected void | validatePassword(String password)
Valiate the users password. |
protected void | validateUid(String uid)
Validate the uid. |