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
Since:
5.2.0
See Also:
  • 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

      public ChronoUnit getReminderTimeUnit()
      Global reminder time unit of measure, to reconfirm consent in cases no changes are detected.
    • getExcludedAttributes

      public List<String> 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

      public ConsentCoreProperties setEnabled(boolean enabled)
      Whether consent functionality should be enabled.
      Returns:
      this.
    • setActive

      public ConsentCoreProperties setActive(boolean active)
      Whether consent functionality should be globally applicable to all applications and requests.
      Returns:
      this.
    • setReminder

      public ConsentCoreProperties setReminder(long reminder)
      Global reminder time unit, to reconfirm consent in cases no changes are detected.
      Returns:
      this.
    • setReminderTimeUnit

      public ConsentCoreProperties setReminderTimeUnit(ChronoUnit reminderTimeUnit)
      Global reminder time unit of measure, to reconfirm consent in cases no changes are detected.
      Returns:
      this.
    • setExcludedAttributes

      public ConsentCoreProperties setExcludedAttributes(List<String> excludedAttributes)
      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.