com.atlassian.crowd.acceptance.tests.applications.crowdid.server
Class OpenIDServerTestWithOpenID2
java.lang.Object
com.atlassian.crowd.acceptance.tests.applications.crowdid.server.OpenIDServerTestWithOpenID2
public class OpenIDServerTestWithOpenID2
- extends Object
Direct HTTP tests against the OpenID resources, as a complement to the full browser
tests in OpenIDAuthenticationTest.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenIDServerTestWithOpenID2
public OpenIDServerTestWithOpenID2()
findBaseUrlForApplication
public void findBaseUrlForApplication()
testOpenId2ResourceHasCorrectMediaType
public void testOpenId2ResourceHasCorrectMediaType()
throws Exception
- Throws:
Exception
testOpenId2ResourceIsDiscoverable
public void testOpenId2ResourceIsDiscoverable()
throws org.openid4java.discovery.DiscoveryException
- Throws:
org.openid4java.discovery.DiscoveryException
ableToAssociateWithProvider
public void ableToAssociateWithProvider()
throws Exception
- Throws:
Exception
authenticationRequestProvidesPromptForUserAuthentication
public void authenticationRequestProvidesPromptForUserAuthentication()
throws Exception
- Throws:
Exception
authenticationRequestFailsWhenRealmDoesNotMatchReturnToUrl
public void authenticationRequestFailsWhenRealmDoesNotMatchReturnToUrl()
throws Exception
- Throws:
Exception
authenticationRequestPassesWhenRealmIsProvidedAndMatchesReturnToUrl
public void authenticationRequestPassesWhenRealmIsProvidedAndMatchesReturnToUrl()
throws Exception
- Throws:
Exception
authenticationRequestRedirectedAsGetProvidesPromptForUserAuthentication
public void authenticationRequestRedirectedAsGetProvidesPromptForUserAuthentication()
throws Exception
- The request from the user agent may be a POST or a GET, so test the GET case.
- Throws:
Exception
userIdentityPageIsServedAsHtmlByDefault
public void userIdentityPageIsServedAsHtmlByDefault()
throws IOException
- Throws:
IOException
discoveryOfUserIdentifierFindsSignons
public void discoveryOfUserIdentifierFindsSignons()
throws org.openid4java.discovery.DiscoveryException
- Throws:
org.openid4java.discovery.DiscoveryException
openIdWithVersionEndpointAndClaimedId
public static org.hamcrest.Matcher<org.openid4java.discovery.DiscoveryInformation> openIdWithVersionEndpointAndClaimedId(String version,
String endpoint,
String claimedId)
Copyright © 2014 Atlassian. All Rights Reserved.