Class LdapConfiguration

  • Direct Known Subclasses:
    LdapIdentityProviderPlugin

    public class LdapConfiguration
    extends java.lang.Object

    Java Bean holding LDAP configuration

    Author:
    Daniel Meyer
    • Field Detail

      • LDAP_QUERY_WILDCARD

        public static java.lang.String LDAP_QUERY_WILDCARD
      • DB_QUERY_WILDCARD

        public static java.lang.String DB_QUERY_WILDCARD
      • initialContextFactory

        protected java.lang.String initialContextFactory
      • securityAuthentication

        protected java.lang.String securityAuthentication
      • contextProperties

        protected java.util.Map<java.lang.String,​java.lang.String> contextProperties
      • serverUrl

        protected java.lang.String serverUrl
      • managerDn

        protected java.lang.String managerDn
      • managerPassword

        protected java.lang.String managerPassword
      • baseDn

        protected java.lang.String baseDn
      • userDnPattern

        protected java.lang.String userDnPattern
      • userSearchBase

        protected java.lang.String userSearchBase
      • userSearchFilter

        protected java.lang.String userSearchFilter
      • groupSearchBase

        protected java.lang.String groupSearchBase
      • groupSearchFilter

        protected java.lang.String groupSearchFilter
      • userIdAttribute

        protected java.lang.String userIdAttribute
      • userFirstnameAttribute

        protected java.lang.String userFirstnameAttribute
      • userLastnameAttribute

        protected java.lang.String userLastnameAttribute
      • userEmailAttribute

        protected java.lang.String userEmailAttribute
      • userPasswordAttribute

        protected java.lang.String userPasswordAttribute
      • groupIdAttribute

        protected java.lang.String groupIdAttribute
      • groupNameAttribute

        protected java.lang.String groupNameAttribute
      • groupTypeAttribute

        protected java.lang.String groupTypeAttribute
      • groupMemberAttribute

        protected java.lang.String groupMemberAttribute
      • sortControlSupported

        protected boolean sortControlSupported
      • useSsl

        protected boolean useSsl
      • usePosixGroups

        protected boolean usePosixGroups
      • allowAnonymousLogin

        protected boolean allowAnonymousLogin
      • authorizationCheckEnabled

        protected boolean authorizationCheckEnabled
      • pageSize

        protected java.lang.Integer pageSize
    • Constructor Detail

      • LdapConfiguration

        public LdapConfiguration()
    • Method Detail

      • getInitialContextFactory

        public java.lang.String getInitialContextFactory()
      • setInitialContextFactory

        public void setInitialContextFactory​(java.lang.String initialContextFactory)
      • getSecurityAuthentication

        public java.lang.String getSecurityAuthentication()
      • setSecurityAuthentication

        public void setSecurityAuthentication​(java.lang.String securityAuthentication)
      • getContextProperties

        public java.util.Map<java.lang.String,​java.lang.String> getContextProperties()
      • setContextProperties

        public void setContextProperties​(java.util.Map<java.lang.String,​java.lang.String> contextProperties)
      • getServerUrl

        public java.lang.String getServerUrl()
      • setServerUrl

        public void setServerUrl​(java.lang.String serverUrl)
      • getManagerDn

        public java.lang.String getManagerDn()
      • setManagerDn

        public void setManagerDn​(java.lang.String managerDn)
      • getManagerPassword

        public java.lang.String getManagerPassword()
      • setManagerPassword

        public void setManagerPassword​(java.lang.String managerPassword)
      • getUserDnPattern

        public java.lang.String getUserDnPattern()
      • setUserDnPattern

        public void setUserDnPattern​(java.lang.String userDnPattern)
      • getGroupSearchBase

        public java.lang.String getGroupSearchBase()
      • setGroupSearchBase

        public void setGroupSearchBase​(java.lang.String groupSearchBase)
      • getGroupSearchFilter

        public java.lang.String getGroupSearchFilter()
      • setGroupSearchFilter

        public void setGroupSearchFilter​(java.lang.String groupSearchFilter)
      • getGroupNameAttribute

        public java.lang.String getGroupNameAttribute()
      • setGroupNameAttribute

        public void setGroupNameAttribute​(java.lang.String groupNameAttribute)
      • getBaseDn

        public java.lang.String getBaseDn()
      • setBaseDn

        public void setBaseDn​(java.lang.String baseDn)
      • getUserSearchBase

        public java.lang.String getUserSearchBase()
      • setUserSearchBase

        public void setUserSearchBase​(java.lang.String userSearchBase)
      • getUserSearchFilter

        public java.lang.String getUserSearchFilter()
      • setUserSearchFilter

        public void setUserSearchFilter​(java.lang.String userSearchFilter)
      • getUserIdAttribute

        public java.lang.String getUserIdAttribute()
      • setUserIdAttribute

        public void setUserIdAttribute​(java.lang.String userIdAttribute)
      • getUserFirstnameAttribute

        public java.lang.String getUserFirstnameAttribute()
      • setUserFirstnameAttribute

        public void setUserFirstnameAttribute​(java.lang.String userFirstnameAttribute)
      • getUserLastnameAttribute

        public java.lang.String getUserLastnameAttribute()
      • setUserLastnameAttribute

        public void setUserLastnameAttribute​(java.lang.String userLastnameAttribute)
      • getUserEmailAttribute

        public java.lang.String getUserEmailAttribute()
      • setUserEmailAttribute

        public void setUserEmailAttribute​(java.lang.String userEmailAttribute)
      • getUserPasswordAttribute

        public java.lang.String getUserPasswordAttribute()
      • setUserPasswordAttribute

        public void setUserPasswordAttribute​(java.lang.String userPasswordAttribute)
      • isSortControlSupported

        public boolean isSortControlSupported()
      • setSortControlSupported

        public void setSortControlSupported​(boolean sortControlSupported)
      • getGroupIdAttribute

        public java.lang.String getGroupIdAttribute()
      • setGroupIdAttribute

        public void setGroupIdAttribute​(java.lang.String groupIdAttribute)
      • getGroupMemberAttribute

        public java.lang.String getGroupMemberAttribute()
      • setGroupMemberAttribute

        public void setGroupMemberAttribute​(java.lang.String groupMemberAttribute)
      • isUseSsl

        public boolean isUseSsl()
      • setUseSsl

        public void setUseSsl​(boolean useSsl)
      • isUsePosixGroups

        public boolean isUsePosixGroups()
      • setUsePosixGroups

        public void setUsePosixGroups​(boolean usePosixGroups)
      • getSearchControls

        public javax.naming.directory.SearchControls getSearchControls()
      • getGroupTypeAttribute

        public java.lang.String getGroupTypeAttribute()
      • setGroupTypeAttribute

        public void setGroupTypeAttribute​(java.lang.String groupTypeAttribute)
      • isAllowAnonymousLogin

        public boolean isAllowAnonymousLogin()
      • setAllowAnonymousLogin

        public void setAllowAnonymousLogin​(boolean allowAnonymousLogin)
      • isAuthorizationCheckEnabled

        public boolean isAuthorizationCheckEnabled()
      • setAuthorizationCheckEnabled

        public void setAuthorizationCheckEnabled​(boolean authorizationCheckEnabled)
      • getPageSize

        public java.lang.Integer getPageSize()
      • setPageSize

        public void setPageSize​(java.lang.Integer pageSize)