Class OAuthCsrfCookieProperties

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthCsrfCookieProperties()
      Setting default values to the pac4j defaults.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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.