public class OpenIDServerTestWithOpenID2 extends Object
OpenIDAuthenticationTest.| Constructor and Description |
|---|
OpenIDServerTestWithOpenID2() |
| Modifier and Type | Method and Description |
|---|---|
void |
ableToAssociateWithProvider() |
void |
authenticationRequestFailsWhenRealmDoesNotMatchReturnToUrl() |
void |
authenticationRequestPassesWhenRealmIsProvidedAndMatchesReturnToUrl() |
void |
authenticationRequestProvidesPromptForUserAuthentication() |
void |
authenticationRequestRedirectedAsGetProvidesPromptForUserAuthentication()
The request from the user agent may be a POST or a GET, so test the GET case.
|
void |
discoveryOfUserIdentifierFindsSignons() |
void |
findBaseUrlForApplication() |
void |
openId2ResourceHasCorrectMediaType() |
void |
openId2ResourceIsDiscoverable() |
static org.hamcrest.Matcher<org.openid4java.discovery.DiscoveryInformation> |
openIdWithVersionEndpointAndClaimedId(String version,
String endpoint,
String claimedId) |
void |
userIdentityPageIsServedAsHtmlByDefault() |
public void findBaseUrlForApplication()
public void openId2ResourceHasCorrectMediaType()
throws Exception
Exceptionpublic void openId2ResourceIsDiscoverable()
throws org.openid4java.discovery.DiscoveryException
org.openid4java.discovery.DiscoveryExceptionpublic void ableToAssociateWithProvider()
throws Exception
Exceptionpublic void authenticationRequestProvidesPromptForUserAuthentication()
throws Exception
Exceptionpublic void authenticationRequestFailsWhenRealmDoesNotMatchReturnToUrl()
throws Exception
Exceptionpublic void authenticationRequestPassesWhenRealmIsProvidedAndMatchesReturnToUrl()
throws Exception
Exceptionpublic void authenticationRequestRedirectedAsGetProvidesPromptForUserAuthentication()
throws Exception
Exceptionpublic void userIdentityPageIsServedAsHtmlByDefault()
throws IOException
IOExceptionpublic void discoveryOfUserIdentifierFindsSignons()
throws org.openid4java.discovery.DiscoveryException
org.openid4java.discovery.DiscoveryExceptionCopyright © 2018 Atlassian. All rights reserved.