| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao
org.apache.jetspeed.security.spi.impl.ldap.LdapPrincipalDaoImpl
org.apache.jetspeed.security.spi.impl.ldap.LdapGroupDaoImpl
public class LdapGroupDaoImpl
DAO for handling group objects.
| Field Summary | 
|---|
| Fields inherited from class org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao | 
|---|
| ctx | 
| Constructor Summary | |
|---|---|
| LdapGroupDaoImpl()Default constructor. | |
| LdapGroupDaoImpl(LdapBindingConfig ldapConfig)Initializes the dao. | |
| Method Summary | |
|---|---|
| protected  Attributes | defineLdapAttributes(String principalUid)A template method for defining the attributes for a particular LDAP class. | 
| protected  String[] | getAttributes() | 
| protected  String | getDnSuffix()Builds the dn suffix. | 
| protected  String | getEntryPrefix()A template method that returns the LDAP entry prefix of the concrete DAO. | 
| protected  String[] | getObjectClasses() | 
| protected  String | getSearchDomain()The domain in wich to perform a search | 
| protected  String | getSearchSuffix()A template method that returns the LDAP entry prefix of the concrete DAO. | 
| protected  String | getUidAttributeForPrincipal()Builds the dn suffix. | 
| protected  Principal | makePrincipal(String principalUid)Creates a GroupPrincipal object. | 
| Methods inherited from class org.apache.jetspeed.security.spi.impl.ldap.LdapPrincipalDaoImpl | 
|---|
| convertUidToLdapAcceptableName, create, delete, find, getAttribute, getGroupDN, getGroupDN, getRoleDN, getRoleDN, getUserDN, getUserDN, parseAttr | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapReadOnlyPrincipalDao | 
|---|
| lookupByUid | 
| Constructor Detail | 
|---|
public LdapGroupDaoImpl()
                 throws org.apache.jetspeed.security.SecurityException
Default constructor.
org.apache.jetspeed.security.SecurityException - A SecurityException.
public LdapGroupDaoImpl(LdapBindingConfig ldapConfig)
                 throws org.apache.jetspeed.security.SecurityException
Initializes the dao.
ldapConfig - Holds the ldap binding configuration.
org.apache.jetspeed.security.SecurityException - A SecurityException.| Method Detail | 
|---|
protected Attributes defineLdapAttributes(String principalUid)
A template method for defining the attributes for a particular LDAP class.
defineLdapAttributes in class LdapPrincipalDaoImplprincipalUid - The principal uid.
protected String getDnSuffix()
LdapPrincipalDaoImplBuilds the dn suffix.
getDnSuffix in class LdapPrincipalDaoImplLdapPrincipalDaoImpl.getDnSuffix()protected Principal makePrincipal(String principalUid)
Creates a GroupPrincipal object.
makePrincipal in class LdapPrincipalDaoImplprincipalUid - The principal uid.
protected String getEntryPrefix()
AbstractLdapDaoA template method that returns the LDAP entry prefix of the concrete DAO.
TODO : this should be in spring config
getEntryPrefix in class AbstractLdapDaoprotected String getSearchSuffix()
AbstractLdapDaoA template method that returns the LDAP entry prefix of the concrete DAO.
TODO : this should be in spring config
getSearchSuffix in class AbstractLdapDaoprotected String getSearchDomain()
AbstractLdapDaoThe domain in wich to perform a search
TODO : this should be in spring config
getSearchDomain in class LdapPrincipalDaoImplprotected String[] getObjectClasses()
getObjectClasses in class AbstractLdapDaoprotected String getUidAttributeForPrincipal()
LdapPrincipalDaoImplBuilds the dn suffix.
getUidAttributeForPrincipal in class LdapPrincipalDaoImplprotected String[] getAttributes()
getAttributes in class AbstractLdapDao| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||