com.atlassian.jira.rest.client.domain
Class Authentication

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.Authentication

public class Authentication
extends Object

Basic Authentication information of the current user session (if the connection maintains the session) or just authentication info from the last remote call (when the connection is stateless - usually recommended for really RESTful designs).

Since:
v0.1

Constructor Summary
Authentication(LoginInfo loginInfo, SessionCookie sessionCookie)
           
 
Method Summary
 boolean equals(Object obj)
           
 LoginInfo getLoginInfo()
           
 SessionCookie getSession()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Authentication

public Authentication(LoginInfo loginInfo,
                      SessionCookie sessionCookie)
Method Detail

getLoginInfo

public LoginInfo getLoginInfo()

getSession

public SessionCookie getSession()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.