|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.security.ldap.LDAPSecurityConstants
public class LDAPSecurityConstants
This is a static class for defining the default ldap confiquration keys used by core Turbine components.
Field Summary | |
---|---|
static String |
LDAP_ADMIN_PASSWORD_KEY
Property key |
static String |
LDAP_ADMIN_USERNAME_KEY
Property key |
static String |
LDAP_AUTH_DEFAULT
Property default value |
static String |
LDAP_AUTH_KEY
Property key |
static String |
LDAP_BASE_SEARCH_KEY
Property key |
static String |
LDAP_HOST_DEFAULT
Property default value |
static String |
LDAP_HOST_KEY
Property key |
static String |
LDAP_PORT_DEFAULT
Property default value |
static String |
LDAP_PORT_KEY
Property key |
static String |
LDAP_PROVIDER_DEFAULT
Property default value |
static String |
LDAP_PROVIDER_KEY
Property key |
static String |
LDAP_USER_EMAIL_DEFAULT
Property default value |
static String |
LDAP_USER_EMAIL_KEY
Property key |
static String |
LDAP_USER_FIRSTNAME_DEFAULT
Property default value |
static String |
LDAP_USER_FIRSTNAME_KEY
Property key |
static String |
LDAP_USER_LASTNAME_DEFAULT
Property default value |
static String |
LDAP_USER_LASTNAME_KEY
Property key |
static String |
LDAP_USER_PASSWORD_DEFAULT
Property default value |
static String |
LDAP_USER_PASSWORD_KEY
Property key |
static String |
LDAP_USER_USERID_DEFAULT
Property default value |
static String |
LDAP_USER_USERID_KEY
Property key |
static String |
LDAP_USER_USERNAME_DEFAULT
Property default value |
static String |
LDAP_USER_USERNAME_KEY
Property key |
Constructor Summary | |
---|---|
LDAPSecurityConstants()
|
Method Summary | |
---|---|
static String |
getAdminPassword()
Get the value of the property for the administration password. |
static String |
getAdminUsername()
Get the value of the property for the administration username. |
static String |
getBaseSearch()
Get value of the property for the Base Search. |
static String |
getEmailAttribute()
Get the value of the E-Mail Attribute. |
static String |
getFirstNameAttribute()
Get the value of the Firstname Attribute. |
static String |
getLastNameAttribute()
Get the value of the Lastname Attribute. |
static String |
getLDAPAuthentication()
Get the value of the property for the Authentication mechanism. |
static String |
getLDAPHost()
Get the value of the property for the LDAP Host. |
static String |
getLDAPPort()
Get the value of the property for the LDAP Port. |
static String |
getLDAPProvider()
Get the value of the property for the LDAP Provider. |
static String |
getNameAttribute()
Get the value of the Username Attribute. |
static String |
getPasswordAttribute()
Get the value of the Password Attribute. |
static Properties |
getProperties()
Get all the properties for the security service. |
static String |
getProperty(String key)
Get a property from the LDAP security service. |
static String |
getProperty(String key,
String defaultValue)
Get a property from the LDAP security service. |
static String |
getUserIdAttribute()
Get the value of the User id Attribute. |
static String |
getUserNameAttribute()
Deprecated. Use getNameAttribute() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String LDAP_ADMIN_USERNAME_KEY
public static final String LDAP_ADMIN_PASSWORD_KEY
public static final String LDAP_HOST_KEY
public static final String LDAP_HOST_DEFAULT
public static final String LDAP_PORT_KEY
public static final String LDAP_PORT_DEFAULT
public static final String LDAP_PROVIDER_KEY
public static final String LDAP_PROVIDER_DEFAULT
public static final String LDAP_BASE_SEARCH_KEY
public static final String LDAP_AUTH_KEY
public static final String LDAP_AUTH_DEFAULT
public static final String LDAP_USER_USERID_KEY
public static final String LDAP_USER_USERID_DEFAULT
public static final String LDAP_USER_USERNAME_KEY
public static final String LDAP_USER_USERNAME_DEFAULT
public static final String LDAP_USER_FIRSTNAME_KEY
public static final String LDAP_USER_FIRSTNAME_DEFAULT
public static final String LDAP_USER_LASTNAME_KEY
public static final String LDAP_USER_LASTNAME_DEFAULT
public static final String LDAP_USER_EMAIL_KEY
public static final String LDAP_USER_EMAIL_DEFAULT
public static final String LDAP_USER_PASSWORD_KEY
public static final String LDAP_USER_PASSWORD_DEFAULT
Constructor Detail |
---|
public LDAPSecurityConstants()
Method Detail |
---|
public static Properties getProperties()
public static String getProperty(String key)
key
- The key to access the value of the property.
public static String getProperty(String key, String defaultValue)
key
- The key to access the value of the property.defaultValue
- The value that the property takes
when it doesn't exist.
public static String getAdminUsername()
public static String getAdminPassword()
public static String getLDAPHost()
public static String getLDAPPort()
public static String getLDAPProvider()
public static String getBaseSearch()
public static String getLDAPAuthentication()
public static String getUserIdAttribute()
public static String getNameAttribute()
public static String getUserNameAttribute()
public static String getFirstNameAttribute()
public static String getLastNameAttribute()
public static String getPasswordAttribute()
public static String getEmailAttribute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |