
public class AuthSequenceTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private net.trajano.auth.internal.OpenIDProviderConfiguration |
googleOpenIdConfiguration
Google's OpenID Connect configuration.
|
private Map<String,String> |
options
Module options.
|
| Constructor and Description |
|---|
AuthSequenceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testFailUnauthenticatedPost()
Posting data when unauthenticate is not allowed.
|
void |
testHandleCallBack()
Handles the callback operation.
|
void |
testIsCallback1()
Tests callback validatoin.
|
void |
testIsCallback2()
Tests callback validatoin.
|
void |
testNoAuthNeededWithoutSSL()
The policy has determined it is not mandatory without SSL.
|
void |
testNoAuthNeededWithSSL()
The policy has determined it is not mandatory.
|
void |
testRedirectToEndpoint() |
void |
testSSLRequired() |
void |
testUseGoogle() |
private final net.trajano.auth.internal.OpenIDProviderConfiguration googleOpenIdConfiguration
public void testFailUnauthenticatedPost()
throws Exception
Exceptionpublic void testHandleCallBack()
throws Exception
Exceptionpublic void testIsCallback1()
throws Exception
Exceptionpublic void testIsCallback2()
throws Exception
Exceptionpublic void testNoAuthNeededWithoutSSL()
throws Exception
Exceptionpublic void testNoAuthNeededWithSSL()
throws Exception
ExceptionCopyright © 2014 Trajano. All rights reserved.