|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 LdapPrincipalDaoImpl
principalUid
- The principal uid.
protected String getDnSuffix()
LdapPrincipalDaoImpl
Builds the dn suffix.
getDnSuffix
in class LdapPrincipalDaoImpl
LdapPrincipalDaoImpl.getDnSuffix()
protected Principal makePrincipal(String principalUid)
Creates a GroupPrincipal object.
makePrincipal
in class LdapPrincipalDaoImpl
principalUid
- The principal uid.
protected String getEntryPrefix()
AbstractLdapDao
A template method that returns the LDAP entry prefix of the concrete DAO.
TODO : this should be in spring config
getEntryPrefix
in class AbstractLdapDao
protected String getSearchSuffix()
AbstractLdapDao
A template method that returns the LDAP entry prefix of the concrete DAO.
TODO : this should be in spring config
getSearchSuffix
in class AbstractLdapDao
protected String getSearchDomain()
AbstractLdapDao
The domain in wich to perform a search
TODO : this should be in spring config
getSearchDomain
in class LdapPrincipalDaoImpl
protected String[] getObjectClasses()
getObjectClasses
in class AbstractLdapDao
protected String getUidAttributeForPrincipal()
LdapPrincipalDaoImpl
Builds the dn suffix.
getUidAttributeForPrincipal
in class LdapPrincipalDaoImpl
protected String[] getAttributes()
getAttributes
in class AbstractLdapDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |