Class LDAPIdentitySource


  • public class LDAPIdentitySource
    extends Object
    Information about the LDAP server to use to authenticate an inbound user. The DN pattern can be (for example) of the following form: cn=${username},dc=${X-Authentication-Domain},dc=org Supported properties for interpolation/replacement in the pattern include the BASIC authentication "username" and any header found in the inbound API request.
    Author:
    eric.wittmann@redhat.com
    • Constructor Detail

      • LDAPIdentitySource

        public LDAPIdentitySource()
        Constructor.
    • Method Detail

      • getDnPattern

        public String getDnPattern()
        Returns:
        the dnPattern
      • setDnPattern

        public void setDnPattern​(String dnPattern)
        Parameters:
        dnPattern - the dnPattern to set
      • getUrl

        public String getUrl()
        Returns:
        the url
      • getUri

        public URI getUri()
        Returns:
        the url
      • setUrl

        public void setUrl​(String url)
        Parameters:
        url - the url to set
      • setBindAs

        public void setBindAs​(LDAPBindAsType bindAs)
        Parameters:
        bindAs - the bindAs to set
      • getCredentials

        public LDAPCredentials getCredentials()
        Returns:
        the credentials
      • setCredentials

        public void setCredentials​(LDAPCredentials credentials)
        Parameters:
        credentials - the credentials to set
      • getUserSearch

        public LDAPUserSearch getUserSearch()
        Returns:
        the userSearch
      • setUserSearch

        public void setUserSearch​(LDAPUserSearch userSearch)
        Parameters:
        userSearch - the userSearch to set
      • isExtractRoles

        public boolean isExtractRoles()
        Returns:
        the extractRoles
      • setExtractRoles

        public void setExtractRoles​(boolean extractRoles)
        Parameters:
        extractRoles - the extractRoles to set
      • getMembershipAttribute

        public String getMembershipAttribute()
        Returns:
        the membershipAttribute
      • setMembershipAttribute

        public void setMembershipAttribute​(String membershipAttribute)
        Parameters:
        membershipAttribute - the membershipAttribute to set
      • getRolenameAttribute

        public String getRolenameAttribute()
        Returns:
        the rolenameAttribute
      • setRolenameAttribute

        public void setRolenameAttribute​(String rolenameAttribute)
        Parameters:
        rolenameAttribute - the rolenameAttribute to set