Class TicketGrantingCookieProperties

All Implemented Interfaces:
Serializable, CasFeatureModule

@RequiresModule(name="cas-server-core-cookie", automated=true) public class TicketGrantingCookieProperties extends PinnableCookieProperties
Configuration properties class for tgc.
Since:
5.0.0
See Also:
  • Constructor Details

    • TicketGrantingCookieProperties

      public TicketGrantingCookieProperties()
  • Method Details

    • getRememberMeMaxAge

      public String getRememberMeMaxAge()
      If remember-me is enabled, specifies the maximum age of the cookie.
    • isAutoConfigureCookiePath

      public boolean isAutoConfigureCookiePath()
      Decide if cookie paths should be automatically configured based on the application context path, when the cookie path is not configured.
    • getCrypto

      Crypto settings that determine how the cookie should be signed and encrypted.
    • setRememberMeMaxAge

      public TicketGrantingCookieProperties setRememberMeMaxAge(String rememberMeMaxAge)
      If remember-me is enabled, specifies the maximum age of the cookie.
      Returns:
      this.
    • setAutoConfigureCookiePath

      public TicketGrantingCookieProperties setAutoConfigureCookiePath(boolean autoConfigureCookiePath)
      Decide if cookie paths should be automatically configured based on the application context path, when the cookie path is not configured.
      Returns:
      this.
    • setCrypto

      Crypto settings that determine how the cookie should be signed and encrypted.
      Returns:
      this.