Class IJCAbstractLdapAuthoritiesPopulator

  • All Implemented Interfaces:
    org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
    Direct Known Subclasses:
    MappingLdapAuthoritiesPopulator, TrimerLdapAuthoritiesPopulator

    public abstract class IJCAbstractLdapAuthoritiesPopulator
    extends Object
    implements org.springframework.security.ldap.userdetails.LdapAuthoritiesPopulator
    Holding shared bits of IJC custom populators as well as acting as the base class to be substitute by different implementations when required.
    Author:
    Masoud Kalali
    • Field Detail

      • defaultRole

        protected org.springframework.security.core.GrantedAuthority defaultRole
      • ldapTemplate

        protected org.springframework.security.ldap.SpringSecurityLdapTemplate ldapTemplate
      • groupRoleAttribute

        protected String groupRoleAttribute
      • groupSearchBase

        protected String groupSearchBase
      • groupSearchFilter

        protected String groupSearchFilter
      • rolePrefix

        protected String rolePrefix
      • convertToUpperCase

        protected boolean convertToUpperCase
    • Constructor Detail

      • IJCAbstractLdapAuthoritiesPopulator

        public IJCAbstractLdapAuthoritiesPopulator​(org.springframework.ldap.core.ContextSource contextSource,
                                                   String groupSearchBase)
    • Method Detail

      • getContextSource

        protected org.springframework.ldap.core.ContextSource getContextSource()
      • setGroupSearchBase

        public final void setGroupSearchBase​(String groupSearchBase)
      • getGroupSearchBase

        public final String getGroupSearchBase()
      • setDefaultRole

        public void setDefaultRole​(String defaultRole)
      • setGroupRoleAttribute

        public void setGroupRoleAttribute​(String groupRoleAttribute)
      • setGroupSearchFilter

        public void setGroupSearchFilter​(String groupSearchFilter)
      • setRolePrefix

        public void setRolePrefix​(String rolePrefix)
      • setSearchSubtree

        public void setSearchSubtree​(boolean searchSubtree)
      • setConvertToUpperCase

        public void setConvertToUpperCase​(boolean convertToUpperCase)