public class


extends Object
   ↳ com.atlassian.jira.pageobjects.util.UserSessionHelper

Class Overview

Class that can be used to manipulate the current user's session on the server.


Public Constructors
Public Methods
void clearWebSudo()
void deleteSession()
Deletes the JSESSIONID cookie.
void destoryAllXsrfTokens()
void invalidateSession()
Sets the JSESSIONID value to garbage.
Inherited Methods
From class java.lang.Object

Public Constructors

public UserSessionHelper ()

Public Methods

public void clearWebSudo ()

public void deleteSession ()

Deletes the JSESSIONID cookie. Not sending this value forces the Session Expired page error (sending a garbage value displays the XSRF page instead).

public void destoryAllXsrfTokens ()

public void invalidateSession ()

Sets the JSESSIONID value to garbage. Doing this will essentially invalidate the cookie, forcing JIRA to create treat the request as a request that comes in with an expired JSESSIONID.