|
||||||||||
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.InitLdapSchema
public class InitLdapSchema
Field Summary |
---|
Fields inherited from class org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao |
---|
ctx |
Constructor Summary | |
---|---|
InitLdapSchema()
Default constructor. |
|
InitLdapSchema(LdapBindingConfig ldapConfig)
Initializes the LDAP schema. |
Method Summary | |
---|---|
protected javax.naming.directory.Attributes |
defineLdapAttributes(java.lang.String ou)
A template method for defining the attributes for a particular LDAP class. |
protected java.lang.String[] |
getAttributes()
|
protected java.lang.String |
getEntryPrefix()
A template method that returns the LDAP entry prefix of the concrete DAO. |
protected java.lang.String |
getObjectClass()
|
protected java.lang.String[] |
getObjectClasses()
|
protected java.lang.String |
getSearchDomain()
The domain in wich to perform a search |
protected java.lang.String |
getSearchSuffix()
A template method that returns the LDAP entry prefix of the concrete DAO. |
void |
initOu(java.lang.String ou)
Inits a given ou. |
void |
initOu(java.lang.String ou,
java.lang.String folder)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InitLdapSchema() throws SecurityException
Default constructor.
SecurityException
- A SecurityException
.public InitLdapSchema(LdapBindingConfig ldapConfig) throws SecurityException
Initializes the LDAP schema.
ldapConfig
- Holds the ldap binding configuration.
SecurityException
- A SecurityException
.Method Detail |
---|
protected java.lang.String getObjectClass()
org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao#getObjectClass()
public void initOu(java.lang.String ou) throws javax.naming.NamingException
Inits a given ou.
ou
- The org unit.
SecurityException
javax.naming.NamingException
public void initOu(java.lang.String ou, java.lang.String folder) throws javax.naming.NamingException
javax.naming.NamingException
protected javax.naming.directory.Attributes defineLdapAttributes(java.lang.String ou)
A template method for defining the attributes for a particular LDAP class.
principalUid
- The principal uid.
protected java.lang.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 java.lang.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 java.lang.String getSearchDomain()
AbstractLdapDao
The domain in wich to perform a search
TODO : this should be in spring config
getSearchDomain
in class AbstractLdapDao
protected java.lang.String[] getObjectClasses()
getObjectClasses
in class AbstractLdapDao
protected java.lang.String[] getAttributes()
getAttributes
in class AbstractLdapDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |