com.atlassian.confluence.it.usermanagement
Class IndraWebClient
java.lang.Object
com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
com.atlassian.confluence.it.usermanagement.IndraWebClient
- All Implemented Interfaces:
- OnDemandLoginClient
public class IndraWebClient
- extends AbstractOnDemandLoginClient
- implements OnDemandLoginClient
Logs in and out of Indra 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 Indra login page and apparently that makes
Selenium barf.
- Since:
- v5.0
Method Summary |
static boolean |
isEnabled()
|
javax.servlet.http.Cookie |
logIn(User user,
boolean rememberMe)
|
javax.servlet.http.Cookie |
logIn(User user,
boolean rememberMe,
java.lang.String path)
|
void |
logOut()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndraWebClient
public IndraWebClient()
IndraWebClient
public IndraWebClient(net.sourceforge.jwebunit.junit.WebTester webTester)
logOut
public void logOut()
- Specified by:
logOut
in interface OnDemandLoginClient
logIn
public javax.servlet.http.Cookie logIn(User user,
boolean rememberMe,
java.lang.String path)
logIn
public javax.servlet.http.Cookie logIn(User user,
boolean rememberMe)
- Specified by:
logIn
in interface OnDemandLoginClient
isEnabled
public static boolean isEnabled()
Copyright © 2003-2014 Atlassian. All Rights Reserved.