Class ConsentCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.consent.ConsentCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-consent-webflow")
public class ConsentCoreProperties
extends Object
implements Serializable
This is
ConsentCoreProperties
.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSigning/encryption settings.Attributes that should always and globally be excluded from the list of consentable attributes.long
Global reminder time unit, to reconfirm consent in cases no changes are detected.Global reminder time unit of measure, to reconfirm consent in cases no changes are detected.The webflow consent configuration.boolean
isActive()
Whether consent functionality should be globally applicable to all applications and requests.boolean
Whether consent functionality should be enabled.setActive
(boolean active) Whether consent functionality should be globally applicable to all applications and requests.Signing/encryption settings.setEnabled
(boolean enabled) Whether consent functionality should be enabled.setExcludedAttributes
(List<String> excludedAttributes) Attributes that should always and globally be excluded from the list of consentable attributes.setReminder
(long reminder) Global reminder time unit, to reconfirm consent in cases no changes are detected.setReminderTimeUnit
(ChronoUnit reminderTimeUnit) Global reminder time unit of measure, to reconfirm consent in cases no changes are detected.The webflow consent configuration.
-
Constructor Details
-
ConsentCoreProperties
public ConsentCoreProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Whether consent functionality should be enabled. -
isActive
public boolean isActive()Whether consent functionality should be globally applicable to all applications and requests. -
getReminder
public long getReminder()Global reminder time unit, to reconfirm consent in cases no changes are detected. -
getReminderTimeUnit
Global reminder time unit of measure, to reconfirm consent in cases no changes are detected. -
getExcludedAttributes
Attributes that should always and globally be excluded from the list of consentable attributes. Such attributes are always ignored during consent rule calculations and users will not be prompted to consent to their release.. -
getCrypto
Signing/encryption settings. -
getWebflow
The webflow consent configuration. -
setEnabled
Whether consent functionality should be enabled.- Returns:
this
.
-
setActive
Whether consent functionality should be globally applicable to all applications and requests.- Returns:
this
.
-
setReminder
Global reminder time unit, to reconfirm consent in cases no changes are detected.- Returns:
this
.
-
setReminderTimeUnit
Global reminder time unit of measure, to reconfirm consent in cases no changes are detected.- Returns:
this
.
-
setExcludedAttributes
Attributes that should always and globally be excluded from the list of consentable attributes. Such attributes are always ignored during consent rule calculations and users will not be prompted to consent to their release..- Returns:
this
.
-
setCrypto
Signing/encryption settings.- Returns:
this
.
-
setWebflow
The webflow consent configuration.- Returns:
this
.
-