Class QueryEncodeJdbcAuthenticationProperties

All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-support-jdbc-authentication") public class QueryEncodeJdbcAuthenticationProperties extends BaseJdbcAuthenticationProperties
Since:
5.2.0
See Also:
  • Constructor Details

    • QueryEncodeJdbcAuthenticationProperties

      public QueryEncodeJdbcAuthenticationProperties()
  • Method Details

    • getAlgorithmName

      public String getAlgorithmName()
      Algorithm used for hashing.
    • getSql

      public String getSql()
      SQL query to execute and look up accounts. Example: SELECT * FROM table WHERE username=?.
    • getPasswordFieldName

      public String getPasswordFieldName()
      Password column name.
    • getSaltFieldName

      public String getSaltFieldName()
      Field/column name that indicates the salt used for password hashing.
    • getExpiredFieldName

      public String getExpiredFieldName()
      Column name that indicates whether account is expired.
    • getDisabledFieldName

      public String getDisabledFieldName()
      Column name that indicates whether account is disabled.
    • getNumberOfIterationsFieldName

      public String getNumberOfIterationsFieldName()
      Field/column name that indicates the number of iterations used for password hashing.
    • getNumberOfIterations

      public int getNumberOfIterations()
      Default number of iterations for hashing.
    • getStaticSalt

      public String getStaticSalt()
      Static salt to be used for hashing.
    • setAlgorithmName

      public QueryEncodeJdbcAuthenticationProperties setAlgorithmName(String algorithmName)
      Algorithm used for hashing.
      Returns:
      this.
    • setSql

      SQL query to execute and look up accounts. Example: SELECT * FROM table WHERE username=?.
      Returns:
      this.
    • setPasswordFieldName

      public QueryEncodeJdbcAuthenticationProperties setPasswordFieldName(String passwordFieldName)
      Password column name.
      Returns:
      this.
    • setSaltFieldName

      public QueryEncodeJdbcAuthenticationProperties setSaltFieldName(String saltFieldName)
      Field/column name that indicates the salt used for password hashing.
      Returns:
      this.
    • setExpiredFieldName

      public QueryEncodeJdbcAuthenticationProperties setExpiredFieldName(String expiredFieldName)
      Column name that indicates whether account is expired.
      Returns:
      this.
    • setDisabledFieldName

      public QueryEncodeJdbcAuthenticationProperties setDisabledFieldName(String disabledFieldName)
      Column name that indicates whether account is disabled.
      Returns:
      this.
    • setNumberOfIterationsFieldName

      public QueryEncodeJdbcAuthenticationProperties setNumberOfIterationsFieldName(String numberOfIterationsFieldName)
      Field/column name that indicates the number of iterations used for password hashing.
      Returns:
      this.
    • setNumberOfIterations

      public QueryEncodeJdbcAuthenticationProperties setNumberOfIterations(int numberOfIterations)
      Default number of iterations for hashing.
      Returns:
      this.
    • setStaticSalt

      public QueryEncodeJdbcAuthenticationProperties setStaticSalt(String staticSalt)
      Static salt to be used for hashing.
      Returns:
      this.