Class TicketGrantingCookieProperties
java.lang.Object
org.apereo.cas.configuration.model.support.cookie.CookieProperties
org.apereo.cas.configuration.model.support.cookie.PinnableCookieProperties
org.apereo.cas.configuration.model.support.cookie.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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCrypto settings that determine how the cookie should be signed and encrypted.If remember-me is enabled, specifies the maximum age of the cookie.boolean
Decide if cookie paths should be automatically configured based on the application context path, when the cookie path is not configured.setAutoConfigureCookiePath
(boolean autoConfigureCookiePath) Decide if cookie paths should be automatically configured based on the application context path, when the cookie path is not configured.Crypto settings that determine how the cookie should be signed and encrypted.setRememberMeMaxAge
(String rememberMeMaxAge) If remember-me is enabled, specifies the maximum age of the cookie.Methods inherited from class org.apereo.cas.configuration.model.support.cookie.PinnableCookieProperties
getAllowedIpAddressesPattern, isGeoLocateClientSession, isPinToSession, setAllowedIpAddressesPattern, setGeoLocateClientSession, setPinToSession
Methods inherited from class org.apereo.cas.configuration.model.support.cookie.CookieProperties
getDomain, getMaxAge, getName, getPath, getSameSitePolicy, isHttpOnly, isSecure, setDomain, setHttpOnly, setMaxAge, setName, setPath, setSameSitePolicy, setSecure
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
-
TicketGrantingCookieProperties
public TicketGrantingCookieProperties()
-
-
Method Details
-
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
If remember-me is enabled, specifies the maximum age of the cookie.- Returns:
this
.
-
setAutoConfigureCookiePath
Decide if cookie paths should be automatically configured based on the application context path, when the cookie path is not configured.- Returns:
this
.
-
setCrypto
public TicketGrantingCookieProperties setCrypto(EncryptionJwtSigningJwtCryptographyProperties crypto) Crypto settings that determine how the cookie should be signed and encrypted.- Returns:
this
.
-