com.atlassian.crowd.model.authentication
Class CookieConfiguration

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

public class CookieConfiguration
extends java.lang.Object

Configuration of cookies.


Constructor Summary
CookieConfiguration(java.lang.String domain, boolean secure)
           
 
Method Summary
 java.lang.String getDomain()
          Returns the domain that the cookie should be set for.
 boolean isSecure()
          Returns true if the cookie should only be included in a secure connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookieConfiguration

public CookieConfiguration(java.lang.String domain,
                           boolean secure)
Method Detail

getDomain

public java.lang.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


Copyright © 2010 Atlassian. All Rights Reserved.