Class CookieConfiguration

java.lang.Object
com.atlassian.crowd.model.authentication.CookieConfiguration

public class CookieConfiguration extends Object
Represents the configuration of Crowd's cookie based SSO
Since:
v3.0
  • Field Details

  • Constructor Details

    • CookieConfiguration

      public CookieConfiguration(String domain, boolean secure, String name)
  • Method Details

    • getDomain

      public String getDomain()
      Returns the domain that the cookie should be set for.
      Returns:
      domain
    • isSecure

      public boolean isSecure()
      Returns true if the cookie should only be included in a secure connection.
      Returns:
      true if the cookie should only be included in a secure connection
    • getName

      public String getName()
      Returns the name of the SSO token cookie.
      Returns:
      name of the SSO token cookie
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object