Class OAuthCsrfCookieProperties
java.lang.Object
org.apereo.cas.configuration.model.support.cookie.CookieProperties
org.apereo.cas.configuration.model.support.oauth.OAuthCsrfCookieProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-core-cookie",
automated=true)
public class OAuthCsrfCookieProperties
extends CookieProperties
Properties for the Cross-Site Request Forgery (CSRF) cookie used in some Oauth flows.
- Since:
- 6.4.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
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
-
OAuthCsrfCookieProperties
public OAuthCsrfCookieProperties()Setting default values to the pac4j defaults. Pac4j uses an Integer formaxAge
and the default is null. CAS avoids setting themaxAge
unless it is set to greater than -1. The name of the cookie is not configurable.
-