Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

addRequestHeader(String, String) - Method in class org.pac4j.core.context.MockWebContext
Add a request header for mock purpose.
addRequestParameter(String, String) - Method in class org.pac4j.core.context.MockWebContext
Add a request parameter for mock purpose.
addRequestParameters(Map<String, String>) - Method in class org.pac4j.core.context.MockWebContext
Add request parameters for mock purpose.
addResponseCookie(Cookie) - Method in class org.pac4j.core.context.MockWebContext
 
addSessionAttribute(String, Object) - Method in class org.pac4j.core.context.MockWebContext
Add a session attribute for mock purpose.
assertCommonProfile(CommonProfile, String, String, String, String, String, Gender, Locale, String, String, String) - Method in class org.pac4j.core.run.RunClient
 
attributes - Variable in class org.pac4j.core.context.MockWebContext
 
AttributesDefinitionTests - Class in org.pac4j.core.profile
Tests the AttributesDefinition.
AttributesDefinitionTests() - Constructor for class org.pac4j.core.profile.AttributesDefinitionTests
 
AuthenticatorProfileCreatorTests - Class in org.pac4j.core.profile.creator
This class tests the AuthenticatorProfileCreator.
AuthenticatorProfileCreatorTests() - Constructor for class org.pac4j.core.profile.creator.AuthenticatorProfileCreatorTests
 
authorizer - Variable in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 

B

BAD_USERNAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
BaseClientTests - Class in org.pac4j.core.client
This class tests the BaseClient class.
BaseClientTests() - Constructor for class org.pac4j.core.client.BaseClientTests
 
BasicSaltedSha512PasswordEncoderTests - Class in org.pac4j.core.credentials.password
This class tests the BasicSaltedSha512PasswordEncoder.
BasicSaltedSha512PasswordEncoderTests() - Constructor for class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoderTests
 
BooleanConverterTests - Class in org.pac4j.core.profile.converter
This class tests the BooleanConverter class.
BooleanConverterTests() - Constructor for class org.pac4j.core.profile.converter.BooleanConverterTests
 

C

CALLBACK_URL - Static variable in interface org.pac4j.core.util.TestsConstants
 
canCancel() - Method in class org.pac4j.core.run.RunClient
 
CheckHttpMethodAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests CheckHttpMethodAuthorizer.
CheckHttpMethodAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizerTests
 
CheckProfileTypeAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests CheckProfileTypeAuthorizer.
CheckProfileTypeAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizerTests
 
CLIENT_NAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
ClientsTests - Class in org.pac4j.core.client
This class tests the Clients class.
ClientsTests() - Constructor for class org.pac4j.core.client.ClientsTests
 
CNONCE - Static variable in interface org.pac4j.core.util.TestsConstants
 
CODE - Static variable in interface org.pac4j.core.util.TestsConstants
 
ColorConverterTests - Class in org.pac4j.core.profile.converter
This class tests the ColorConverter class.
ColorConverterTests() - Constructor for class org.pac4j.core.profile.converter.ColorConverterTests
 
CommonHelperTests - Class in org.pac4j.core.util
This class tests the CommonHelper class.
CommonHelperTests() - Constructor for class org.pac4j.core.util.CommonHelperTests
 
CommonProfileTests - Class in org.pac4j.core.profile
This class tests the CommonProfile class.
CommonProfileTests() - Constructor for class org.pac4j.core.profile.CommonProfileTests
 
ConfigTests - Class in org.pac4j.core.config
Tests the Config.
ConfigTests() - Constructor for class org.pac4j.core.config.ConfigTests
 
CounterInitializableWebObject - Class in org.pac4j.core.util
This class is a counter as InitializableWebObject for tests purpose.
CounterInitializableWebObject() - Constructor for class org.pac4j.core.util.CounterInitializableWebObject
 
create() - Static method in class org.pac4j.core.context.MockWebContext
Create a new instance.
CsrfAuthorizerTests - Class in org.pac4j.core.authorization.authorizer.csrf
Tests CsrfAuthorizer.
CsrfAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 

D

DateConverterTests - Class in org.pac4j.core.profile.converter
This class tests the DateConverter class.
DateConverterTests() - Constructor for class org.pac4j.core.profile.converter.DateConverterTests
 
DefaultAjaxRequestResolverTests - Class in org.pac4j.core.http
Tests the DefaultAjaxRequestResolver.
DefaultAjaxRequestResolverTests() - Constructor for class org.pac4j.core.http.DefaultAjaxRequestResolverTests
 
DefaultApplicationLogoutLogicTests - Class in org.pac4j.core.engine
Tests DefaultApplicationLogoutLogic.
DefaultApplicationLogoutLogicTests() - Constructor for class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
DefaultAuthorizationCheckerTests - Class in org.pac4j.core.authorization.checker
Tests the DefaultAuthorizationChecker.
DefaultAuthorizationCheckerTests() - Constructor for class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
DefaultClientFinderTests - Class in org.pac4j.core.client.finder
Tests DefaultClientFinder.
DefaultClientFinderTests() - Constructor for class org.pac4j.core.client.finder.DefaultClientFinderTests
 
DefaultCsrfTokenGeneratorTests - Class in org.pac4j.core.authorization.authorizer.csrf
Tests DefaultCsrfTokenGenerator.
DefaultCsrfTokenGeneratorTests() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGeneratorTests
 
DefaultMatchingCheckerTests - Class in org.pac4j.core.matching
Tests DefaultMatchingChecker.
DefaultMatchingCheckerTests() - Constructor for class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
DefaultRolesPermissionsAuthorizationGeneratorTests - Class in org.pac4j.core.authorization.generator
This class tests DefaultRolesPermissionsAuthorizationGenerator.
DefaultRolesPermissionsAuthorizationGeneratorTests() - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGeneratorTests
 
DefaultSecurityLogicTests - Class in org.pac4j.core.engine
Tests DefaultSecurityLogic.
DefaultSecurityLogicTests() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogicTests
 
DIGEST_AUTHORIZATION_HEADER_VALUE - Static variable in interface org.pac4j.core.util.TestsConstants
 
DIGEST_RESPONSE - Static variable in interface org.pac4j.core.util.TestsConstants
 

E

EMAIL - Static variable in interface org.pac4j.core.util.TestsConstants
 
equals(Object) - Method in class org.pac4j.core.credentials.MockCredentials
 
ExcludedPathMatcherTests - Class in org.pac4j.core.matching
Tests ExcludedPathMatcher.
ExcludedPathMatcherTests() - Constructor for class org.pac4j.core.matching.ExcludedPathMatcherTests
 
Executable - Interface in org.pac4j.core.util
Something executable (no input, no result, maybe an exception).
execute() - Method in interface org.pac4j.core.util.Executable
 
expectException(Executable) - Static method in class org.pac4j.core.util.TestsHelper
 
expectException(Executable, Class<? extends Exception>, String) - Static method in class org.pac4j.core.util.TestsHelper
 

F

FAKE_VALUE - Static variable in interface org.pac4j.core.util.TestsConstants
 
FIRSTNAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
FIRSTNAME_VALUE - Static variable in interface org.pac4j.core.util.TestsConstants
 
FormattedDateConverterTests - Class in org.pac4j.core.profile.converter
This class tests the FormattedDateConverter class.
FormattedDateConverterTests() - Constructor for class org.pac4j.core.profile.converter.FormattedDateConverterTests
 
FromAttributesAuthorizationGeneratorTests - Class in org.pac4j.core.authorization.generator
This class tests FromAttributesAuthorizationGenerator.
FromAttributesAuthorizationGeneratorTests() - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
fullRequestURL - Variable in class org.pac4j.core.context.MockWebContext
 

G

GenderConverterTests - Class in org.pac4j.core.profile.converter
This class tests the GenderConverter class.
GenderConverterTests() - Constructor for class org.pac4j.core.profile.converter.GenderConverterTests
 
GenderIntegerConverterTests - Class in org.pac4j.core.profile.converter
This class tests the GenderIntegerConverter class.
GenderIntegerConverterTests() - Constructor for class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
get() - Method in interface org.pac4j.core.client.ReturnCredentials
 
get(WebContext, String) - Method in class org.pac4j.core.context.session.MockSessionStore
 
getClient() - Method in class org.pac4j.core.run.RunClient
 
getCounter() - Method in class org.pac4j.core.util.CounterInitializableWebObject
 
getCredentials(WebContext) - Method in class org.pac4j.core.client.MockDirectClient
 
getFormattedDate(long, String, Locale) - Static method in class org.pac4j.core.util.TestsHelper
 
getFullRequestURL() - Method in class org.pac4j.core.context.MockWebContext
 
getLogin() - Method in class org.pac4j.core.run.RunClient
 
getOrCreateSessionId(WebContext) - Method in class org.pac4j.core.context.session.MockSessionStore
 
getParametersFromUrl(String) - Static method in class org.pac4j.core.util.TestsHelper
 
getPassword() - Method in class org.pac4j.core.run.RunClient
 
getPath() - Method in class org.pac4j.core.context.MockWebContext
 
getRemoteAddr() - Method in class org.pac4j.core.context.MockWebContext
 
getRequestAttribute(String) - Method in class org.pac4j.core.context.MockWebContext
 
getRequestCookies() - Method in class org.pac4j.core.context.MockWebContext
 
getRequestHeader(String) - Method in class org.pac4j.core.context.MockWebContext
 
getRequestMethod() - Method in class org.pac4j.core.context.MockWebContext
 
getRequestParameter(String) - Method in class org.pac4j.core.context.MockWebContext
 
getRequestParameters() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseContent() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseContentType() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseCookies() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseHeaders() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseLocation() - Method in class org.pac4j.core.context.MockWebContext
 
getResponseStatus() - Method in class org.pac4j.core.context.MockWebContext
 
getScheme() - Method in class org.pac4j.core.context.MockWebContext
 
getServerName() - Method in class org.pac4j.core.context.MockWebContext
 
getServerPort() - Method in class org.pac4j.core.context.MockWebContext
 
getSessionAttribute(String) - Method in class org.pac4j.core.context.MockWebContext
 
getSessionIdentifier() - Method in class org.pac4j.core.context.MockWebContext
 
GOOD_USERNAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
GOOD_USERNAME2 - Static variable in interface org.pac4j.core.util.TestsConstants
 
GOOGLE_URL - Static variable in interface org.pac4j.core.util.TestsConstants
 

H

hashCode() - Method in class org.pac4j.core.credentials.MockCredentials
 
HEADER_NAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
HeaderExtractorTests - Class in org.pac4j.core.credentials.extractor
This class tests the HeaderExtractor.
HeaderExtractorTests() - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractorTests
 
headers - Variable in class org.pac4j.core.context.MockWebContext
 

I

ID - Static variable in interface org.pac4j.core.util.TestsConstants
 
InitializableObjectTests - Class in org.pac4j.core.util
This class tests the InitializableWebObject class.
InitializableObjectTests() - Constructor for class org.pac4j.core.util.InitializableObjectTests
 
initShouldFail(InitializableObject, String) - Static method in class org.pac4j.core.util.TestsHelper
 
initShouldFail(InitializableWebObject, String) - Static method in class org.pac4j.core.util.TestsHelper
 
IntegerConverterTests - Class in org.pac4j.core.profile.converter
This class tests the IntegerConverter class.
IntegerConverterTests() - Constructor for class org.pac4j.core.profile.converter.IntegerConverterTests
 
internalInit(WebContext) - Method in class org.pac4j.core.client.MockDirectClient
 
internalInit(WebContext) - Method in class org.pac4j.core.util.CounterInitializableWebObject
 
ip - Variable in class org.pac4j.core.context.MockWebContext
 
IsAnonymousAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests IsAnonymousAuthorizer.
IsAnonymousAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
IsAuthenticatedAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests IsAuthenticatedAuthorizer.
IsAuthenticatedAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
IsFullyAuthenticatedAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests IsFullyAuthenticatedAuthorizer.
IsFullyAuthenticatedAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizerTests
 
isRemembered() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
isRemembered() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizerTests
 
IsRememberedAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests IsRememberedAuthorizer.
IsRememberedAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizerTests
 
isSecure() - Method in class org.pac4j.core.context.MockWebContext
 

J

J2ERenewSessionCallbackLogicTests - Class in org.pac4j.core.engine
Tests J2ERenewSessionCallbackLogic.
J2ERenewSessionCallbackLogicTests() - Constructor for class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
J2ESessionStoreTests - Class in org.pac4j.core.context.session
Tests the SessionStore capability.
J2ESessionStoreTests() - Constructor for class org.pac4j.core.context.session.J2ESessionStoreTests
 
JavaSerializationHelperTests - Class in org.pac4j.core.util
Tests JavaSerializationHelper.
JavaSerializationHelperTests() - Constructor for class org.pac4j.core.util.JavaSerializationHelperTests
 

K

KEY - Static variable in interface org.pac4j.core.util.TestsConstants
 
KryoSerializationHelperTests - Class in org.pac4j.core.util
Tests KryoSerializationHelper.
KryoSerializationHelperTests() - Constructor for class org.pac4j.core.util.KryoSerializationHelperTests
 

L

LocalCachingAuthenticatorTests - Class in org.pac4j.core.credentials.authenticator
Test cases for LocalCachingAuthenticator
LocalCachingAuthenticatorTests() - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
LocaleConverterTests - Class in org.pac4j.core.profile.converter
This class tests the LocaleConverter class.
LocaleConverterTests() - Constructor for class org.pac4j.core.profile.converter.LocaleConverterTests
 
logger - Variable in class org.pac4j.core.run.RunClient
 
LOGIN_URL - Static variable in interface org.pac4j.core.util.TestsConstants
 
LongConverterTests - Class in org.pac4j.core.profile.converter
This class tests the LongConverter class.
LongConverterTests() - Constructor for class org.pac4j.core.profile.converter.LongConverterTests
 

M

method - Variable in class org.pac4j.core.context.MockWebContext
 
MockCredentials - Class in org.pac4j.core.credentials
Mock a credentials.
MockCredentials() - Constructor for class org.pac4j.core.credentials.MockCredentials
 
MockDirectClient - Class in org.pac4j.core.client
Mock a direct client.
MockDirectClient(String, Credentials, CommonProfile) - Constructor for class org.pac4j.core.client.MockDirectClient
 
MockDirectClient(String, ReturnCredentials, CommonProfile) - Constructor for class org.pac4j.core.client.MockDirectClient
 
MockIndirectClient - Class in org.pac4j.core.client
Mock an indirect client.
MockIndirectClient(String, RedirectAction, Credentials, CommonProfile) - Constructor for class org.pac4j.core.client.MockIndirectClient
 
MockIndirectClient(String, RedirectAction, ReturnCredentials, CommonProfile) - Constructor for class org.pac4j.core.client.MockIndirectClient
 
MockSessionStore - Class in org.pac4j.core.context.session
Mock a session store in memory.
MockSessionStore() - Constructor for class org.pac4j.core.context.session.MockSessionStore
 
MockWebContext - Class in org.pac4j.core.context
This is a mocked web context to interact with request, response and session (for tests purpose).
MockWebContext() - Constructor for class org.pac4j.core.context.MockWebContext
 
MULTIPLE_USERNAME - Static variable in interface org.pac4j.core.util.TestsConstants
 

N

NAME - Static variable in interface org.pac4j.core.util.TestsConstants
 
NC - Static variable in interface org.pac4j.core.util.TestsConstants
 
newAuthorizer() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
newAuthorizer() - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizerTests
 
newAuthorizer() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizerTests
 
NONCE - Static variable in interface org.pac4j.core.util.TestsConstants
 
NopPasswordEncoderTests - Class in org.pac4j.core.credentials.password
This class tests the NopPasswordEncoder.
NopPasswordEncoderTests() - Constructor for class org.pac4j.core.credentials.password.NopPasswordEncoderTests
 

O

org.pac4j.core.authorization.authorizer - package org.pac4j.core.authorization.authorizer
 
org.pac4j.core.authorization.authorizer.csrf - package org.pac4j.core.authorization.authorizer.csrf
 
org.pac4j.core.authorization.checker - package org.pac4j.core.authorization.checker
 
org.pac4j.core.authorization.generator - package org.pac4j.core.authorization.generator
 
org.pac4j.core.client - package org.pac4j.core.client
 
org.pac4j.core.client.finder - package org.pac4j.core.client.finder
 
org.pac4j.core.config - package org.pac4j.core.config
 
org.pac4j.core.context - package org.pac4j.core.context
 
org.pac4j.core.context.session - package org.pac4j.core.context.session
 
org.pac4j.core.credentials - package org.pac4j.core.credentials
 
org.pac4j.core.credentials.authenticator - package org.pac4j.core.credentials.authenticator
 
org.pac4j.core.credentials.extractor - package org.pac4j.core.credentials.extractor
 
org.pac4j.core.credentials.password - package org.pac4j.core.credentials.password
 
org.pac4j.core.engine - package org.pac4j.core.engine
 
org.pac4j.core.http - package org.pac4j.core.http
 
org.pac4j.core.matching - package org.pac4j.core.matching
 
org.pac4j.core.profile - package org.pac4j.core.profile
 
org.pac4j.core.profile.converter - package org.pac4j.core.profile.converter
 
org.pac4j.core.profile.creator - package org.pac4j.core.profile.creator
 
org.pac4j.core.run - package org.pac4j.core.run
 
org.pac4j.core.util - package org.pac4j.core.util
 

P

PAC4J_BASE_URL - Static variable in interface org.pac4j.core.util.TestsConstants
 
PAC4J_URL - Static variable in interface org.pac4j.core.util.TestsConstants
 
parameters - Variable in class org.pac4j.core.context.MockWebContext
 
PASSWORD - Static variable in interface org.pac4j.core.util.TestsConstants
 
path - Variable in class org.pac4j.core.context.MockWebContext
 
PATH - Static variable in interface org.pac4j.core.util.TestsConstants
 
PREFIX_HEADER - Static variable in interface org.pac4j.core.util.TestsConstants
 
profile - Variable in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
ProfileHelperTests - Class in org.pac4j.core.profile
Tests ProfileHelper.
ProfileHelperTests() - Constructor for class org.pac4j.core.profile.ProfileHelperTests
 
ProfileManagerTests - Class in org.pac4j.core.profile
Tests ProfileManager.
ProfileManagerTests() - Constructor for class org.pac4j.core.profile.ProfileManagerTests
 
profiles - Variable in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 

Q

QOP - Static variable in interface org.pac4j.core.util.TestsConstants
 

R

REALM - Static variable in interface org.pac4j.core.util.TestsConstants
 
registerForKryo(Kryo) - Method in class org.pac4j.core.run.RunClient
 
rejectSameName() - Method in class org.pac4j.core.client.ClientsTests
 
rejectSameNameDifferentCase() - Method in class org.pac4j.core.client.ClientsTests
 
RelativeCallbackUrlResolverTests - Class in org.pac4j.core.http
Tests the RelativeCallbackUrlResolver.
RelativeCallbackUrlResolverTests() - Constructor for class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
request - Variable in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
requestCookies - Variable in class org.pac4j.core.context.MockWebContext
 
RequireAllPermissionsAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests RequireAllPermissionsAuthorizer.
RequireAllPermissionsAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
RequireAllRolesAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests RequireAllRolesAuthorizer.
RequireAllRolesAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
RequireAnyPermissionAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests RequireAnyPermissionAuthorizer.
RequireAnyPermissionAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
RequireAnyRoleAuthorizerTests - Class in org.pac4j.core.authorization.authorizer
Tests RequireAnyRoleAuthorizer.
RequireAnyRoleAuthorizerTests() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
response - Variable in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
responseContent - Variable in class org.pac4j.core.context.MockWebContext
 
responseContentType - Variable in class org.pac4j.core.context.MockWebContext
 
responseCookies - Variable in class org.pac4j.core.context.MockWebContext
 
responseHeaders - Variable in class org.pac4j.core.context.MockWebContext
 
responseStatus - Variable in class org.pac4j.core.context.MockWebContext
 
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.MockIndirectClient
 
retrieveRedirectAction(WebContext) - Method in class org.pac4j.core.client.MockIndirectClient
 
retrieveUserProfile(Credentials, WebContext) - Method in class org.pac4j.core.client.MockDirectClient
 
retrieveUserProfile(Credentials, WebContext) - Method in class org.pac4j.core.client.MockIndirectClient
 
ReturnCredentials - Interface in org.pac4j.core.client
Return a credentials and can throw a HttpAction.
ROLE - Static variable in interface org.pac4j.core.util.TestsConstants
 
run() - Method in class org.pac4j.core.run.RunClient
 
RunClient - Class in org.pac4j.core.run
Run manually a test for a client.
RunClient() - Constructor for class org.pac4j.core.run.RunClient
 

S

SALT - Static variable in interface org.pac4j.core.util.TestsConstants
 
saveOneProfileMulti() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
saveOneProfileNoMulti() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
saveTwoProfilesMulti() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
saveTwoProfilesNoMulti() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
scheme - Variable in class org.pac4j.core.context.MockWebContext
 
SECRET - Static variable in interface org.pac4j.core.util.TestsConstants
 
secure - Variable in class org.pac4j.core.context.MockWebContext
 
serverName - Variable in class org.pac4j.core.context.MockWebContext
 
serverPort - Variable in class org.pac4j.core.context.MockWebContext
 
session - Variable in class org.pac4j.core.context.MockWebContext
 
set(WebContext, String, Object) - Method in class org.pac4j.core.context.session.MockSessionStore
 
setFullRequestURL(String) - Method in class org.pac4j.core.context.MockWebContext
 
setPath(String) - Method in class org.pac4j.core.context.MockWebContext
 
setRemoteAddress(String) - Method in class org.pac4j.core.context.MockWebContext
 
setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.MockWebContext
 
setRequestMethod(String) - Method in class org.pac4j.core.context.MockWebContext
Set the request method for mock purpose.
setResponseContentType(String) - Method in class org.pac4j.core.context.MockWebContext
 
setResponseHeader(String, String) - Method in class org.pac4j.core.context.MockWebContext
 
setResponseStatus(int) - Method in class org.pac4j.core.context.MockWebContext
 
setScheme(String) - Method in class org.pac4j.core.context.MockWebContext
 
setSecure(boolean) - Method in class org.pac4j.core.context.MockWebContext
 
setServerName(String) - Method in class org.pac4j.core.context.MockWebContext
 
setServerPort(int) - Method in class org.pac4j.core.context.MockWebContext
 
setSessionAttribute(String, Object) - Method in class org.pac4j.core.context.MockWebContext
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
setUp() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
setUp() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
setUp() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
setUp() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
setUp() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
setUp() - Method in class org.pac4j.core.profile.AttributesDefinitionTests
 
setUp() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
SpringSecurityPropertiesAuthorizationGeneratorTests - Class in org.pac4j.core.authorization.generator
This class tests SpringSecurityPropertiesAuthorizationGenerator.
SpringSecurityPropertiesAuthorizationGeneratorTests() - Constructor for class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
store - Variable in class org.pac4j.core.context.session.MockSessionStore
 
StringConverterTests - Class in org.pac4j.core.profile.converter
This class tests the StringConverter class.
StringConverterTests() - Constructor for class org.pac4j.core.profile.converter.StringConverterTests
 

T

test() - Method in class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGeneratorTests
 
test() - Method in class org.pac4j.core.credentials.password.NopPasswordEncoderTests
 
testAddAttribute() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testAddAttributes() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testAddAuthorizer() - Method in class org.pac4j.core.config.ConfigTests
 
testAddParameterNullName() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAddParameterNullUrl() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAddParameterNullValue() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAddParameterWithoutParameter() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAddParameterWithParameter() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAjaxRequest() - Method in class org.pac4j.core.client.BaseClientTests
 
testAllClients() - Method in class org.pac4j.core.client.ClientsTests
 
testAlreadyAuthenticatedAndAuthorized() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testAlreadyAuthenticatedNotAuthorized() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testAlreadyTried() - Method in class org.pac4j.core.client.BaseClientTests
 
testAnonProfileTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testAnonymousProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testAnonymousProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
testAnonymousProfileRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
testAnonymousProfileRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizerTests
 
testAnonymousProfileRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizerTests
 
testAreEqualsFails() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAreEqualsIgnoreCaseAndTrimFails() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAreEqualsIgnoreCaseAndTrimOk() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAreEqualsOk() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotBlank_empty() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotBlank_notBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotBlank_null() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotBlankBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotBlankNotBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotNull_notBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotNull_null() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotNullNotNull() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNotNullNull() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNull_notNull() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAssertNull_null() - Method in class org.pac4j.core.util.CommonHelperTests
 
testAuthorizerThrowsRequiresHttpAction() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testBadClientOnRequest() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testBadDate() - Method in class org.pac4j.core.profile.converter.DateConverterTests
 
testBadHeader() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractorTests
 
testBadHttpMethod() - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizerTests
 
testBadLocale() - Method in class org.pac4j.core.profile.converter.LocaleConverterTests
 
testBadPrefix() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractorTests
 
testBadProfileType() - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizerTests
 
testBadRegex() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testBadRegexp() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testBadReplacement() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testBadString() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
testBadString() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testBase64StringSerialization() - Method in class org.pac4j.core.util.JavaSerializationHelperTests
 
testBase64StringSerialization() - Method in class org.pac4j.core.util.KryoSerializationHelperTests
 
testBlankAuthorizerNameAProfile() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testBlankClientName() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testBlankDefaultUrl() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testBlankLogoutUrlPattern() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testBlankPath() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testBlankPermission() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testBlankRole() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testBooleanFalse() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testBooleanTrue() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testBuildProfile() - Method in class org.pac4j.core.profile.ProfileHelperTests
 
testBuildUserProfileByClassCompleteName() - Method in class org.pac4j.core.profile.ProfileHelperTests
 
testByClass1() - Method in class org.pac4j.core.client.ClientsTests
 
testByClass2() - Method in class org.pac4j.core.client.ClientsTests
 
testBytesSerialization() - Method in class org.pac4j.core.util.JavaSerializationHelperTests
 
testBytesSerialization() - Method in class org.pac4j.core.util.KryoSerializationHelperTests
 
testCallback() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testCallbackNoRenew() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testCallbackWithOriginallyRequestedUrl() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testClassPathPrefix() - Method in class org.pac4j.core.util.CommonHelperTests
 
testClientOnRequestAllowed() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testClientOnRequestAllowedList() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testClientOnRequestAllowedListCaseTrim() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testClientOnRequestNotAllowed() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testClientOnRequestNotAllowedList() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testClientWithCallbackUrl() - Method in class org.pac4j.core.client.ClientsTests
 
testClientWithCallbackUrlWithoutIncludingClientName() - Method in class org.pac4j.core.client.ClientsTests
 
testColorToString() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
testCommonProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testCommonProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
testCommonProfileRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testCommonProfileTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
testCommonRmeProfile() - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizerTests
 
testCommonRmeProfile() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizerTests
 
testCompute_whenHostIsNotPresent() - Method in class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
testCompute_whenHostIsPresent() - Method in class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
testCompute_whenRequestIsSecure() - Method in class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
testCompute_whenServerIsNotUsingDefaultHttpPort() - Method in class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
testCompute_whenServerIsNotUsingDefaultHttpsPort() - Method in class org.pac4j.core.http.RelativeCallbackUrlResolverTests
 
testConstructor() - Method in class org.pac4j.core.config.ConfigTests
 
testConverterPrimary() - Method in class org.pac4j.core.profile.AttributesDefinitionTests
 
testConverterSecondary() - Method in class org.pac4j.core.profile.AttributesDefinitionTests
 
testCsrf() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfCheckPost() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfCheckPostTokenParameter() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfPost() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfPostTokenParameter() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfToken() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testCsrfTokenPost() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testDate() - Method in class org.pac4j.core.profile.converter.FormattedDateConverterTests
 
testDefaultSessionStore() - Method in class org.pac4j.core.context.session.J2ESessionStoreTests
 
testDefaultValuesArrays() - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGeneratorTests
 
testDefaultValuesLists() - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGeneratorTests
 
testDirectClient() - Method in class org.pac4j.core.client.BaseClientTests
 
testDirectClient() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testDirectClientThrowsRequiresHttpAction() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDisabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testDontMatch() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testDontMatch() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testDontMatchOneOfThem() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testDoubleCalls() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testDoubleDirectClient() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleDirectClientChooseBadDirectClient() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleDirectClientChooseDirectClient() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleDirectClientSupportingMultiProfile() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleIndirectClientBadOneChosen() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleIndirectClientOneChosen() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testDoubleInit() - Method in class org.pac4j.core.client.ClientsTests
 
testEnabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testEncoding() - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoderTests
 
testFalse() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testFemale() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testFemale() - Method in class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
testFemaleEnum() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testFindByName() - Method in class org.pac4j.core.client.ClientsTests
 
testFindByNameBlankSpaces() - Method in class org.pac4j.core.client.ClientsTests
 
testFindByNameCase() - Method in class org.pac4j.core.client.ClientsTests
 
testForcedAjaxHeader() - Method in class org.pac4j.core.http.DefaultAjaxRequestResolverTests
 
testForcedAjaxParameter() - Method in class org.pac4j.core.http.DefaultAjaxRequestResolverTests
 
testGetAllNoProfile() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetAllNullProfile() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetAllOneProfileFromRequest() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetAllOneProfileFromSession() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetAllTwoProfilesFromSession() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetAllTwoProfilesFromSessionAndRequest() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetNoProfile() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetNullProfile() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetOneProfileFromRequest() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetOneProfileFromSession() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetOneProfilesFromSessionFirstOneAnonymous() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGetOneTwoProfilesFromSession() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testGoodDate() - Method in class org.pac4j.core.profile.converter.DateConverterTests
 
testGoodHttpMethod() - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizerTests
 
testGoodProfile() - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizerTests
 
testGoodString() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
testGoodString() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testHasAllPermissionsEmpty() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsNull() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrder() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrder2() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrder3() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrder4() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrder5() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsOkDifferentOrderTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllPermissionsTwoPermissionsFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizerTests
 
testHasAllRolesEmpty() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesNull() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesOkDifferentOrder() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesOkDifferentOrder2() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesOkDifferentOrder3() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesOkDifferentOrder4() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesOkDifferentOrder5() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesTwoRolesFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAllRolesTwoRolesFailTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizerTests
 
testHasAnyPermissionEmpty() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionNull() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOkTwoPermissions() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermission() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermission2() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermission3() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermission4() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermissionFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionOnePermissionTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyPermissionProfileTwoPermissionsFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizerTests
 
testHasAnyRoleEmpty() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleNull() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOkTwoRoles() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRole() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRole2() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRole3() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRole4() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRoleFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleOneRoleTwoProfiles() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHasAnyRoleProfileTwoRolesFail() - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizerTests
 
testHeaderOk() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testHeaderOkNewName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testHsts() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testHstsCaseTrim() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testHttpPrefix() - Method in class org.pac4j.core.util.CommonHelperTests
 
testHttpsPrefix() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIndirectClientWithImmediate() - Method in class org.pac4j.core.client.BaseClientTests
 
testInit() - Method in class org.pac4j.core.util.InitializableObjectTests
 
testInteger() - Method in class org.pac4j.core.profile.converter.IntegerConverterTests
 
testInteger() - Method in class org.pac4j.core.profile.converter.LongConverterTests
 
testIntegerString() - Method in class org.pac4j.core.profile.converter.IntegerConverterTests
 
testIsAnonymous() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testIsAuthenticated() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testIsAuthenticatedAnonymousProfile() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testIsEmpty() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsFullyAuthenticated() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testIsNotBlankBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsNotBlankEmply() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsNotBlankNotBlank() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsNotBlankNull() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsNotEmpty() - Method in class org.pac4j.core.util.CommonHelperTests
 
testIsRemembered() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testIsTypedIdOf() - Method in class org.pac4j.core.profile.ProfileHelperTests
 
testLanguage() - Method in class org.pac4j.core.profile.converter.LocaleConverterTests
 
testLanguageCountry() - Method in class org.pac4j.core.profile.converter.LocaleConverterTests
 
testListRolesPermissions() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testLogout() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testLogoutSession() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testLogoutWithBadUrlButDefaultUrl() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testLogoutWithBadUrlNoDefaultUrl() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testLogoutWithDefaultUrl() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testLogoutWithGoodUrl() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testLong() - Method in class org.pac4j.core.profile.converter.LongConverterTests
 
testLongString() - Method in class org.pac4j.core.profile.converter.LongConverterTests
 
testMale() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testMale() - Method in class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
testMaleEnum() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testMatch() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testMatch() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testMatchAll() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testMatchCasTrim() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testMissingClient() - Method in class org.pac4j.core.client.ClientsTests
 
testMissingEndCharacterInRegexp() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testMissingStartCharacterInRegexp() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testMockSessionStoreJEContext() - Method in class org.pac4j.core.context.session.J2ESessionStoreTests
 
testMockSessionStoreJERequestContext() - Method in class org.pac4j.core.context.session.J2ESessionStoreTests
 
testNocache() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testNoCache() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testNoCallbackUrl() - Method in class org.pac4j.core.client.ClientsTests
 
testNoClientOnRequest() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoClientOnRequestBadDefaultClient() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoClientOnRequestList() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoClientOnRequestListBlankSpaces() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoClientOnRequestListDifferentCase() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoClientOnRequestListUppercase() - Method in class org.pac4j.core.client.finder.DefaultClientFinderTests
 
testNoConfig() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testNoConverter() - Method in class org.pac4j.core.profile.AttributesDefinitionTests
 
testNoExistingMatcher() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testNoframe() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testNoMatcherName() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testNoMatchers() - Method in class org.pac4j.core.matching.DefaultMatchingCheckerTests
 
testNoPath() - Method in class org.pac4j.core.matching.ExcludedPathMatcherTests
 
testNoPrefix() - Method in class org.pac4j.core.util.CommonHelperTests
 
testNoProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testNoProfile() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizerTests
 
testNoRolePermission() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testNoSalt() - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoderTests
 
testNosniff() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testNotAnAjaxRequest() - Method in class org.pac4j.core.http.DefaultAjaxRequestResolverTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.DateConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.FormattedDateConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.LocaleConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.StringConverterTests
 
testNotAString() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testNotAStringNotABoolean() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testNotAStringNotAnInteger() - Method in class org.pac4j.core.profile.converter.IntegerConverterTests
 
testNotAStringNotAnInteger() - Method in class org.pac4j.core.profile.converter.LongConverterTests
 
testNotAuthenticated() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNotAuthenticatedButMatcher() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNoToken() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testNoTokenCheckAll() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testNoTokenPostRequest() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testNull() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.DateConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.FormattedDateConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.IntegerConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.LocaleConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.LongConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.StringConverterTests
 
testNull() - Method in class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testNullArrays() - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGeneratorTests
 
testNullAuthorizationChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullAuthorizers() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testNullAuthorizersConstructor() - Method in class org.pac4j.core.config.ConfigTests
 
testNullAuthorizersSetter() - Method in class org.pac4j.core.config.ConfigTests
 
testNullClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullClientName() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testNullClients() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullClients() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testNullConfig() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testNullConfig() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullConfig() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testNullContext() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testNullContext() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullContext() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testNullCredentials() - Method in class org.pac4j.core.client.BaseClientTests
 
testNullHttpActionAdapter() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogicTests
 
testNullHttpActionAdapter() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullHttpActionAdapter() - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogicTests
 
testNullId() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testNullLists() - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGeneratorTests
 
testNullMatchingChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testNullPermissions() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testNullProfile() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testNullRoles() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testOldTypeId() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testOneAuthorizerDoesNotExist() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneExistingAuthorizerProfileDoesNotMatch() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneExistingAuthorizerProfileDoesNotMatch2() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneExistingAuthorizerProfileDoesNotMatchCasTrim() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneExistingAuthorizerProfileMatch() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneExistingAuthorizerProfileMatch2() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testOneRole() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testOneRoleDisabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testOneRoleEnabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testOnlyPassword() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testParameterOk() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testParameterOkNewName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizerTests
 
testPermissions() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testRandomString() - Method in class org.pac4j.core.util.CommonHelperTests
 
testRealAjaxRequest() - Method in class org.pac4j.core.http.DefaultAjaxRequestResolverTests
 
testRedirectByIndirectClient() - Method in class org.pac4j.core.engine.DefaultSecurityLogicTests
 
testReinit() - Method in class org.pac4j.core.util.InitializableObjectTests
 
testRemoveRequestFalse() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testRemoveRequestTrue() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testRemoveSessionFalse() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testRemoveSessionTrue() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testResourcePrefix() - Method in class org.pac4j.core.util.CommonHelperTests
 
testRetrieveHeaderOk() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractorTests
 
testReturnNoProfile() - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreatorTests
 
testReturnProfile() - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreatorTests
 
testRme() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testRoleNoPermission() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testRolePermission() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testRolePermissionChangeSplit() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGeneratorTests
 
testRoles() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testSaveAlreadyTried() - Method in class org.pac4j.core.client.BaseClientTests
 
TestsConstants - Interface in org.pac4j.core.util
This class has all the constants for tests.
testSecurityHeaders() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testSetId() - Method in class org.pac4j.core.profile.CommonProfileTests
 
TestsHelper - Class in org.pac4j.core.util
This class is an helper for tests: get a basic web client, parameters from an url, a formatted date, etc.
TestsHelper() - Constructor for class org.pac4j.core.util.TestsHelper
 
testSingleProfileFromRequestDirectly() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testSingleProfileFromSessionDirectly() - Method in class org.pac4j.core.profile.ProfileManagerTests
 
testStateParameter() - Method in class org.pac4j.core.client.BaseClientTests
 
testString() - Method in class org.pac4j.core.profile.converter.StringConverterTests
 
testStringBadLength() - Method in class org.pac4j.core.profile.converter.ColorConverterTests
 
TestStringReplaceConverter - Class in org.pac4j.core.profile.converter
This class tests the StringReplaceConverter class.
TestStringReplaceConverter() - Constructor for class org.pac4j.core.profile.converter.TestStringReplaceConverter
 
testSubstringAfter() - Method in class org.pac4j.core.util.CommonHelperTests
 
testSubstringBetween() - Method in class org.pac4j.core.util.CommonHelperTests
 
testToStringNoParameter() - Method in class org.pac4j.core.util.CommonHelperTests
 
testToStringWithParameter() - Method in class org.pac4j.core.util.CommonHelperTests
 
testToStringWithParameters() - Method in class org.pac4j.core.util.CommonHelperTests
 
testTrue() - Method in class org.pac4j.core.profile.converter.BooleanConverterTests
 
testTwoAnonProfiles() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizerTests
 
testTwoAuthorizerOneDoesNotExist() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testTwoClients() - Method in class org.pac4j.core.client.ClientsTests
 
testTwoExistingAuthorizerProfileDoesNotMatch() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testTwoExistingAuthorizerProfileDoesNotMatch2() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testTwoExistingAuthorizerProfileMatch() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testTwoExistingAuthorizerProfileMatch2() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testTwoRoles() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testTwoRolesDisabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testTwoRolesEnabled() - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGeneratorTests
 
testTypeId() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testUnsafeAddAttribute() - Method in class org.pac4j.core.profile.CommonProfileTests
 
testUnspecified() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testUnspecified() - Method in class org.pac4j.core.profile.converter.GenderIntegerConverterTests
 
testUnspecifiedEnum() - Method in class org.pac4j.core.profile.converter.GenderConverterTests
 
testValidateAndCache() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testValidateAndCacheAndClean() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testValidateAndCacheAndRemove() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testValidateAndCacheSwitchDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testValidateAndExpire() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testValidateAndNoCacheSwitchDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticatorTests
 
testXssprotection() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
testZeroAuthorizers() - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationCheckerTests
 
TOKEN - Static variable in interface org.pac4j.core.util.TestsConstants
 
TYPE - Static variable in interface org.pac4j.core.util.TestsConstants
 

U

URI - Static variable in interface org.pac4j.core.util.TestsConstants
 
USERNAME - Static variable in interface org.pac4j.core.util.TestsConstants
 

V

VALUE - Static variable in interface org.pac4j.core.util.TestsConstants
 
VERIFIER - Static variable in interface org.pac4j.core.util.TestsConstants
 
verifyProfile(CommonProfile) - Method in class org.pac4j.core.run.RunClient
 

W

writeResponseContent(String) - Method in class org.pac4j.core.context.MockWebContext
 
A B C D E F G H I J K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016. All Rights Reserved.