public class IsAuthenticatedAuthorizerTests extends Object implements TestsConstants
IsAuthenticatedAuthorizer.| Modifier and Type | Field and Description |
|---|---|
protected org.pac4j.core.authorization.authorizer.Authorizer |
authorizer |
protected org.pac4j.core.profile.CommonProfile |
profile |
protected List<org.pac4j.core.profile.CommonProfile> |
profiles |
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 |
|---|
IsAuthenticatedAuthorizerTests() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRemembered() |
protected org.pac4j.core.authorization.authorizer.Authorizer |
newAuthorizer() |
void |
setUp() |
void |
testAnonymousProfile() |
void |
testAnonymousProfileRedirectionUrl() |
void |
testCommonProfile() |
void |
testCommonProfileTwoProfiles() |
void |
testNoProfile() |
protected org.pac4j.core.authorization.authorizer.Authorizer authorizer
protected List<org.pac4j.core.profile.CommonProfile> profiles
protected org.pac4j.core.profile.CommonProfile profile
public void setUp()
protected org.pac4j.core.authorization.authorizer.Authorizer newAuthorizer()
protected boolean isRemembered()
public void testNoProfile()
throws org.pac4j.core.exception.HttpAction
org.pac4j.core.exception.HttpActionpublic void testAnonymousProfile()
throws org.pac4j.core.exception.HttpAction
org.pac4j.core.exception.HttpActionpublic void testCommonProfileTwoProfiles()
throws org.pac4j.core.exception.HttpAction
org.pac4j.core.exception.HttpActionpublic void testCommonProfile()
throws org.pac4j.core.exception.HttpAction
org.pac4j.core.exception.HttpActionpublic void testAnonymousProfileRedirectionUrl()
Copyright © 2016. All Rights Reserved.