public final class DefaultSecurityLogicTests extends Object implements TestsConstants
DefaultSecurityLogic.BAD_USERNAME, CALLBACK_URL, CLIENT_NAME, CNONCE, CODE, DIGEST_AUTHORIZATION_HEADER_VALUE, DIGEST_RESPONSE, EMAIL, FAKE_VALUE, FIRSTNAME, FIRSTNAME_VALUE, GOOD_USERNAME, GOOD_USERNAME2, GOOGLE_URL, HEADER_NAME, ID, KEY, LOGIN_URL, MULTIPLE_USERNAME, NAME, NC, NONCE, PAC4J_BASE_URL, PAC4J_URL, PASSWORD, PATH, PREFIX_HEADER, QOP, REALM, ROLE, SALT, SECRET, TOKEN, TYPE, URI, USERNAME, VALUE, VERIFIER| Constructor and Description |
|---|
DefaultSecurityLogicTests() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAlreadyAuthenticatedAndAuthorized() |
void |
testAlreadyAuthenticatedNotAuthorized() |
void |
testAuthorizerThrowsRequiresHttpAction() |
void |
testDirectClientThrowsRequiresHttpAction() |
void |
testDoubleDirectClient() |
void |
testDoubleDirectClientChooseBadDirectClient() |
void |
testDoubleDirectClientChooseDirectClient() |
void |
testDoubleDirectClientSupportingMultiProfile() |
void |
testDoubleIndirectClientBadOneChosen() |
void |
testDoubleIndirectClientOneChosen() |
void |
testNotAuthenticated() |
void |
testNotAuthenticatedButMatcher() |
void |
testNullAuthorizationChecker() |
void |
testNullClientFinder() |
void |
testNullClients() |
void |
testNullConfig() |
void |
testNullContext() |
void |
testNullHttpActionAdapter() |
void |
testNullMatchingChecker() |
void |
testRedirectByIndirectClient() |
public void setUp()
public void testNullConfig()
public void testNullContext()
public void testNullHttpActionAdapter()
public void testNullAuthorizationChecker()
throws Exception
Exceptionpublic void testNotAuthenticatedButMatcher()
throws Exception
Exceptionpublic void testAlreadyAuthenticatedAndAuthorized()
throws Exception
Exceptionpublic void testAlreadyAuthenticatedNotAuthorized()
throws Exception
Exceptionpublic void testAuthorizerThrowsRequiresHttpAction()
throws Exception
Exceptionpublic void testDirectClientThrowsRequiresHttpAction()
throws Exception
Exceptionpublic void testDoubleDirectClientSupportingMultiProfile()
throws Exception
Exceptionpublic void testDoubleDirectClientChooseDirectClient()
throws Exception
Exceptionpublic void testDoubleDirectClientChooseBadDirectClient()
public void testRedirectByIndirectClient()
throws Exception
Exceptionpublic void testDoubleIndirectClientOneChosen()
throws Exception
ExceptionCopyright © 2016. All Rights Reserved.