|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.crowd.acceptance.utils.CrowdWebTestCase com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase com.atlassian.crowd.acceptance.tests.applications.crowdid.client.CrowdIDClientAcceptanceTestCase com.atlassian.crowd.acceptance.tests.applications.crowdid.client.OpenIDAuthenticationTest
public class OpenIDAuthenticationTest
This class contains tests which examine the authentication process between the crowd-openid-client and crowd-openid-server. The openid server retrieves user data from the crowd-console. It is a 3-webapp test that currently tests basic forms of OpenID authentication + SREG exchange.
Field Summary | |
---|---|
protected static java.lang.String |
OPENID_CLIENT_LOGIN
|
protected static java.lang.String |
OPENID_SERVER_URL
|
protected static java.lang.String |
OPENIDSERVER_LOGIN_URL_ADMIN
|
protected static java.lang.String |
SERVER_NAME
|
Fields inherited from class com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase |
---|
ADMIN_PW, baseUrl, context, CROWD_ADMIN_EMAIL_ADDRESS, CROWD_ADMIN_FULLNAME, CROWD_ADMIN_USER, CROWD_ADMINISTRATORS_GROUP, crowdBaseUrl, crowdConsole, crowdContext, crowdPort, crowdResourceBundle, path, port, rootUrl, specProperties |
Fields inherited from class com.atlassian.crowd.acceptance.utils.CrowdWebTestCase |
---|
logger, tester |
Constructor Summary | |
---|---|
OpenIDAuthenticationTest()
|
Method Summary | |
---|---|
protected void |
assertAtClientLoginPage()
|
protected void |
assertAtClientProfilePage()
|
protected void |
assertAtServerAllowDenyPage()
|
protected void |
assertAtServerLoginPage()
|
void |
setUp()
|
void |
testOpenIDAuthenticationAllow()
|
void |
testOpenIDAuthenticationDeny()
|
void |
testOpenIDAuthenticationImmediate_fail()
|
void |
testOpenIDAuthenticationStateless()
|
Methods inherited from class com.atlassian.crowd.acceptance.tests.applications.crowdid.client.CrowdIDClientAcceptanceTestCase |
---|
getApplicationName, getLocalTestPropertiesFileName, getResourceBundleName |
Methods inherited from class com.atlassian.crowd.acceptance.tests.ApplicationAcceptanceTestCase |
---|
getCrowdHome, getCurrentlyLoggedInCrowdUserFullName, getTestProperty, loginToCrowd, loginToCrowd, logoutFromCrowd, restoreBaseSetup, restoreCrowdFromXML, useApp, useCrowd, verifyGroupDoesNotExistInCrowd, verifyGroupExistsInCrowd, verifyUserDoesNotExistInCrowd, verifyUserExistsInCrowd |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static java.lang.String OPENIDSERVER_LOGIN_URL_ADMIN
protected static java.lang.String OPENID_CLIENT_LOGIN
protected static java.lang.String OPENID_SERVER_URL
protected static final java.lang.String SERVER_NAME
Constructor Detail |
---|
public OpenIDAuthenticationTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class ApplicationAcceptanceTestCase
java.lang.Exception
protected void assertAtClientLoginPage()
protected void assertAtServerLoginPage()
protected void assertAtServerAllowDenyPage()
protected void assertAtClientProfilePage()
public void testOpenIDAuthenticationAllow()
public void testOpenIDAuthenticationDeny()
public void testOpenIDAuthenticationStateless()
public void testOpenIDAuthenticationImmediate_fail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |