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
Exception
public void openId2ResourceIsDiscoverable() throws org.openid4java.discovery.DiscoveryException
org.openid4java.discovery.DiscoveryException
public void ableToAssociateWithProvider() throws Exception
Exception
public void authenticationRequestProvidesPromptForUserAuthentication() throws Exception
Exception
public void authenticationRequestFailsWhenRealmDoesNotMatchReturnToUrl() throws Exception
Exception
public void authenticationRequestPassesWhenRealmIsProvidedAndMatchesReturnToUrl() throws Exception
Exception
public void authenticationRequestRedirectedAsGetProvidesPromptForUserAuthentication() throws Exception
Exception
public void userIdentityPageIsServedAsHtmlByDefault() throws IOException
IOException
public void discoveryOfUserIdentifierFindsSignons() throws org.openid4java.discovery.DiscoveryException
org.openid4java.discovery.DiscoveryException
Copyright © 2021 Atlassian. All rights reserved.