com.atlassian.jira.web.session.currentusers
Interface JiraUserSession


public interface JiraUserSession

This interface represent the data captured about a users session with JIRA.

Since:
v4.0

Method Summary
 String getASessionId()
           
 Date getCreationTime()
           
 String getId()
           
 String getIpAddress()
           
 Date getLastAccessTime()
           
 long getRequestCount()
           
 HttpRequestType getType()
           
 String getUserName()
           
 

Method Detail

getId

String getId()
Returns:
the raw id of the session

getASessionId

String getASessionId()
Returns:
the ASESSIONID of the session

getUserName

String getUserName()
Returns:
The name of the user who owns this session. NOTE : This can be null.

getIpAddress

String getIpAddress()
Returns:
The IP address this session in on.

getRequestCount

long getRequestCount()
Returns:
the number of requests that this user has made in this session

getCreationTime

Date getCreationTime()
Returns:
The session creation time or null if its not known

getLastAccessTime

Date getLastAccessTime()
Returns:
the last time the session was active or null if its not known

getType

HttpRequestType getType()
Returns:
the type of session


Copyright © 2002-2012 Atlassian. All Rights Reserved.