| 
 | ||||||||||
| 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  Attributes | defineLdapAttributes(String ou)A template method for defining the attributes for a particular LDAP class. | 
| protected  String[] | getAttributes() | 
| protected  String | getEntryPrefix()A template method that returns the LDAP entry prefix of the concrete DAO. | 
| protected  String | getObjectClass() | 
| 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. | 
|  void | initOu(String ou)Inits a given ou. | 
|  void | initOu(String ou,
       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 org.apache.jetspeed.security.SecurityException
Default constructor.
org.apache.jetspeed.security.SecurityException - A SecurityException.
public InitLdapSchema(LdapBindingConfig ldapConfig)
               throws org.apache.jetspeed.security.SecurityException
Initializes the LDAP schema.
ldapConfig - Holds the ldap binding configuration.
org.apache.jetspeed.security.SecurityException - A SecurityException.| Method Detail | 
|---|
protected String getObjectClass()
org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao#getObjectClass()
public void initOu(String ou)
            throws NamingException
Inits a given ou.
ou - The org unit.
org.apache.jetspeed.security.SecurityException
NamingException
public void initOu(String ou,
                   String folder)
            throws NamingException
NamingExceptionprotected Attributes defineLdapAttributes(String ou)
A template method for defining the attributes for a particular LDAP class.
principalUid - 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 AbstractLdapDaoprotected String[] getObjectClasses()
getObjectClasses in class AbstractLdapDaoprotected String[] getAttributes()
getAttributes in class AbstractLdapDao| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||