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

@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:
  • Constructor Details

    • OAuthCsrfCookieProperties

      public OAuthCsrfCookieProperties()
      Setting default values to the pac4j defaults. Pac4j uses an Integer for maxAge and the default is null. CAS avoids setting the maxAge unless it is set to greater than -1. The name of the cookie is not configurable.