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()
           
 
Method Summary
static boolean isEnabled()
           
 javax.servlet.http.Cookie logIn(User user, boolean rememberMe)
           
 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()
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

isEnabled

public static boolean isEnabled()


Copyright © 2003-2013 Atlassian. All Rights Reserved.