Class QueryEncodeJdbcAuthenticationProperties
java.lang.Object
org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
org.apereo.cas.configuration.model.support.jdbc.authn.BaseJdbcAuthenticationProperties
org.apereo.cas.configuration.model.support.jdbc.authn.QueryEncodeJdbcAuthenticationProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-jdbc-authentication")
public class QueryEncodeJdbcAuthenticationProperties
extends BaseJdbcAuthenticationProperties
- Since:
- 5.2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAlgorithm used for hashing.Column name that indicates whether account is disabled.Column name that indicates whether account is expired.int
Default number of iterations for hashing.Field/column name that indicates the number of iterations used for password hashing.Password column name.Field/column name that indicates the salt used for password hashing.getSql()
SQL query to execute and look up accounts.Static salt to be used for hashing.setAlgorithmName
(String algorithmName) Algorithm used for hashing.setDisabledFieldName
(String disabledFieldName) Column name that indicates whether account is disabled.setExpiredFieldName
(String expiredFieldName) Column name that indicates whether account is expired.setNumberOfIterations
(int numberOfIterations) Default number of iterations for hashing.setNumberOfIterationsFieldName
(String numberOfIterationsFieldName) Field/column name that indicates the number of iterations used for password hashing.setPasswordFieldName
(String passwordFieldName) Password column name.setSaltFieldName
(String saltFieldName) Field/column name that indicates the salt used for password hashing.SQL query to execute and look up accounts.setStaticSalt
(String staticSalt) Static salt to be used for hashing.Methods inherited from class org.apereo.cas.configuration.model.support.jdbc.authn.BaseJdbcAuthenticationProperties
getCredentialCriteria, getName, getOrder, getPasswordEncoder, getPrincipalAttributeList, getPrincipalTransformation, getState, setCredentialCriteria, setName, setOrder, setPasswordEncoder, setPrincipalAttributeList, setPrincipalTransformation, setState
Methods inherited from class org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
getBatchSize, getConnectionTimeout, getDataSourceName, getDdlAuto, getDefaultCatalog, getDefaultSchema, getDialect, getDriverClass, getFailFastTimeout, getFetchSize, getHealthQuery, getIdleTimeout, getIsolationLevelName, getLeakThreshold, getPassword, getPhysicalNamingStrategyClassName, getPool, getPropagationBehaviorName, getProperties, getUrl, getUser, isAutocommit, isGenerateStatistics, isIsolateInternalQueries, isReadOnly, setAutocommit, setBatchSize, setConnectionTimeout, setDataSourceName, setDdlAuto, setDefaultCatalog, setDefaultSchema, setDialect, setDriverClass, setFailFastTimeout, setFetchSize, setGenerateStatistics, setHealthQuery, setIdleTimeout, setIsolateInternalQueries, setIsolationLevelName, setLeakThreshold, setPassword, setPhysicalNamingStrategyClassName, setPool, setPropagationBehaviorName, setProperties, setReadOnly, setUrl, setUser
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
QueryEncodeJdbcAuthenticationProperties
public QueryEncodeJdbcAuthenticationProperties()
-
-
Method Details
-
getAlgorithmName
Algorithm used for hashing. -
getSql
SQL query to execute and look up accounts. Example:SELECT * FROM table WHERE username=?
. -
getPasswordFieldName
Password column name. -
getSaltFieldName
Field/column name that indicates the salt used for password hashing. -
getExpiredFieldName
Column name that indicates whether account is expired. -
getDisabledFieldName
Column name that indicates whether account is disabled. -
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
Static salt to be used for hashing. -
setAlgorithmName
Algorithm used for hashing.- Returns:
this
.
-
setSql
SQL query to execute and look up accounts. Example:SELECT * FROM table WHERE username=?
.- Returns:
this
.
-
setPasswordFieldName
Password column name.- Returns:
this
.
-
setSaltFieldName
Field/column name that indicates the salt used for password hashing.- Returns:
this
.
-
setExpiredFieldName
Column name that indicates whether account is expired.- Returns:
this
.
-
setDisabledFieldName
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
Default number of iterations for hashing.- Returns:
this
.
-
setStaticSalt
Static salt to be used for hashing.- Returns:
this
.
-