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

A

AbstractCheckAuthenticationAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Check the authentication of the user.
AbstractCheckAuthenticationAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
AbstractCheckAuthenticationAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
AbstractProfileCreator<C extends Credentials,P extends CommonProfile> - Class in org.pac4j.core.profile.creator
Abstract profile creator where you can define the profile created.
AbstractProfileCreator() - Constructor for class org.pac4j.core.profile.creator.AbstractProfileCreator
 
AbstractRequireAllAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require all the elements.
AbstractRequireAllAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
 
AbstractRequireAnyAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require any of the elements.
AbstractRequireAnyAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
 
AbstractRequireElementAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require elements.
AbstractRequireElementAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
AbstractUsernamePasswordAuthenticator - Class in org.pac4j.core.credentials.authenticator
An abstract username / password authenticator having a password encoder.
AbstractUsernamePasswordAuthenticator() - Constructor for class org.pac4j.core.credentials.authenticator.AbstractUsernamePasswordAuthenticator
 
ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_METHODS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_ORIGIN_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_EXPOSE_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_MAX_AGE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AccountNotFoundException - Exception in org.pac4j.core.exception
Exception when an account is not found.
AccountNotFoundException(String) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
 
AccountNotFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
 
adapt(C, Object...) - Method in interface org.pac4j.core.engine.SecurityGrantedAccessAdapter
Adapt the current successful action as the expected result.
adapt(int, C) - Method in interface org.pac4j.core.http.HttpActionAdapter
Adapt the HTTP action.
adapt(int, J2EContext) - Method in class org.pac4j.core.http.J2ENopHttpActionAdapter
 
addAttribute(String, Object) - Method in class org.pac4j.core.profile.UserProfile
Add an attribute and perform conversion if necessary.
addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
Add attributes.
addAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
 
addAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
 
addMatcher(String, Matcher) - Method in class org.pac4j.core.config.Config
 
addParameter(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
Add a new parameter to an url.
addPermission(String) - Method in class org.pac4j.core.profile.UserProfile
Add a permission.
addPermissions(List<String>) - Method in class org.pac4j.core.profile.UserProfile
Add permissions.
addPermissions(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
Add permissions.
addResponseCookie(Cookie) - Method in class org.pac4j.core.context.J2EContext
 
addResponseCookie(Cookie) - Method in interface org.pac4j.core.context.WebContext
Adds cookies to the response
addRole(String) - Method in class org.pac4j.core.profile.UserProfile
Add a role.
addRoles(List<String>) - Method in class org.pac4j.core.profile.UserProfile
Add roles.
addRoles(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
Add roles.
AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
 
AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
 
AjaxRequestResolver - Interface in org.pac4j.core.http
Compute if a HTTP request is an AJAX one.
AnonymousClient - Class in org.pac4j.core.client.direct
Anonymous client.
AnonymousClient() - Constructor for class org.pac4j.core.client.direct.AnonymousClient
 
AnonymousCredentials - Class in org.pac4j.core.credentials
Anonymous credentials.
AnonymousCredentials() - Constructor for class org.pac4j.core.credentials.AnonymousCredentials
 
AnonymousProfile - Class in org.pac4j.core.profile
Anonymous profile.
AnonymousProfile() - Constructor for class org.pac4j.core.profile.AnonymousProfile
 
applicationLogoutLogic - Variable in class org.pac4j.core.config.Config
 
ApplicationLogoutLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
Aplication logout logic.
areEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are equals (both null is ok).
areEqualsIgnoreCaseAndTrim(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are equals ignoring the case and the blank spaces (both null is ok).
areNotEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are not equals.
assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a String is not blank otherwise throw a TechnicalException.
assertNotNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
Verify that an Object is not null otherwise throw a TechnicalException.
assertNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
Verify that an Object is null otherwise throw a TechnicalException.
assertTrue(boolean, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a boolean is true otherwise throw a TechnicalException.
ATTEMPTED_AUTHENTICATION_SUFFIX - Static variable in class org.pac4j.core.client.IndirectClient
 
AttributeConverter<T> - Interface in org.pac4j.core.profile.converter
This interface is the contract for an attribute converter.
AttributesDefinition - Class in org.pac4j.core.profile
This class is the definition of the attributes of a profile.
AttributesDefinition() - Constructor for class org.pac4j.core.profile.AttributesDefinition
 
AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
Authenticator<C extends Credentials> - Interface in org.pac4j.core.credentials.authenticator
An authenticator is responsible for validating Credentials and should throw a CredentialsException if the authentication fails.
AuthenticatorProfileCreator<C extends Credentials,P extends CommonProfile> - Class in org.pac4j.core.profile.creator
This profile creator retrieves the user profile attached in the Credentials.
AuthenticatorProfileCreator() - Constructor for class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
AUTHORIZATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AuthorizationChecker - Interface in org.pac4j.core.authorization.checker
The way to check authorizations.
AuthorizationGenerator<U extends CommonProfile> - Interface in org.pac4j.core.authorization.generator
Generate the authorization roles and permissions for this user profile.
Authorizer<U extends CommonProfile> - Interface in org.pac4j.core.authorization.authorizer
Checks if an access is authorized.
AUTHORIZER_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
authorizers - Variable in class org.pac4j.core.config.Config
 
AUTHORIZERS - Static variable in interface org.pac4j.core.context.Pac4jConstants
 

B

BAD_REQUEST - Static variable in interface org.pac4j.core.context.HttpConstants
 
BadCredentialsException - Exception in org.pac4j.core.exception
Exception for bad credentials.
BadCredentialsException(String) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BaseClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default implementation of an authentication client (whatever the mechanism).
BaseClient() - Constructor for class org.pac4j.core.client.BaseClient
 
BASIC_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
BasicAuthExtractor - Class in org.pac4j.core.credentials.extractor
To extract basic auth header.
BasicAuthExtractor(String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BasicAuthExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BasicSaltedSha512PasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder based on SHA512 and using a salt.
BasicSaltedSha512PasswordEncoder() - Constructor for class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
BasicSaltedSha512PasswordEncoder(String) - Constructor for class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
BOOLEAN - Static variable in class org.pac4j.core.profile.converter.Converters
 
BooleanConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Boolean or returns the Boolean in input.
BooleanConverter() - Constructor for class org.pac4j.core.profile.converter.BooleanConverter
 
build(String) - Static method in class org.pac4j.core.config.ConfigBuilder
 
build() - Method in interface org.pac4j.core.config.ConfigFactory
Build a configuration.
build() - Method in class org.pac4j.core.config.DefaultConfigFactory
 
build(Object, Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
Build a profile from user identifier and attributes.
buildProfile(String, Map<String, Object>) - Static method in class org.pac4j.core.profile.ProfileHelper
Build a profile from a typed id and a map of attributes.
buildUserProfileByClassCompleteName(String) - Static method in class org.pac4j.core.profile.ProfileHelper
Build a profile by its class name.

C

CacheControlHeader - Class in org.pac4j.core.authorization.authorizer
Cache control header.
CacheControlHeader() - Constructor for class org.pac4j.core.authorization.authorizer.CacheControlHeader
 
callbackLogic - Variable in class org.pac4j.core.config.Config
 
CallbackLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
Callback logic to finish the login process for an indirect client.
callbackUrl - Variable in class org.pac4j.core.client.IndirectClient
 
callbackUrlResolver - Variable in class org.pac4j.core.client.IndirectClient
 
CallbackUrlResolver - Interface in org.pac4j.core.http
How to compute the final callback url.
check(WebContext, U, E) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
Check a specific element.
check(WebContext, CommonProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
check(WebContext, U, Class<U>) - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
Checks the HTTP method.
CheckHttpMethodAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(List<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(Set<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckProfileTypeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks the profile type.
CheckProfileTypeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(Class<U>...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(List<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(Set<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CLASSPATH_PREFIX - Static variable in class org.pac4j.core.util.CommonHelper
 
clearCache() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
clearSensitiveData() - Method in class org.pac4j.core.profile.UserProfile
 
Client<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.client
This interface is the core class of the library.
CLIENT_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
ClientFinder - Interface in org.pac4j.core.client.finder
The way to find the client.
Clients - Class in org.pac4j.core.client
This class is made to group multiple clients using a specific parameter to distinguish them, generally on one callback url.
Clients() - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, Client) - Constructor for class org.pac4j.core.client.Clients
 
Clients(List<Client>) - Constructor for class org.pac4j.core.client.Clients
 
Clients(Client...) - Constructor for class org.pac4j.core.client.Clients
 
Clients(Client) - Constructor for class org.pac4j.core.client.Clients
 
clients - Variable in class org.pac4j.core.config.Config
 
CLIENTS - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
code - Variable in exception org.pac4j.core.exception.HttpAction
 
Color - Class in org.pac4j.core.profile
This class is a simple RGB color values holder.
Color(int, int, int) - Constructor for class org.pac4j.core.profile.Color
 
COLOR - Static variable in class org.pac4j.core.profile.converter.Converters
 
ColorConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Color.
ColorConverter() - Constructor for class org.pac4j.core.profile.converter.ColorConverter
 
ColorSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for Color.
ColorSerializer() - Constructor for class org.pac4j.core.kryo.ColorSerializer
 
CommonHelper - Class in org.pac4j.core.util
This class gathers all the utilities methods.
CommonHelper() - Constructor for class org.pac4j.core.util.CommonHelper
 
CommonProfile - Class in org.pac4j.core.profile
This class is the base implementation with the default attribute getters which can be retrieved for most profiles.
CommonProfile() - Constructor for class org.pac4j.core.profile.CommonProfile
 
CommunicationException - Exception in org.pac4j.core.exception
This class represents a communication exception.
CommunicationException(String) - Constructor for exception org.pac4j.core.exception.CommunicationException
 
CommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.CommunicationException
 
compute(String, WebContext) - Method in interface org.pac4j.core.http.CallbackUrlResolver
Compute a new callback url from the defined callback url and the web context.
compute(String, WebContext) - Method in class org.pac4j.core.http.DefaultCallbackUrlResolver
 
compute(String, WebContext) - Method in class org.pac4j.core.http.RelativeCallbackUrlResolver
 
computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
Config - Class in org.pac4j.core.config
The default configuration with clients, authorizers and matchers.
Config() - Constructor for class org.pac4j.core.config.Config
 
Config(Client) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients) - Constructor for class org.pac4j.core.config.Config
 
Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
 
Config(Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, List<Client>) - Constructor for class org.pac4j.core.config.Config
 
Config(Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
config - Variable in class org.pac4j.core.config.DefaultConfigFactory
 
CONFIG_FACTORY - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
ConfigBuilder - Class in org.pac4j.core.config
To build a configuration from a factory.
ConfigBuilder() - Constructor for class org.pac4j.core.config.ConfigBuilder
 
ConfigFactory - Interface in org.pac4j.core.config
A factory to build the configuration.
ConfigSingleton - Class in org.pac4j.core.config
A singleton of the configuration.
ConfigSingleton() - Constructor for class org.pac4j.core.config.ConfigSingleton
 
containsAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Check to see if profile contains attribute name.
CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
context - Variable in class org.pac4j.core.profile.ProfileManager
 
ContextHelper - Class in org.pac4j.core.context
A helper for the web context.
ContextHelper() - Constructor for class org.pac4j.core.context.ContextHelper
 
convert(String, Object) - Method in class org.pac4j.core.profile.AttributesDefinition
Convert an attribute into the right type.
convert(Object) - Method in interface org.pac4j.core.profile.converter.AttributeConverter
Convert an attribute to a specific type T.
convert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.FormattedDateConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.GenderIntegerConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.StringConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.StringReplaceConverter
 
converters - Variable in class org.pac4j.core.profile.AttributesDefinition
 
Converters - Class in org.pac4j.core.profile.converter
This class defines the default converters.
Converters() - Constructor for class org.pac4j.core.profile.converter.Converters
 
Cookie - Class in org.pac4j.core.context
 
Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
 
CorsAuthorizer - Class in org.pac4j.core.authorization.authorizer
Define how the CORS requests are authorized.
CorsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
create(C, WebContext) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
create(C, WebContext) - Method in interface org.pac4j.core.profile.creator.ProfileCreator
Create a profile from a credentials.
CREATED - Static variable in interface org.pac4j.core.context.HttpConstants
 
Credentials - Class in org.pac4j.core.credentials
This class represents the base credentials.
Credentials() - Constructor for class org.pac4j.core.credentials.Credentials
 
CredentialsException - Exception in org.pac4j.core.exception
This class represents an exception occuring during credentials retrieval.
CredentialsException(String) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsExtractor<C extends Credentials> - Interface in org.pac4j.core.credentials.extractor
An extractor gets the Credentials from a WebContext and should return null if no credentials are present or should throw a CredentialsException if it cannot get it.
CSRF_TOKEN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
Authorizer that checks CSRF tokens.
CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfTokenGenerator - Interface in org.pac4j.core.authorization.authorizer.csrf
CSRF token generator.
CsrfTokenGeneratorAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
Authorizer which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 

D

DATE_TZ_GENERAL - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_GENERAL_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_RFC822 - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_RFC822_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
 
DateConverter - Class in org.pac4j.core.profile.converter
This class converts a String (depending on a specified format) into a Date.
DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DEFAULT_CLIENT_NAME_PARAMETER - Static variable in class org.pac4j.core.client.Clients
 
DEFAULT_CONNECT_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_HTTP_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_HTTPS_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DefaultAjaxRequestResolver - Class in org.pac4j.core.http
Default way to compute if a HTTP request is an AJAX one.
DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.DefaultAjaxRequestResolver
 
DefaultApplicationLogoutLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default application logout logic:
DefaultApplicationLogoutLogic() - Constructor for class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
DefaultAuthorizationChecker - Class in org.pac4j.core.authorization.checker
Default way to check the authorizations (with default authorizers).
DefaultAuthorizationChecker() - Constructor for class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
DefaultCallbackLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default callback logic:
DefaultCallbackLogic() - Constructor for class org.pac4j.core.engine.DefaultCallbackLogic
 
DefaultCallbackUrlResolver - Class in org.pac4j.core.http
Default callback url resolver: uses the defined callback url as is.
DefaultCallbackUrlResolver() - Constructor for class org.pac4j.core.http.DefaultCallbackUrlResolver
 
DefaultClientFinder - Class in org.pac4j.core.client.finder
Find the right clients based on regular parameters.
DefaultClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultClientFinder
 
DefaultConfigFactory - Class in org.pac4j.core.config
A default configuration factory.
DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
 
DefaultCsrfTokenGenerator - Class in org.pac4j.core.authorization.authorizer.csrf
Default CSRF token generator.
DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
 
DefaultMatchingChecker - Class in org.pac4j.core.matching
Default way to check the matching.
DefaultMatchingChecker() - Constructor for class org.pac4j.core.matching.DefaultMatchingChecker
 
DefaultRolesPermissionsAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Grant default roles and/or permissions to a user profile.
DefaultRolesPermissionsAuthorizationGenerator(List<String>, List<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultSecurityLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default security logic:
DefaultSecurityLogic() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogic
 
DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
DirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default direct (stateless) implementation of an authentication client (whatever the mechanism).
DirectClient() - Constructor for class org.pac4j.core.client.DirectClient
 
DirectClientV2<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
New direct client type using the CredentialsExtractor, Authenticator and ProfileCreator concepts.
DirectClientV2() - Constructor for class org.pac4j.core.client.DirectClientV2
 
DISABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 

E

ELEMENT_SEPRATOR - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
elements - Variable in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
ENABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
encode(String) - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
encode(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
encode(String) - Method in class org.pac4j.core.credentials.password.NopPasswordEncoder
 
encode(String) - Method in interface org.pac4j.core.credentials.password.PasswordEncoder
Encode a password.
encode(String) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
encode(String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
equals(Object) - Method in class org.pac4j.core.credentials.AnonymousCredentials
 
equals(Object) - Method in class org.pac4j.core.credentials.Credentials
 
equals(Object) - Method in class org.pac4j.core.credentials.TokenCredentials
 
equals(Object) - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
equals(Object) - Method in class org.pac4j.core.profile.FormattedDate
 
ExcludedPathMatcher - Class in org.pac4j.core.matching
To match requests by excluding path.
ExcludedPathMatcher() - Constructor for class org.pac4j.core.matching.ExcludedPathMatcher
 
ExcludedPathMatcher(String) - Constructor for class org.pac4j.core.matching.ExcludedPathMatcher
 
exists() - Method in interface org.pac4j.core.io.Resource
Return whether this resource actually exists in physical form.
exists() - Method in class org.pac4j.core.io.SpringResourceWrapper
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
extract(WebContext) - Method in interface org.pac4j.core.credentials.extractor.CredentialsExtractor
Extract the right credentials.
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
 
extractPrefix(String) - Static method in class org.pac4j.core.util.CommonHelper
Extract the prefix of the name.

F

FILE_PREFIX - Static variable in class org.pac4j.core.util.CommonHelper
 
find(Clients, WebContext, String) - Method in interface org.pac4j.core.client.finder.ClientFinder
 
find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultClientFinder
 
findAllClients() - Method in class org.pac4j.core.client.Clients
Find all the clients.
findClient(WebContext) - Method in class org.pac4j.core.client.Clients
Return the right client according to the web context.
findClient(String) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific name.
findClient(Class<C>) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific class.
flatIntoAProfileList(LinkedHashMap<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the linked hashmap of profiles into a list of profiles.
flatIntoOneProfile(LinkedHashMap<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the linked hashmap of profiles into a single optional profile.
FORBIDDEN - Static variable in interface org.pac4j.core.context.HttpConstants
 
forbidden(C, List<Client>, List<CommonProfile>, String) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return a forbidden error.
forbidden(String, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build a forbidden response.
format - Variable in class org.pac4j.core.profile.converter.DateConverter
 
FormattedDate - Class in org.pac4j.core.profile
This class represents a formatted date.
FormattedDate() - Constructor for class org.pac4j.core.profile.FormattedDate
 
FormattedDate(Date, String, Locale) - Constructor for class org.pac4j.core.profile.FormattedDate
 
FormattedDateConverter - Class in org.pac4j.core.profile.converter
This class converts a String (depending on a specified format) into a FormattedDate.
FormattedDateConverter(String) - Constructor for class org.pac4j.core.profile.converter.FormattedDateConverter
 
FormattedDateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.FormattedDateConverter
 
FormattedDateSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for FormattedDate.
FormattedDateSerializer() - Constructor for class org.pac4j.core.kryo.FormattedDateSerializer
 
FormExtractor - Class in org.pac4j.core.credentials.extractor
To extract a username and password posted from a form.
FormExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.FormExtractor
 
FromAttributesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Generate the authorization information by inspecting attributes.
FromAttributesAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 

G

GENDER - Static variable in class org.pac4j.core.profile.converter.Converters
 
Gender - Enum in org.pac4j.core.profile
This enumeration is the gender of a user : male, female or unspecified.
GenderConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Gender.
GenderConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.GenderConverter
 
GenderIntegerConverter - Class in org.pac4j.core.profile.converter
This class converts an Integer to a Gender.
GenderIntegerConverter(Integer, Integer) - Constructor for class org.pac4j.core.profile.converter.GenderIntegerConverter
 
generate(U) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
Generate the authorization information from and for the user profile.
generate(U) - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
generate(U) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
generate(U) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
get(WebContext) - Method in interface org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGenerator
Get the CSRF token from the session or create it if it doesn't exist.
get(WebContext) - Method in class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
 
get(J2EContext, String) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
get(C, String) - Method in interface org.pac4j.core.context.session.SessionStore
Get the object from its key in store.
get(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the first user profile if it exists, ignoring any AnonymousProfile if possible.
getAjaxRequestResolver() - Method in class org.pac4j.core.client.Clients
 
getAjaxRequestResolver() - Method in class org.pac4j.core.client.IndirectClient
 
getAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve all user profiles.
getAllowCredentials() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowMethods() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowOrigin() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getApplicationLogoutLogic() - Method in class org.pac4j.core.config.Config
 
getAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Return the attribute with name.
getAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.UserProfile
Return the attribute with name.
getAttributes() - Method in class org.pac4j.core.profile.UserProfile
Get attributes as immutable map.
getAttributesDefinition() - Method in class org.pac4j.core.profile.UserProfile
Return the attributes definition for this user profile.
getAuthenticator() - Method in class org.pac4j.core.client.DirectClientV2
 
getAuthenticator() - Method in class org.pac4j.core.client.IndirectClientV2
 
getAuthorizationChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getAuthorizationGenerators() - Method in class org.pac4j.core.client.BaseClient
 
getAuthorizationGenerators() - Method in class org.pac4j.core.client.Clients
 
getAuthorizers() - Method in class org.pac4j.core.config.Config
 
getBlue() - Method in class org.pac4j.core.profile.Color
 
getBody() - Method in exception org.pac4j.core.exception.HttpCommunicationException
 
getCacheSize() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getCallbackLogic() - Method in class org.pac4j.core.config.Config
 
getCallbackUrl() - Method in class org.pac4j.core.client.Clients
 
getCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
 
getCallbackUrlResolver() - Method in class org.pac4j.core.client.Clients
 
getCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
 
getClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getClientName() - Method in class org.pac4j.core.credentials.Credentials
 
getClientName() - Method in class org.pac4j.core.profile.UserProfile
 
getClientNameParameter() - Method in class org.pac4j.core.client.Clients
 
getClients() - Method in class org.pac4j.core.client.Clients
 
getClients() - Method in class org.pac4j.core.config.Config
 
getCode() - Method in exception org.pac4j.core.exception.HttpAction
Return the HTTP code.
getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
 
getComment() - Method in class org.pac4j.core.context.Cookie
 
getConfig() - Static method in class org.pac4j.core.config.ConfigSingleton
 
getContent() - Method in class org.pac4j.core.client.RedirectAction
 
getCookie(Collection<Cookie>, String) - Static method in class org.pac4j.core.context.ContextHelper
Get a specific cookie by its name.
getCookie(WebContext, String) - Static method in class org.pac4j.core.context.ContextHelper
Get a specific cookie by its name.
getCredentials(WebContext) - Method in interface org.pac4j.core.client.Client
Get the credentials from the web context.
getCredentials(WebContext) - Method in class org.pac4j.core.client.DirectClient
 
getCredentials(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Get the credentials from the web context.
getCredentialsExtractor() - Method in class org.pac4j.core.client.DirectClientV2
 
getCredentialsExtractor() - Method in class org.pac4j.core.client.IndirectClientV2
 
getCsrfTokenGenerator() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getDefaultClient() - Method in class org.pac4j.core.client.Clients
 
getDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getDelegate() - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
getDelegate() - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
getDisplayName() - Method in class org.pac4j.core.profile.CommonProfile
Return the displayed name of the user.
getDomain() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getDomain() - Method in class org.pac4j.core.context.Cookie
 
getElements() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
getEmail() - Method in class org.pac4j.core.profile.CommonProfile
Return the email of the user.
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
Return the error message.
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
getExcludePath() - Method in class org.pac4j.core.matching.ExcludedPathMatcher
 
getExpectedValue() - Method in class org.pac4j.core.matching.HeaderMatcher
 
getExposeHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getFamilyName() - Method in class org.pac4j.core.profile.CommonProfile
Return the family name of the user.
getFile() - Method in interface org.pac4j.core.io.Resource
Gets file.
getFile() - Method in class org.pac4j.core.io.SpringResourceWrapper
 
getFilename() - Method in interface org.pac4j.core.io.Resource
Determine a filename for this resource, i.e.
getFilename() - Method in class org.pac4j.core.io.SpringResourceWrapper
 
getFirstName() - Method in class org.pac4j.core.profile.CommonProfile
Return the first name of the user.
getFormat() - Method in class org.pac4j.core.profile.FormattedDate
 
getFullRequestURL() - Method in class org.pac4j.core.context.J2EContext
 
getFullRequestURL() - Method in interface org.pac4j.core.context.WebContext
Return the full URL (with query string) the client used to request the server.
getGender() - Method in class org.pac4j.core.profile.CommonProfile
Return the gender of the user.
getGreen() - Method in class org.pac4j.core.profile.Color
 
getHeaderName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
getHeaderName() - Method in class org.pac4j.core.matching.HeaderMatcher
 
getHttpActionAdapter() - Method in class org.pac4j.core.config.Config
 
getHttpOnly() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier.
getInputStream() - Method in interface org.pac4j.core.io.Resource
Return an InputStream.
getInputStream() - Method in class org.pac4j.core.io.SpringResourceWrapper
 
getInputStreamFromName(String) - Static method in class org.pac4j.core.util.CommonHelper
Returns an InputStream from given name depending on its format: - loads from the classloader of this class if name starts with "resource:" (add a slash a the beginning if absent) - loads from the classloader of the current thread if name starts with "classpath:" - loads from the given url if name starts with "http:" or "https:" - loads as FileInputStream otherwise
getLocale() - Method in class org.pac4j.core.profile.CommonProfile
Return the locale of the user.
getLocale() - Method in class org.pac4j.core.profile.FormattedDate
 
getLocation() - Method in class org.pac4j.core.client.RedirectAction
 
getLocation() - Method in class org.pac4j.core.profile.CommonProfile
Return the location of the user.
getMatchers() - Method in class org.pac4j.core.config.Config
 
getMatchingChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getMaxAge() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getMaxAge() - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
getMaxAge() - Method in class org.pac4j.core.context.Cookie
 
getMethods() - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
getName() - Method in class org.pac4j.core.client.BaseClient
 
getName() - Method in interface org.pac4j.core.client.Client
Get the name of the client.
getName() - Method in class org.pac4j.core.context.Cookie
 
getOldTypedId() - Method in class org.pac4j.core.profile.UserProfile
Deprecated. 
getOrCreateSessionId(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
getOrCreateSessionId(C) - Method in interface org.pac4j.core.context.session.SessionStore
Get or create the session identifier and initialize the session with it if necessary.
getOutputStream() - Method in class org.pac4j.core.io.SpringWritableResourceWrapper
 
getOutputStream() - Method in interface org.pac4j.core.io.WritableResource
Return an OutputStream for the underlying resource, allowing to (over-)write its content.
getParameterName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
getPassword() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
getPasswordEncoder() - Method in class org.pac4j.core.credentials.authenticator.AbstractUsernamePasswordAuthenticator
 
getPasswordParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
getPath() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getPath() - Method in class org.pac4j.core.context.Cookie
 
getPath() - Method in class org.pac4j.core.context.J2EContext
This is not implemented using HttpServletRequest.getServletPath() or HttpServletRequest.getPathInfo() because they both have strange behaviours in different contexts (inside servlets, inside filters, various container implementation, etc)
getPath() - Method in interface org.pac4j.core.context.WebContext
Get the "servlet path" (in a J2E style).
getPermissions() - Method in class org.pac4j.core.profile.UserProfile
Get the permissions of the user.
getPictureUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the picture of the user.
getPrimaryAttributes() - Method in class org.pac4j.core.profile.AttributesDefinition
Return the primary attributes names.
getProfileCreator() - Method in class org.pac4j.core.client.DirectClientV2
 
getProfileCreator() - Method in class org.pac4j.core.client.IndirectClientV2
 
getProfileFactory() - Method in class org.pac4j.core.profile.creator.AbstractProfileCreator
 
getProfileManager(C) - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
Given a webcontext generate a profileManager for it.
getProfileManager(C) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
Given a webcontext generate a profileManager for it.
getProfileManager(C) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Given a webcontext generate a profileManager for it.
getProfileManagerFactory() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
getProfileManagerFactory() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
getProfileManagerFactory() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getProfileUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the profile of the user.
getRed() - Method in class org.pac4j.core.profile.Color
 
getRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Get the redirectAction computed for this client.
getRedirectActionBuilder() - Method in class org.pac4j.core.client.IndirectClientV2
 
getRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
getRemoteAddr() - Method in class org.pac4j.core.context.J2EContext
 
getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
Return the remote address.
getRequest() - Method in class org.pac4j.core.context.J2EContext
Return the HTTP request.
getRequestAttribute(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Return a request attribute.
getRequestContent() - Method in class org.pac4j.core.context.J2EContext
 
getRequestContent() - Method in interface org.pac4j.core.context.WebContext
Gets content body of the original request.
getRequestCookies() - Method in class org.pac4j.core.context.J2EContext
 
getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
Retrieves request cookies.
getRequestHeader(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
Return a request header.
getRequestMethod() - Method in class org.pac4j.core.context.J2EContext
 
getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
Return the request method.
getRequestParameter(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
Return a request parameter.
getRequestParameters() - Method in class org.pac4j.core.context.J2EContext
 
getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
Return all request parameters.
getResource(String) - Static method in class org.pac4j.core.util.CommonHelper
 
getResponse() - Method in class org.pac4j.core.context.J2EContext
Return the HTTP response.
getRoles() - Method in class org.pac4j.core.profile.UserProfile
Get the roles of the user.
getSalt() - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
getSalt() - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
getScheme() - Method in class org.pac4j.core.context.J2EContext
 
getScheme() - Method in interface org.pac4j.core.context.WebContext
Return the scheme.
getSecondaryAttributes() - Method in class org.pac4j.core.profile.AttributesDefinition
Return the secondary attributes names.
getSecure() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getSecurityLogic() - Method in class org.pac4j.core.config.Config
 
getServerName() - Method in class org.pac4j.core.context.J2EContext
 
getServerName() - Method in interface org.pac4j.core.context.WebContext
Return the server name.
getServerPort() - Method in class org.pac4j.core.context.J2EContext
 
getServerPort() - Method in interface org.pac4j.core.context.WebContext
Return the server port.
getSessionAttribute(String) - Method in class org.pac4j.core.context.J2EContext
 
getSessionAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Get an attribute from session.
getSessionIdentifier() - Method in class org.pac4j.core.context.J2EContext
 
getSessionIdentifier() - Method in interface org.pac4j.core.context.WebContext
Gets the session id for this context.
getSessionStore() - Method in class org.pac4j.core.config.Config
 
getSessionStore() - Method in class org.pac4j.core.context.J2EContext
 
getSplitChar() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
getStateParameter(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Return the state parameter required by some security protocols like SAML or OAuth.
getTimeout() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getTimeUnit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getToken() - Method in class org.pac4j.core.credentials.TokenCredentials
 
getTrustedPackages() - Method in class org.pac4j.core.util.JavaSerializationHelper
 
getType() - Method in class org.pac4j.core.client.RedirectAction
 
getTypedId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier with a prefix which is the profile type (full class name with package).
getUsername() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
getUsername() - Method in class org.pac4j.core.profile.CommonProfile
Return the username of the user.
getUsernameParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
getUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
 
getUserProfile(C, WebContext) - Method in interface org.pac4j.core.client.Client
Get the user profile based on the provided credentials.
getUserProfile() - Method in class org.pac4j.core.credentials.Credentials
 
getValue() - Method in class org.pac4j.core.context.Cookie
 
getVersion() - Method in class org.pac4j.core.context.Cookie
 

H

handleError(WebContext) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
handleError(WebContext) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
Handle the error.
hashCode() - Method in class org.pac4j.core.credentials.AnonymousCredentials
 
hashCode() - Method in class org.pac4j.core.credentials.Credentials
 
hashCode() - Method in class org.pac4j.core.credentials.TokenCredentials
 
hashCode() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
hashCode() - Method in class org.pac4j.core.profile.FormattedDate
 
HeaderExtractor - Class in org.pac4j.core.credentials.extractor
To extract header value.
HeaderExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
 
HeaderMatcher - Class in org.pac4j.core.matching
Matching on a HTTP header.
HeaderMatcher() - Constructor for class org.pac4j.core.matching.HeaderMatcher
 
HeaderMatcher(String, String) - Constructor for class org.pac4j.core.matching.HeaderMatcher
 
HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
 
HttpAction - Exception in org.pac4j.core.exception
This exception is thrown when an additional HTTP action (redirect, basic auth...) is required.
HttpAction(String, int) - Constructor for exception org.pac4j.core.exception.HttpAction
 
httpActionAdapter - Variable in class org.pac4j.core.config.Config
 
HttpActionAdapter<R,C extends WebContext> - Interface in org.pac4j.core.http
HTTP action adapter.
HttpCommunicationException - Exception in org.pac4j.core.exception
This class represents an exception which can happen during HTTP communication (with status code and message body).
HttpCommunicationException(int, String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpConstants - Interface in org.pac4j.core.context
Some HTTP constants.
HttpConstants.HTTP_METHOD - Enum in org.pac4j.core.context
 
HttpMethodMatcher - Class in org.pac4j.core.matching
Matching on HTTP methods.
HttpMethodMatcher() - Constructor for class org.pac4j.core.matching.HttpMethodMatcher
 
HttpMethodMatcher(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.matching.HttpMethodMatcher
 

I

IndirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default indirect (with redirection, stateful) implementation of an authentication client (whatever the mechanism).
IndirectClient() - Constructor for class org.pac4j.core.client.IndirectClient
 
IndirectClientV2<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
New indirect client type using the RedirectActionBuilder, CredentialsExtractor, Authenticator and ProfileCreator concepts.
IndirectClientV2() - Constructor for class org.pac4j.core.client.IndirectClientV2
 
init() - Method in class org.pac4j.core.util.InitializableObject
Initialize the object.
init(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
Initialize the object.
InitializableObject - Class in org.pac4j.core.util
Object that can be (re-)initialized.
InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
 
InitializableWebObject - Class in org.pac4j.core.util
Object that can be (re-)initialized, taking the web context into account.
InitializableWebObject() - Constructor for class org.pac4j.core.util.InitializableWebObject
 
INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
 
INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
 
INSTANCE - Static variable in class org.pac4j.core.http.J2ENopHttpActionAdapter
 
INSTANCE - Static variable in class org.pac4j.core.profile.AnonymousProfile
 
INSTANCE - Static variable in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
INTEGER - Static variable in class org.pac4j.core.profile.converter.Converters
 
IntegerConverter - Class in org.pac4j.core.profile.converter
This class converts a String into an Integer or returns the Integer in input.
IntegerConverter() - Constructor for class org.pac4j.core.profile.converter.IntegerConverter
 
internalInit() - Method in class org.pac4j.core.client.Clients
Initialize all clients by computing callback urls if necessary.
internalInit(WebContext) - Method in class org.pac4j.core.client.direct.AnonymousClient
 
internalInit(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
internalInit(WebContext) - Method in class org.pac4j.core.credentials.authenticator.AbstractUsernamePasswordAuthenticator
 
internalInit(WebContext) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
internalInit(WebContext) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
internalInit() - Method in class org.pac4j.core.util.InitializableObject
Internal initialization of the object.
internalInit(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
Internal initialization of the object.
INVALID_PATH_MESSAGE - Static variable in class org.pac4j.core.util.CommonHelper
 
invalidateSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
invalidateSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Invalidate the whole session.
invalidationSession() - Method in class org.pac4j.core.context.J2EContext
 
invalidationSession() - Method in interface org.pac4j.core.context.WebContext
Invalidate the whole session.
IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
isAjax(WebContext) - Method in interface org.pac4j.core.http.AjaxRequestResolver
Whether it is an AJAX request.
isAjax(WebContext) - Method in class org.pac4j.core.http.DefaultAjaxRequestResolver
 
isAllAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
If all profiles are authorized.
IsAnonymousAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be anonymous.
IsAnonymousAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
IsAnonymousAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isAnyAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
If any of the profiles is authorized.
isAuthenticated() - Method in class org.pac4j.core.profile.ProfileManager
Tests if the current user is authenticated (meaning a user profile exists which is not an AnonymousProfile).
IsAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be authenticated.
IsAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
IsAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in interface org.pac4j.core.authorization.authorizer.Authorizer
Checks if the user profiles and / or the current web context are authorized.
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CacheControlHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XContentTypeOptionsHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XFrameOptionsHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XSSProtectionHeader
 
isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in interface org.pac4j.core.authorization.checker.AuthorizationChecker
Check whether the user is authorized.
isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isAuthorized(WebContext, List<CommonProfile>, List<Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
Return if the String is blank.
isCached(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
isEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
Return if a collection is empty.
IsFullyAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be fully authenticated (not remembered).
IsFullyAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
IsFullyAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isGet(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a GET request.
isHttp(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTP.
isHttpOnly() - Method in class org.pac4j.core.context.Cookie
 
isHttps(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTPS.
isHttpsOrSecure(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTPS or secure.
isIncludeClientNameInCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
 
isKillSession() - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
isNotBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
Return if the String is not blank.
isNotEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
Return if a collection is not empty.
isOnlyCheckPostRequest() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
isPost(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a POST request.
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
Whether a specific profile is authorized.
isRemembered() - Method in class org.pac4j.core.profile.UserProfile
Is the user remembered?
IsRememberedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be authenticated and remembered.
IsRememberedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
IsRememberedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isSaveProfileInSession() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
isSecure() - Method in class org.pac4j.core.context.Cookie
 
isSecure() - Method in class org.pac4j.core.context.J2EContext
 
isSecure() - Method in interface org.pac4j.core.context.WebContext
Return whether the request is secure.
isTypedIdOf(String, Class<? extends CommonProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
Indicate if the user identifier matches this kind of profile.

J

J2EContext - Class in org.pac4j.core.context
This implementation uses the J2E request, response and session.
J2EContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.pac4j.core.context.J2EContext
Build a J2E context from the current HTTP request and response.
J2EContext(HttpServletRequest, HttpServletResponse, SessionStore<J2EContext>) - Constructor for class org.pac4j.core.context.J2EContext
Build a J2E context from the current HTTP request and response.
J2ENopHttpActionAdapter - Class in org.pac4j.core.http
No-operation HTTP action adapter for the J2EContext.
J2ENopHttpActionAdapter() - Constructor for class org.pac4j.core.http.J2ENopHttpActionAdapter
 
J2ERenewSessionCallbackLogic<C extends J2EContext> - Class in org.pac4j.core.engine
Callback logic with web session renewal for J2E context.
J2ERenewSessionCallbackLogic() - Constructor for class org.pac4j.core.engine.J2ERenewSessionCallbackLogic
 
J2ESessionStore - Class in org.pac4j.core.context.session
Store data in the J2E session.
J2ESessionStore() - Constructor for class org.pac4j.core.context.session.J2ESessionStore
 
JavaSerializationHelper - Class in org.pac4j.core.util
Helper for Java serialization.
JavaSerializationHelper() - Constructor for class org.pac4j.core.util.JavaSerializationHelper
 
JBCryptPasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder for bcrypt and using a salt.
JBCryptPasswordEncoder(String) - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
JBCryptPasswordEncoder() - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
Use the default salt generated by BCrypt.gensalt().

K

KryoSerializationHelper - Class in org.pac4j.core.util
Helper for Kryo serialization.
KryoSerializationHelper() - Constructor for class org.pac4j.core.util.KryoSerializationHelper
 
KryoSerializationHelper(Kryo) - Constructor for class org.pac4j.core.util.KryoSerializationHelper
 

L

loadProfilesFromSession(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Load the profiles from the web context if no clients are defined or if the first client is an indirect one or the AnonymousClient.
LocalCachingAuthenticator<T extends Credentials> - Class in org.pac4j.core.credentials.authenticator
An authenticator that caches the result of an authentication event locally.
LocalCachingAuthenticator() - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
LocalCachingAuthenticator(Authenticator<T>, long, long, TimeUnit) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
LOCALE - Static variable in class org.pac4j.core.profile.converter.Converters
 
locale - Variable in class org.pac4j.core.profile.converter.DateConverter
 
LocaleConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Locale.
LocaleConverter() - Constructor for class org.pac4j.core.profile.converter.LocaleConverter
 
LocaleSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for Locale.
LocaleSerializer() - Constructor for class org.pac4j.core.kryo.LocaleSerializer
 
LOCATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
logger - Variable in class org.pac4j.core.client.BaseClient
 
logger - Variable in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
logger - Variable in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
logger - Variable in class org.pac4j.core.engine.DefaultCallbackLogic
 
logger - Variable in class org.pac4j.core.engine.DefaultSecurityLogic
 
logger - Static variable in class org.pac4j.core.profile.converter.DateConverter
 
logger - Variable in class org.pac4j.core.profile.UserProfile
 
logout() - Method in class org.pac4j.core.profile.ProfileManager
Perform a logout by removing the current user profile(s) from the session as well.
LOGOUT_URL_PATTERN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
LONG - Static variable in class org.pac4j.core.profile.converter.Converters
 
LongConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Long or returns the Long (or Integer) in input.
LongConverter() - Constructor for class org.pac4j.core.profile.converter.LongConverter
 

M

Matcher - Interface in org.pac4j.core.matching
To match requests.
MATCHER_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
matchers - Variable in class org.pac4j.core.config.Config
 
MATCHERS - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
matches(String, String) - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
matches(String, String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
matches(String, String) - Method in class org.pac4j.core.credentials.password.NopPasswordEncoder
 
matches(String, String) - Method in interface org.pac4j.core.credentials.password.PasswordEncoder
Validate if a plainPassword matches
matches(String, String) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
matches(String, String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
matches(WebContext, String, Map<String, Matcher>) - Method in class org.pac4j.core.matching.DefaultMatchingChecker
 
matches(WebContext) - Method in class org.pac4j.core.matching.ExcludedPathMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.HeaderMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
matches(WebContext) - Method in interface org.pac4j.core.matching.Matcher
Check if the web context matches.
matches(WebContext, String, Map<String, Matcher>) - Method in interface org.pac4j.core.matching.MatchingChecker
Check if the web context matches.
MatchingChecker - Interface in org.pac4j.core.matching
The way to check requests matching.
MULTI_PROFILE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
MultipleAccountsFoundException - Exception in org.pac4j.core.exception
Exception when multiple accounts are found.
MultipleAccountsFoundException(String) - Constructor for exception org.pac4j.core.exception.MultipleAccountsFoundException
 
MultipleAccountsFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.MultipleAccountsFoundException
 

N

newDate(Date) - Static method in class org.pac4j.core.util.CommonHelper
Copy a date.
NopPasswordEncoder - Class in org.pac4j.core.credentials.password
A no-operation password encoder.
NopPasswordEncoder() - Constructor for class org.pac4j.core.credentials.password.NopPasswordEncoder
 

O

OK - Static variable in interface org.pac4j.core.context.HttpConstants
 
ok(String, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build an HTTP Ok.
ok(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build an HTTP Ok.
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.direct - package org.pac4j.core.client.direct
 
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.exception - package org.pac4j.core.exception
 
org.pac4j.core.http - package org.pac4j.core.http
 
org.pac4j.core.io - package org.pac4j.core.io
 
org.pac4j.core.kryo - package org.pac4j.core.kryo
 
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.redirect - package org.pac4j.core.redirect
 
org.pac4j.core.util - package org.pac4j.core.util
 

P

Pac4jConstants - Interface in org.pac4j.core.context
Common constants.
ParameterExtractor - Class in org.pac4j.core.credentials.extractor
To extract a parameter value.
ParameterExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
ParameterExtractor(String, boolean, boolean, String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
PASSWORD - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
PasswordEncoder - Interface in org.pac4j.core.credentials.password
Encode a password.
pattern - Variable in class org.pac4j.core.matching.HeaderMatcher
 
perform(C, Config, HttpActionAdapter<R, C>, String, String) - Method in interface org.pac4j.core.engine.ApplicationLogoutLogic
Perform the application logout logic.
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean) - Method in interface org.pac4j.core.engine.CallbackLogic
Perform the callback logic.
perform(C, Config, HttpActionAdapter<R, C>, String, String) - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
perform(C, Config, SecurityGrantedAccessAdapter<R, C>, HttpActionAdapter<R, C>, String, String, String, Boolean, Object...) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
perform(C, Config, SecurityGrantedAccessAdapter<R, C>, HttpActionAdapter<R, C>, String, String, String, Boolean, Object...) - Method in interface org.pac4j.core.engine.SecurityLogic
Perform the security logic.
postLogout(C) - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
Specific post logout action.
primaries - Variable in class org.pac4j.core.profile.AttributesDefinition
 
primary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.AttributesDefinition
Add an attribute as a primary one and its converter.
ProfileAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Authorizer which is valid if one of the profiles is authorized or all the profiles are authorized.
ProfileAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
 
ProfileCreator<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.profile.creator
This interface is responsible to create a CommonProfile from a Credentials.
ProfileHelper - Class in org.pac4j.core.profile
This class is an helper for profiles.
ProfileHelper() - Constructor for class org.pac4j.core.profile.ProfileHelper
 
ProfileManager<U extends CommonProfile> - Class in org.pac4j.core.profile
This class is a generic way to manage the current user profile(s), i.e.
ProfileManager(WebContext) - Constructor for class org.pac4j.core.profile.ProfileManager
 

R

randomString(int) - Static method in class org.pac4j.core.util.CommonHelper
Return a random string of a certain size.
read(Kryo, Input, Class<Color>) - Method in class org.pac4j.core.kryo.ColorSerializer
 
read(Kryo, Input, Class<FormattedDate>) - Method in class org.pac4j.core.kryo.FormattedDateSerializer
 
read(Kryo, Input, Class<Locale>) - Method in class org.pac4j.core.kryo.LocaleSerializer
 
readExternal(ObjectInput) - Method in class org.pac4j.core.profile.UserProfile
 
redirect(WebContext) - Method in interface org.pac4j.core.client.Client
Redirect to the authentication provider for an indirect client.
redirect(WebContext) - Method in class org.pac4j.core.client.DirectClient
 
redirect(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
redirect(String) - Static method in class org.pac4j.core.client.RedirectAction
 
redirect(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a redirection.
redirect(WebContext) - Method in interface org.pac4j.core.redirect.RedirectActionBuilder
Return a redirect action for the web context.
RedirectAction - Class in org.pac4j.core.client
Indicates the action when the Client requires a redirection to achieve user authentication.
RedirectAction.RedirectType - Enum in org.pac4j.core.client
 
RedirectActionBuilder - Interface in org.pac4j.core.redirect
Return a redirection to perfom.
redirectToIdentityProvider(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Perform a redirection to start the login process of the first indirect client.
redirectToOriginallyRequestedUrl(C, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
reinit() - Method in class org.pac4j.core.util.InitializableObject
Force (again) the initialization of the object.
reinit(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
Force (again) the initialization of the object.
RelativeCallbackUrlResolver - Class in org.pac4j.core.http
The new callback url is computed from a relative callback url and the current server configuration.
RelativeCallbackUrlResolver() - Constructor for class org.pac4j.core.http.RelativeCallbackUrlResolver
 
remove(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Remove the current user profile(s).
removeAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Remove an attribute byt its key.
removeFromCache(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
RENEW_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
Whether the session must be renewed after login.
renewSession(C) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
renewSession(J2EContext) - Method in class org.pac4j.core.engine.J2ERenewSessionCallbackLogic
 
REQUESTED_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
RequireAllPermissionsAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has all the permissions.
RequireAllPermissionsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllRolesAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has all the roles.
RequireAllRolesAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAnyAttributeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
This is RequireAnyAttributeAuthorizer which checks profile attributes for the specified element, and optionally may pattern-check the configured value.
RequireAnyAttributeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
RequireAnyAttributeAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
RequireAnyPermissionAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has any of the permissions.
RequireAnyPermissionAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyRoleAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has any of the roles.
RequireAnyRoleAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
Resource - Interface in org.pac4j.core.io
Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
RESOURCE_PREFIX - Static variable in class org.pac4j.core.util.CommonHelper
 
retrieveAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the map of profiles from the session or the request.
retrieveClientName(U) - Method in class org.pac4j.core.profile.ProfileManager
 
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.BaseClient
Retrieve the credentials.
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.direct.AnonymousClient
 
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.DirectClientV2
 
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.IndirectClientV2
 
retrieveRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Retrieve the redirect action.
retrieveRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClientV2
 
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
Retrieve a user userprofile.
retrieveUserProfile(AnonymousCredentials, WebContext) - Method in class org.pac4j.core.client.direct.AnonymousClient
 
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.DirectClientV2
 
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.IndirectClientV2
 

S

salt - Variable in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
save(boolean, U, boolean) - Method in class org.pac4j.core.profile.ProfileManager
Save the given user profile (replace the current one if multi profiles are not supported, add it otherwise).
saveProfileInSession(C, List<Client>, DirectClient, CommonProfile) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Whether we need to save the profile in session after the authentication of direct client(s).
saveRequestedUrl(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Save the requested url.
saveUserProfile(C, CommonProfile, boolean, boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
SCHEME_HTTP - Static variable in interface org.pac4j.core.context.HttpConstants
 
SCHEME_HTTPS - Static variable in interface org.pac4j.core.context.HttpConstants
 
secondaries - Variable in class org.pac4j.core.profile.AttributesDefinition
 
secondary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.AttributesDefinition
Add an attribute as a secondary one and its converter.
SecurityGrantedAccessAdapter<R,C extends WebContext> - Interface in org.pac4j.core.engine
Success adapter.
securityLogic - Variable in class org.pac4j.core.config.Config
 
SecurityLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
Security logic to protect an url.
SEPARATOR - Static variable in class org.pac4j.core.profile.UserProfile
 
serializeToBase64(Serializable) - Method in class org.pac4j.core.util.JavaSerializationHelper
Serialize a Java object into a base64 String.
serializeToBase64(Serializable) - Method in class org.pac4j.core.util.KryoSerializationHelper
Serialize a Java object into a base64 String.
serializeToBytes(Serializable) - Method in class org.pac4j.core.util.JavaSerializationHelper
Serialize a Java object into a bytes array.
serializeToBytes(Serializable) - Method in class org.pac4j.core.util.KryoSerializationHelper
Serialize a Java object into a bytes array.
SESSION_ID - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
sessionStore - Variable in class org.pac4j.core.config.Config
 
SessionStore<C extends WebContext> - Interface in org.pac4j.core.context.session
To store data in session.
set(J2EContext, String, Object) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
set(C, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
Save an object in the store by its key.
setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.Clients
 
setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.IndirectClient
 
setAllowCredentials(Boolean) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowOrigin(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setApplicationLogoutLogic(ApplicationLogoutLogic) - Method in class org.pac4j.core.config.Config
 
setAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.DirectClientV2
 
setAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.IndirectClientV2
 
setAuthorizationChecker(AuthorizationChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
Add an authorization generator.
setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
 
setAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizationGenerators(AuthorizationGenerator<U>...) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.Clients
 
setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.Clients
 
setAuthorizer(Authorizer) - Method in class org.pac4j.core.config.Config
 
setAuthorizers(Map<String, Authorizer>) - Method in class org.pac4j.core.config.Config
 
setCacheSize(long) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setCallbackLogic(CallbackLogic) - Method in class org.pac4j.core.config.Config
 
setCallbackUrl(String) - Method in class org.pac4j.core.client.Clients
 
setCallbackUrl(String) - Method in class org.pac4j.core.client.IndirectClient
 
setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.Clients
 
setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.IndirectClient
 
setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setClientName(String) - Method in class org.pac4j.core.credentials.Credentials
 
setClientName(String) - Method in class org.pac4j.core.profile.UserProfile
 
setClientNameParameter(String) - Method in class org.pac4j.core.client.Clients
 
setClients(List<Client>) - Method in class org.pac4j.core.client.Clients
 
setClients(Client...) - Method in class org.pac4j.core.client.Clients
 
setClients(Clients) - Method in class org.pac4j.core.config.Config
 
setComment(String) - Method in class org.pac4j.core.context.Cookie
 
setConfig(Config) - Static method in class org.pac4j.core.config.ConfigSingleton
 
setCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.DirectClientV2
 
setCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.IndirectClientV2
 
setCsrfTokenGenerator(CsrfTokenGenerator) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setDefaultClient(Client) - Method in class org.pac4j.core.client.Clients
 
setDelegate(Authenticator<T>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
setDomain(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setDomain(String) - Method in class org.pac4j.core.context.Cookie
 
setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setExcludePath(String) - Method in class org.pac4j.core.matching.ExcludedPathMatcher
 
setExpectedValue(String) - Method in class org.pac4j.core.matching.HeaderMatcher
 
setExposeHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setFormat(String) - Method in class org.pac4j.core.profile.FormattedDate
 
setHeaderName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
setHeaderName(String) - Method in class org.pac4j.core.matching.HeaderMatcher
 
setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
 
setHttpOnly(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
 
setId(Object) - Method in class org.pac4j.core.profile.UserProfile
Set the identifier and convert it if necessary.
setIncludeClientNameInCallbackUrl(boolean) - Method in class org.pac4j.core.client.IndirectClient
 
setKillSession(boolean) - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
setLocale(Locale) - Method in class org.pac4j.core.profile.FormattedDate
 
setMatcher(Matcher) - Method in class org.pac4j.core.config.Config
 
setMatchers(Map<String, Matcher>) - Method in class org.pac4j.core.config.Config
 
setMatchingChecker(MatchingChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setMaxAge(int) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setMaxAge(int) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
 
setMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
setName(String) - Method in class org.pac4j.core.client.BaseClient
 
setName(String) - Method in class org.pac4j.core.context.Cookie
 
setOnlyCheckPostRequest(boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
setParameterName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
setPasswordEncoder(PasswordEncoder) - Method in class org.pac4j.core.credentials.authenticator.AbstractUsernamePasswordAuthenticator
 
setPath(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setPath(String) - Method in class org.pac4j.core.context.Cookie
 
setProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.DirectClientV2
 
setProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.IndirectClientV2
 
setProfileFactory(Supplier<P>) - Method in class org.pac4j.core.profile.creator.AbstractProfileCreator
 
setProfileManagerFactory(Function<C, ProfileManager>) - Method in class org.pac4j.core.engine.DefaultApplicationLogoutLogic
 
setProfileManagerFactory(Function<C, ProfileManager>) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
setProfileManagerFactory(Function<C, ProfileManager>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setRedirectActionBuilder(RedirectActionBuilder) - Method in class org.pac4j.core.client.IndirectClientV2
 
setRedirectionUrl(String) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
setRemembered(boolean) - Method in class org.pac4j.core.profile.UserProfile
Define if this profile is remembered.
setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.J2EContext
 
setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save a request attribute.
setResponseContentType(String) - Method in class org.pac4j.core.context.J2EContext
 
setResponseContentType(String) - Method in interface org.pac4j.core.context.WebContext
Sets the response content type.
setResponseHeader(String, String) - Method in class org.pac4j.core.context.J2EContext
 
setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
Add a header to the response.
setResponseStatus(int) - Method in class org.pac4j.core.context.J2EContext
 
setResponseStatus(int) - Method in interface org.pac4j.core.context.WebContext
Set the response status.
setSalt(String) - Method in class org.pac4j.core.credentials.password.BasicSaltedSha512PasswordEncoder
 
setSalt(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
setSaveProfileInSession(boolean) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setSecure(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
 
setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
 
setSessionAttribute(String, Object) - Method in class org.pac4j.core.context.J2EContext
 
setSessionAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save an attribute in session.
setSessionStore(SessionStore) - Method in class org.pac4j.core.config.Config
 
setSplitChar(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
setTimeout(long) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setTimeUnit(TimeUnit) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setTrustedPackages(List<String>) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
setUserProfile(CommonProfile) - Method in class org.pac4j.core.credentials.Credentials
 
setValue(String) - Method in class org.pac4j.core.context.Cookie
 
setVersion(int) - Method in class org.pac4j.core.context.Cookie
 
ShiroPasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder based on PasswordService from Apache Shiro Add the shiro-core dependency to use this class.
ShiroPasswordEncoder(PasswordService) - Constructor for class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
springResource - Variable in class org.pac4j.core.io.SpringResourceWrapper
 
SpringResourceWrapper - Class in org.pac4j.core.io
A wrapper that adapts a spring Resource to a pac4j Resource.
SpringResourceWrapper(Resource) - Constructor for class org.pac4j.core.io.SpringResourceWrapper
 
SpringSecurityPasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder based on PasswordEncoder from the Spring Security Crypto package.
SpringSecurityPasswordEncoder(PasswordEncoder) - Constructor for class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
SpringSecurityPropertiesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Authorization generator based on a properties file in Spring security format: username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
SpringSecurityPropertiesAuthorizationGenerator(Properties) - Constructor for class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
SpringWritableResourceWrapper - Class in org.pac4j.core.io
A wrapper that adapts a spring WritableResource to a pac4j WritableResource.
SpringWritableResourceWrapper(Resource) - Constructor for class org.pac4j.core.io.SpringWritableResourceWrapper
 
startAuthentication(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return whether we must start a login process if the first client is an indirect one.
startWithSlash(String) - Static method in class org.pac4j.core.util.CommonHelper
Add a slash at the beginning of a path if missing.
status(String, int, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build a response with message and status.
StrictTransportSecurityHeader - Class in org.pac4j.core.authorization.authorizer
Strict transport security header.
StrictTransportSecurityHeader() - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
StrictTransportSecurityHeader(int) - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
STRING - Static variable in class org.pac4j.core.profile.converter.Converters
 
StringConverter - Class in org.pac4j.core.profile.converter
This class only keeps String objects.
StringConverter() - Constructor for class org.pac4j.core.profile.converter.StringConverter
 
StringReplaceConverter - Class in org.pac4j.core.profile.converter
This class makes replacements in a String.
StringReplaceConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.StringReplaceConverter
 
substringAfter(String, String) - Static method in class org.pac4j.core.util.CommonHelper
 
substringBefore(String, String) - Static method in class org.pac4j.core.util.CommonHelper
 
substringBetween(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
 
success(String) - Static method in class org.pac4j.core.client.RedirectAction
 

T

TechnicalException - Exception in org.pac4j.core.exception
This class represents the root technical exception for the library.
TechnicalException(String) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(String, Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TEMP_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
 
TokenCredentials - Class in org.pac4j.core.credentials
This credentials represents a token.
TokenCredentials(String, String) - Constructor for class org.pac4j.core.credentials.TokenCredentials
 
toString() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
toString() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
toString() - Method in class org.pac4j.core.client.BaseClient
 
toString() - Method in class org.pac4j.core.client.Clients
 
toString() - Method in class org.pac4j.core.client.DirectClientV2
 
toString() - Method in class org.pac4j.core.client.IndirectClient
 
toString() - Method in class org.pac4j.core.client.IndirectClientV2
 
toString() - Method in class org.pac4j.core.client.RedirectAction
 
toString() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
toString() - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
 
toString() - Method in class org.pac4j.core.credentials.TokenCredentials
 
toString() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
toString() - Method in exception org.pac4j.core.exception.HttpAction
 
toString() - Method in class org.pac4j.core.matching.HeaderMatcher
 
toString() - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
toString() - Method in class org.pac4j.core.profile.Color
 
toString() - Method in class org.pac4j.core.profile.FormattedDate
 
toString() - Method in class org.pac4j.core.profile.UserProfile
 
toString(Class<?>, Object...) - Static method in class org.pac4j.core.util.CommonHelper
Build a normalized "toString" text for an object.
toString() - Method in class org.pac4j.core.util.JavaSerializationHelper
 

U

UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
 
unauthorized(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return an unauthorized error.
unauthorized(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a basic auth popup credentials.
unauthorizedDigest(String, WebContext, String, String, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a digest auth popup credentials.
unserializeFromBase64(String) - Method in class org.pac4j.core.util.JavaSerializationHelper
Unserialize a base64 String into a Java object.
unserializeFromBase64(String) - Method in class org.pac4j.core.util.KryoSerializationHelper
Unserialize a base64 String into a Java object.
unserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.JavaSerializationHelper
Unserialize a bytes array into a Java object.
unserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.KryoSerializationHelper
Unserialize a bytes array into a Java object.
updateCallbackUrlOfIndirectClient(IndirectClient) - Method in class org.pac4j.core.client.Clients
Sets a client's Callback URL, if not already set.
URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
URL - Static variable in class org.pac4j.core.profile.converter.Converters
 
urlEncode(String) - Static method in class org.pac4j.core.util.CommonHelper
URL encode a text using UTF-8.
USER_PROFILES - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
USERNAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
UsernamePasswordCredentials - Class in org.pac4j.core.credentials
This class represents a username and a password credentials
UsernamePasswordCredentials(String, String, String) - Constructor for class org.pac4j.core.credentials.UsernamePasswordCredentials
 
UserProfile - Class in org.pac4j.core.profile
This class is the user profile retrieved from a provider after successful authentication: it's an identifier (string) and attributes (objects).
UserProfile() - Constructor for class org.pac4j.core.profile.UserProfile
 
UTF8_ENCODING - Static variable in interface org.pac4j.core.context.HttpConstants
 

V

validate(C, WebContext) - Method in interface org.pac4j.core.credentials.authenticator.Authenticator
Validate the credentials.
validate(T, WebContext) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
valueOf(String) - Static method in enum org.pac4j.core.client.RedirectAction.RedirectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pac4j.core.context.HttpConstants.HTTP_METHOD
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pac4j.core.profile.Gender
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.pac4j.core.client.RedirectAction.RedirectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pac4j.core.context.HttpConstants.HTTP_METHOD
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pac4j.core.profile.Gender
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebContext - Interface in org.pac4j.core.context
This interface represents the web context to use HTTP request and session.
WritableResource - Interface in org.pac4j.core.io
Extended interface for a resource that supports writing to it.
write(Kryo, Output, Color) - Method in class org.pac4j.core.kryo.ColorSerializer
 
write(Kryo, Output, FormattedDate) - Method in class org.pac4j.core.kryo.FormattedDateSerializer
 
write(Kryo, Output, Locale) - Method in class org.pac4j.core.kryo.LocaleSerializer
 
writeExternal(ObjectOutput) - Method in class org.pac4j.core.profile.UserProfile
 
writeResponseContent(String) - Method in class org.pac4j.core.context.J2EContext
 
writeResponseContent(String) - Method in interface org.pac4j.core.context.WebContext
Write some content in the response.

X

XContentTypeOptionsHeader - Class in org.pac4j.core.authorization.authorizer
XContent type options header.
XContentTypeOptionsHeader() - Constructor for class org.pac4j.core.authorization.authorizer.XContentTypeOptionsHeader
 
XFrameOptionsHeader - Class in org.pac4j.core.authorization.authorizer
XFrame options header.
XFrameOptionsHeader() - Constructor for class org.pac4j.core.authorization.authorizer.XFrameOptionsHeader
 
XSSProtectionHeader - Class in org.pac4j.core.authorization.authorizer
XSS protection header.
XSSProtectionHeader() - Constructor for class org.pac4j.core.authorization.authorizer.XSSProtectionHeader
 
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2017. All Rights Reserved.