com.atlassian.jira.pageobjects.util
Class UserSessionHelper

java.lang.Object
  extended by com.atlassian.jira.pageobjects.util.UserSessionHelper

public class UserSessionHelper
extends Object

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

Since:
v5.0.1

Constructor Summary
UserSessionHelper()
           
 
Method Summary
 void clearWebSudo()
           
 void destoryAllXsrfTokens()
           
 void invalidateSession()
          Sets the JSESSIONID value to garbage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSessionHelper

public UserSessionHelper()
Method Detail

clearWebSudo

public void clearWebSudo()

invalidateSession

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.


destoryAllXsrfTokens

public void destoryAllXsrfTokens()


Copyright © 2002-2013 Atlassian. All Rights Reserved.