org.apache.jetspeed.security.spi.impl.ldap
Class LdapBindingConfig
java.lang.Object
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
public class LdapBindingConfig
- extends Object
Holds the configuration for ldap binding.
- Author:
- David Le Strat
Constructor Summary |
LdapBindingConfig()
|
LdapBindingConfig(String ldapType)
Default constructor. |
LdapBindingConfig(String factory,
String name,
String port,
String context,
String dn,
String password,
String roleFilter,
String groupFilter,
String userFilter,
String roleMembershipAttributes,
String userRoleMembershipAttributes,
String groupMembershipAttributes,
String userGroupMembershipAttributes,
String groupMembershipForRoleAttributes,
String roleGroupMembershipForRoleAttributes,
String defaultSearchBase,
String roleFilterBase,
String groupFilterBase,
String userFilterBase,
String roleObjectClasses,
String groupObjectClasses,
String userObjectClasses,
String roleIdAttribute,
String groupIdAttribute,
String userIdAttribute,
String uidAttribute,
String memberShipSearchScope,
String roleUidAttribute,
String groupUidAttribute,
String userUidAttribute,
String roleObjectRequiredAttributeClasses,
String groupObjectRequiredAttributeClasses,
String userAttributes,
String roleAttributes,
String groupAttributes,
String userPasswordAttribute,
String knownAttributes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final org.apache.commons.logging.Log logger
- The logger.
context
private LdapContext context
initialContextFactory
private String initialContextFactory
ldapSocketFactory
private String ldapSocketFactory
ldapScheme
private String ldapScheme
ldapServerName
private String ldapServerName
ldapServerPort
private String ldapServerPort
ldapSecurityLevel
private String ldapSecurityLevel
ldapSecurityProtocol
private String ldapSecurityProtocol
rootDn
private String rootDn
rootPassword
private String rootPassword
rootContext
private String rootContext
props
private org.apache.commons.configuration.PropertiesConfiguration props
groupFilter
private String groupFilter
userFilter
private String userFilter
userRoleMembershipAttributes
private String userRoleMembershipAttributes
groupMembershipAttributes
private String groupMembershipAttributes
userGroupMembershipAttributes
private String userGroupMembershipAttributes
defaultSearchBase
private String defaultSearchBase
groupFilterBase
private String groupFilterBase
userFilterBase
private String userFilterBase
groupIdAttribute
private String groupIdAttribute
userIdAttribute
private String userIdAttribute
uidAttribute
private String uidAttribute
memberShipSearchScope
private String memberShipSearchScope
groupObjectClasses
private String[] groupObjectClasses
userObjectClasses
private String[] userObjectClasses
groupMembershipForRoleAttributes
private String groupMembershipForRoleAttributes
groupUidAttribute
private String groupUidAttribute
userUidAttribute
private String userUidAttribute
groupAttributes
private String[] groupAttributes
userAttributes
private String[] userAttributes
groupObjectRequiredAttributeClasses
private String groupObjectRequiredAttributeClasses
roleObjectClasses
private String[] roleObjectClasses
roleGroupMembershipForRoleAttributes
private String roleGroupMembershipForRoleAttributes
roleAttributes
private String[] roleAttributes
roleObjectRequiredAttributeClasses
private String roleObjectRequiredAttributeClasses
roleFilter
private String roleFilter
roleFilterBase
private String roleFilterBase
roleIdAttribute
private String roleIdAttribute
roleUidAttribute
private String roleUidAttribute
roleMembershipAttributes
private String roleMembershipAttributes
userPasswordAttribute
private String userPasswordAttribute
knownAttributes
private String[] knownAttributes
LdapBindingConfig
public LdapBindingConfig()
LdapBindingConfig
public LdapBindingConfig(String factory,
String name,
String port,
String context,
String dn,
String password,
String roleFilter,
String groupFilter,
String userFilter,
String roleMembershipAttributes,
String userRoleMembershipAttributes,
String groupMembershipAttributes,
String userGroupMembershipAttributes,
String groupMembershipForRoleAttributes,
String roleGroupMembershipForRoleAttributes,
String defaultSearchBase,
String roleFilterBase,
String groupFilterBase,
String userFilterBase,
String roleObjectClasses,
String groupObjectClasses,
String userObjectClasses,
String roleIdAttribute,
String groupIdAttribute,
String userIdAttribute,
String uidAttribute,
String memberShipSearchScope,
String roleUidAttribute,
String groupUidAttribute,
String userUidAttribute,
String roleObjectRequiredAttributeClasses,
String groupObjectRequiredAttributeClasses,
String userAttributes,
String roleAttributes,
String groupAttributes,
String userPasswordAttribute,
String knownAttributes)
LdapBindingConfig
public LdapBindingConfig(String ldapType)
Default constructor. By default instantiates LdapBindingConfig from
JETSPEED-INF/ldap/ldap.properties in the classpath.
getContext
LdapContext getContext()
setContext
void setContext(LdapContext context)
getInitialContextFactory
public String getInitialContextFactory()
- Returns:
- Returns the initialContextFactory.
setInitialContextFactory
public void setInitialContextFactory(String initialContextFactory)
- Parameters:
initialContextFactory
- The initialContextFactory to set.
getLdapScheme
public String getLdapScheme()
- Returns:
- the ldapScheme
setLdapScheme
public void setLdapScheme(String ldapScheme)
- Parameters:
ldapScheme
- the ldapScheme to set
getLdapSocketFactory
public String getLdapSocketFactory()
- Returns:
- the ldapSocketFactory
setLdapSocketFactory
public void setLdapSocketFactory(String ldapSocketFactory)
- Parameters:
ldapSocketFactory
- the ldapSocketFactory to set
getLdapServerName
public String getLdapServerName()
- Returns:
- Returns the ldapServerName.
setLdapServerName
public void setLdapServerName(String ldapServerName)
- Parameters:
ldapServerName
- The ldapServerName to set.
getLdapServerPort
public String getLdapServerPort()
- Returns:
- Returns the ldapServerPort.
setLdapServerPort
public void setLdapServerPort(String ldapServerPort)
- Parameters:
ldapServerPort
- The ldapServerPort to set.
getLdapSecurityLevel
public String getLdapSecurityLevel()
- Returns:
- the ldapSecurityLevel
setLdapSecurityLevel
public void setLdapSecurityLevel(String ldapSecurityLevel)
- Parameters:
ldapSecurityLevel
- the ldapSecurityLevel to set
getLdapSecurityProtocol
public String getLdapSecurityProtocol()
- Returns:
- the ldapSecurityProtocol
setLdapSecurityProtocol
public void setLdapSecurityProtocol(String ldapSecurityProtocol)
- Parameters:
ldapSecurityProtocol
- the ldapSecurityProtocol to set
getRootContext
public String getRootContext()
- Returns:
- Returns the rootContext.
setRootContext
public void setRootContext(String rootContext)
- Parameters:
rootContext
- The rootContext to set.
getRootDn
public String getRootDn()
- Returns:
- Returns the rootDn.
setRootDn
public void setRootDn(String rootDn)
- Parameters:
rootDn
- The rootDn to set.
getRootPassword
public String getRootPassword()
- Returns:
- Returns the rootPassword.
setRootPassword
public void setRootPassword(String rootPassword)
- Parameters:
rootPassword
- The rootPassword to set.
getUserFilter
public String getUserFilter()
setUserFilter
public void setUserFilter(String userFilter)
getUserFilterBase
public String getUserFilterBase()
setUserFilterBase
public void setUserFilterBase(String userFilterBase)
getUserGroupMembershipAttributes
public String getUserGroupMembershipAttributes()
setUserGroupMembershipAttributes
public void setUserGroupMembershipAttributes(String userGroupMembershipAttributes)
getUserRoleMembershipAttributes
public String getUserRoleMembershipAttributes()
setUserRoleMembershipAttributes
public void setUserRoleMembershipAttributes(String userRoleMembershipAttributes)
getDefaultSearchBase
public String getDefaultSearchBase()
setDefaultSearchBase
public void setDefaultSearchBase(String defaultSearchBase)
getGroupFilter
public String getGroupFilter()
setGroupFilter
public void setGroupFilter(String groupFilter)
getGroupFilterBase
public String getGroupFilterBase()
setGroupFilterBase
public void setGroupFilterBase(String groupFilterBase)
getGroupMembershipAttributes
public String getGroupMembershipAttributes()
setGroupMembershipAttributes
public void setGroupMembershipAttributes(String groupMembershipAttributes)
getGroupIdAttribute
public String getGroupIdAttribute()
setGroupIdAttribute
public void setGroupIdAttribute(String groupIdAttribute)
getUserIdAttribute
public String getUserIdAttribute()
setUserIdAttribute
public void setUserIdAttribute(String userIdAttribute)
getGroupObjectClasses
public String[] getGroupObjectClasses()
setGroupObjectClasses
public void setGroupObjectClasses(String[] groupObjectClasses)
getUserObjectClasses
public String[] getUserObjectClasses()
setUserObjectClasses
public void setUserObjectClasses(String[] userObjectClasses)
getGroupMembershipForRoleAttributes
public String getGroupMembershipForRoleAttributes()
setGroupMembershipForRoleAttributes
public void setGroupMembershipForRoleAttributes(String groupMembershipForRoleAttributes)
getUidAttribute
public String getUidAttribute()
setUidAttribute
public void setUidAttribute(String uidAttribute)
getMemberShipSearchScope
public String getMemberShipSearchScope()
setMemberShipSearchScope
public void setMemberShipSearchScope(String memberShipSearchScope)
getGroupUidAttribute
public String getGroupUidAttribute()
setGroupUidAttribute
public void setGroupUidAttribute(String groupUidAttribute)
getUserUidAttribute
public String getUserUidAttribute()
setUserUidAttribute
public void setUserUidAttribute(String userUidAttribute)
getGroupObjectRequiredAttributeClasses
public String getGroupObjectRequiredAttributeClasses()
setGroupObjectRequiredAttributeClasses
public void setGroupObjectRequiredAttributeClasses(String groupObjectRequiredAttributeClasses)
getGroupAttributes
public String[] getGroupAttributes()
setGroupAttributes
public void setGroupAttributes(String[] groupAttributes)
getUserAttributes
public String[] getUserAttributes()
setUserAttributes
public void setUserAttributes(String[] userAttributes)
getRoleObjectRequiredAttributeClasses
public String getRoleObjectRequiredAttributeClasses()
setRoleObjectRequiredAttributeClasses
public void setRoleObjectRequiredAttributeClasses(String roleObjectRequiredAttributeClasses)
getRoleAttributes
public String[] getRoleAttributes()
setRoleAttributes
public void setRoleAttributes(String[] roleAttributes)
getRoleObjectClasses
public String[] getRoleObjectClasses()
setRoleObjectClasses
public void setRoleObjectClasses(String[] roleObjectClasses)
getRoleGroupMembershipForRoleAttributes
public String getRoleGroupMembershipForRoleAttributes()
setRoleGroupMembershipForRoleAttributes
public void setRoleGroupMembershipForRoleAttributes(String roleGroupMembershipForRoleAttributes)
getRoleFilter
public String getRoleFilter()
setRoleFilter
public void setRoleFilter(String roleFilter)
getRoleFilterBase
public String getRoleFilterBase()
setRoleFilterBase
public void setRoleFilterBase(String roleFilterBase)
getRoleMembershipAttributes
public String getRoleMembershipAttributes()
setRoleMembershipAttributes
public void setRoleMembershipAttributes(String roleMembershipAttributes)
getRoleUidAttribute
public String getRoleUidAttribute()
setRoleUidAttribute
public void setRoleUidAttribute(String roleUidAttribute)
getRoleIdAttribute
public String getRoleIdAttribute()
setRoleIdAttribute
public void setRoleIdAttribute(String roleIdAttribute)
getUserPasswordAttribute
public String getUserPasswordAttribute()
setUserPasswordAttribute
public void setUserPasswordAttribute(String userPasswordAttribute)
getKnownAttributes
public String[] getKnownAttributes()
setKnownAttributes
public void setKnownAttributes(String[] knownAttributes)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.