Class JDBCIdentitySource


  • public class JDBCIdentitySource
    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

      • JDBCIdentitySource

        public JDBCIdentitySource()
        Constructor.
    • Method Detail

      • getDatasourcePath

        public String getDatasourcePath()
        Returns:
        the datasource
      • setDatasourcePath

        public void setDatasourcePath​(String datasource)
        Parameters:
        datasource - the datasource to set
      • getQuery

        public String getQuery()
        Returns:
        the query
      • setQuery

        public void setQuery​(String query)
        Parameters:
        query - the query to set
      • setHashAlgorithm

        public void setHashAlgorithm​(PasswordHashAlgorithmType hashAlgorithm)
        Parameters:
        hashAlgorithm - the hashAlgorithm to set
      • isExtractRoles

        public boolean isExtractRoles()
        Returns:
        the extractRoles
      • setExtractRoles

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

        public String getRoleQuery()
        Returns:
        the roleQuery
      • setRoleQuery

        public void setRoleQuery​(String roleQuery)
        Parameters:
        roleQuery - the roleQuery to set
      • getType

        public JDBCType getType()
        Returns:
        the type
      • setType

        public void setType​(JDBCType type)
        Parameters:
        type - the type to set
      • getJdbcUrl

        public String getJdbcUrl()
        Returns:
        the jdbcUrl
      • setJdbcUrl

        public void setJdbcUrl​(String jdbcUrl)
        Parameters:
        jdbcUrl - the jdbcUrl to set
      • getUsername

        public String getUsername()
        Returns:
        the username
      • setUsername

        public void setUsername​(String username)
        Parameters:
        username - the username to set
      • getPassword

        public String getPassword()
        Returns:
        the password
      • setPassword

        public void setPassword​(String password)
        Parameters:
        password - the password to set