com.atlassian.confluence.it.usermanagement
Class IndraWebClient

java.lang.Object
  extended by com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
      extended by 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

Field Summary
 
Fields inherited from class com.atlassian.confluence.it.usermanagement.AbstractOnDemandLoginClient
webTester
 
Constructor Summary
IndraWebClient()
           
IndraWebClient(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 
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 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

IndraWebClient

public IndraWebClient()

IndraWebClient

public IndraWebClient(net.sourceforge.jwebunit.junit.WebTester webTester)
Method Detail

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.