Class CookieConfigType

java.lang.Object
com.tremolosecurity.config.xml.CookieConfigType

public class CookieConfigType extends Object
Configuration for an application's cookies

Java class for cookieConfigType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cookieConfigType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="sessionCookieName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="domain" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="scope" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="logoutURI" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="keyAlias" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="keyPassword" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="secure" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="timeout" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="httpOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="sameSite" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="None"/>
               <enumeration value="Lax"/>
               <enumeration value="Strict"/>
               <enumeration value="Ignore"/>
             </restriction>
           </simpleType>
         </element>
         <element name="cookiesEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • sessionCookieName

      protected String sessionCookieName
    • domain

      protected String domain
    • scope

      protected BigInteger scope
    • logoutURI

      protected String logoutURI
    • keyAlias

      protected String keyAlias
    • keyPassword

      protected String keyPassword
    • secure

      protected boolean secure
    • timeout

      protected int timeout
    • httpOnly

      protected Boolean httpOnly
    • sameSite

      protected String sameSite
    • cookiesEnabled

      protected Boolean cookiesEnabled
  • Constructor Details

    • CookieConfigType

      public CookieConfigType()
  • Method Details

    • getSessionCookieName

      public String getSessionCookieName()
      Gets the value of the sessionCookieName property.
      Returns:
      possible object is String
    • setSessionCookieName

      public void setSessionCookieName(String value)
      Sets the value of the sessionCookieName property.
      Parameters:
      value - allowed object is String
    • getDomain

      public String getDomain()
      Gets the value of the domain property.
      Returns:
      possible object is String
    • setDomain

      public void setDomain(String value)
      Sets the value of the domain property.
      Parameters:
      value - allowed object is String
    • getScope

      public BigInteger getScope()
      Gets the value of the scope property.
      Returns:
      possible object is BigInteger
    • setScope

      public void setScope(BigInteger value)
      Sets the value of the scope property.
      Parameters:
      value - allowed object is BigInteger
    • getLogoutURI

      public String getLogoutURI()
      Gets the value of the logoutURI property.
      Returns:
      possible object is String
    • setLogoutURI

      public void setLogoutURI(String value)
      Sets the value of the logoutURI property.
      Parameters:
      value - allowed object is String
    • getKeyAlias

      public String getKeyAlias()
      Gets the value of the keyAlias property.
      Returns:
      possible object is String
    • setKeyAlias

      public void setKeyAlias(String value)
      Sets the value of the keyAlias property.
      Parameters:
      value - allowed object is String
    • getKeyPassword

      public String getKeyPassword()
      Gets the value of the keyPassword property.
      Returns:
      possible object is String
    • setKeyPassword

      public void setKeyPassword(String value)
      Sets the value of the keyPassword property.
      Parameters:
      value - allowed object is String
    • isSecure

      public boolean isSecure()
      Gets the value of the secure property.
    • setSecure

      public void setSecure(boolean value)
      Sets the value of the secure property.
    • getTimeout

      public int getTimeout()
      Gets the value of the timeout property.
    • setTimeout

      public void setTimeout(int value)
      Sets the value of the timeout property.
    • isHttpOnly

      public Boolean isHttpOnly()
      Gets the value of the httpOnly property.
      Returns:
      possible object is Boolean
    • setHttpOnly

      public void setHttpOnly(Boolean value)
      Sets the value of the httpOnly property.
      Parameters:
      value - allowed object is Boolean
    • getSameSite

      public String getSameSite()
      Gets the value of the sameSite property.
      Returns:
      possible object is String
    • setSameSite

      public void setSameSite(String value)
      Sets the value of the sameSite property.
      Parameters:
      value - allowed object is String
    • isCookiesEnabled

      public Boolean isCookiesEnabled()
      Gets the value of the cookiesEnabled property.
      Returns:
      possible object is Boolean
    • setCookiesEnabled

      public void setCookiesEnabled(Boolean value)
      Sets the value of the cookiesEnabled property.
      Parameters:
      value - allowed object is Boolean