com.atlassian.confluence.it.usermanagement
Class JiraWebClient

java.lang.Object
  extended by com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
      extended by com.atlassian.confluence.it.usermanagement.JiraWebClient
All Implemented Interfaces:
OnDemandLoginClient

public class JiraWebClient
extends AbstractOnDemandLoginClient
implements OnDemandLoginClient

Logs in and out of JIRA via JWebUnit. JWebUnit is used in place of Selenium because when running without a proxy fronting the apps, the port number changes between Confluence and the JIRA login page and apparently that makes Selenium barf.

Since:
v4.1

Field Summary
 
Fields inherited from class com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
webTester
 
Constructor Summary
JiraWebClient()
           
 
Method Summary
static boolean isEnabled()
           
 javax.servlet.http.Cookie logIn(User user, boolean rememberMe)
           
 void logOut()
           
 void synchroniseCrowdUserDirectory()
           
 
Methods inherited from class com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
getCrowdTokenCookie
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraWebClient

public JiraWebClient()
Method Detail

logOut

public void logOut()
Specified by:
logOut in interface OnDemandLoginClient

logIn

public javax.servlet.http.Cookie logIn(User user,
                                       boolean rememberMe)
Specified by:
logIn in interface OnDemandLoginClient

synchroniseCrowdUserDirectory

public void synchroniseCrowdUserDirectory()

isEnabled

public static boolean isEnabled()


Copyright © 2003-2013 Atlassian. All Rights Reserved.