Class JdbcAcceptableUsagePolicyProperties
java.lang.Object
org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties
org.apereo.cas.configuration.model.support.aup.JdbcAcceptableUsagePolicyProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-support-aup-jdbc")
public class JdbcAcceptableUsagePolicyProperties
extends AbstractJpaProperties
This is
JdbcAcceptableUsagePolicyProperties
.- Since:
- 6.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 TypeMethodDescriptionThe column to store the AUP attribute.The profile attribute to extract the value for theprincipalIdColumn
used in the WHERE clause ofsqlUpdate
.The column to identify the principal.The query template to search for the AUP attribute.The query template to update the AUP attribute.The table name in the database that holds the AUP attribute to update for the user.setAupColumn
(String aupColumn) The column to store the AUP attribute.setPrincipalIdAttribute
(String principalIdAttribute) The profile attribute to extract the value for theprincipalIdColumn
used in the WHERE clause ofsqlUpdate
.setPrincipalIdColumn
(String principalIdColumn) The column to identify the principal.setSqlSelect
(String sqlSelect) The query template to search for the AUP attribute.setSqlUpdate
(String sqlUpdate) The query template to update the AUP attribute.setTableName
(String tableName) The table name in the database that holds the AUP attribute to update for the user.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
-
JdbcAcceptableUsagePolicyProperties
public JdbcAcceptableUsagePolicyProperties()
-
-
Method Details
-
getTableName
The table name in the database that holds the AUP attribute to update for the user. -
getAupColumn
The column to store the AUP attribute. May differ from the profile attribute defined byAcceptableUsagePolicyCoreProperties.getAupAttributeName()
. SQL query can be further customized by settingsqlUpdate
. -
getPrincipalIdColumn
The column to identify the principal. SQL query can be further customized by settingsqlUpdate
. -
getPrincipalIdAttribute
The profile attribute to extract the value for theprincipalIdColumn
used in the WHERE clause ofsqlUpdate
. If empty, the principal ID will be used. -
getSqlUpdate
The query template to update the AUP attribute. %s placeholders representtableName
,aupColumn
,principalIdColumn
settings. -
getSqlSelect
The query template to search for the AUP attribute. %s placeholders representaupColumn
,tableName
,principalIdColumn
settings. -
setTableName
The table name in the database that holds the AUP attribute to update for the user.- Returns:
this
.
-
setAupColumn
The column to store the AUP attribute. May differ from the profile attribute defined byAcceptableUsagePolicyCoreProperties.getAupAttributeName()
. SQL query can be further customized by settingsqlUpdate
.- Returns:
this
.
-
setPrincipalIdColumn
The column to identify the principal. SQL query can be further customized by settingsqlUpdate
.- Returns:
this
.
-
setPrincipalIdAttribute
The profile attribute to extract the value for theprincipalIdColumn
used in the WHERE clause ofsqlUpdate
. If empty, the principal ID will be used.- Returns:
this
.
-
setSqlUpdate
The query template to update the AUP attribute. %s placeholders representtableName
,aupColumn
,principalIdColumn
settings.- Returns:
this
.
-
setSqlSelect
The query template to search for the AUP attribute. %s placeholders representaupColumn
,tableName
,principalIdColumn
settings.- Returns:
this
.
-