A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes All Packages

A

AbstractAttributeConverter<T> - Class in org.pac4j.core.profile.converter
This abstract attribute converter handles some common behaviors for simple type converters.
AbstractAttributeConverter(Class<T>) - Constructor for class org.pac4j.core.profile.converter.AbstractAttributeConverter
 
AbstractCheckAuthenticationAuthorizer<U extends UserProfile> - 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
 
AbstractExceptionAwareLogic<R,​C extends WebContext> - Class in org.pac4j.core.engine
Abstract logic to handle exceptions:
AbstractExceptionAwareLogic() - Constructor for class org.pac4j.core.engine.AbstractExceptionAwareLogic
 
AbstractJwtProfile - Class in org.pac4j.core.profile.jwt
Abstract JWT profile.
AbstractJwtProfile() - Constructor for class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
AbstractProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
Abstract implementation of the ProfileService for the storage: LDAP, SQL and MongoDB.
AbstractProfileService() - Constructor for class org.pac4j.core.profile.service.AbstractProfileService
 
AbstractRequireAllAuthorizer<E,​U extends UserProfile> - 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 UserProfile> - 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 UserProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require elements.
AbstractRequireElementAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
AbstractStore<K,​O> - Class in org.pac4j.core.store
Abstract store.
AbstractStore() - Constructor for class org.pac4j.core.store.AbstractStore
 
accept(String) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
 
ACCEPT_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
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, Collection<UserProfile>, Object...) - Method in interface org.pac4j.core.engine.SecurityGrantedAccessAdapter
Adapt the current successful action as the expected result.
adapt(HttpAction, C) - Method in interface org.pac4j.core.http.adapter.HttpActionAdapter
Adapt the HTTP action.
adapt(HttpAction, JEEContext) - Method in class org.pac4j.core.http.adapter.JEEHttpActionAdapter
 
addAttribute(String, Object) - Method in class org.pac4j.core.profile.BasicUserProfile
Add an attribute.
addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
Add attributes.
addAuthenticationAttribute(String, Object) - Method in class org.pac4j.core.profile.BasicUserProfile
Add an authentication-related attribute
addAuthenticationAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
Add authentication attributes.
addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
 
addAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
 
addDefaultMatcherIfNotDefined(Map<String, Matcher>, String, Matcher) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
 
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.BasicUserProfile
Add a permission.
addPermission(String) - Method in interface org.pac4j.core.profile.UserProfile
 
addPermissions(Collection<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
Add permissions.
addPermissions(Collection<String>) - Method in interface org.pac4j.core.profile.UserProfile
 
addResponseCookie(Cookie) - Method in class org.pac4j.core.context.JEEContext
 
addResponseCookie(Cookie) - Method in interface org.pac4j.core.context.WebContext
Adds cookies to the response
addRole(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Add a role.
addRole(String) - Method in interface org.pac4j.core.profile.UserProfile
 
addRoles(Collection<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
Add roles.
addRoles(Collection<String>) - Method in interface org.pac4j.core.profile.UserProfile
 
addTrustedClass(Class<?>) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
addTrustedClasses(Collection<Class<?>>) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
addTrustedPackage(String) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
addTrustedPackages(Collection<String>) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
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.ajax
Compute if a HTTP request is an AJAX one and the appropriate response.
ALLOW_AJAX_REQUESTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "allowAjaxRequests" authorizer.
AlwaysUseSessionProfileStorageDecision<C extends WebContext> - Class in org.pac4j.core.engine.decision
A decision class where the session is always used, generally when indirect and direct clients are mixed in the same web application.
AlwaysUseSessionProfileStorageDecision() - Constructor for class org.pac4j.core.engine.decision.AlwaysUseSessionProfileStorageDecision
 
and(Authorizer<U>...) - Static method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
 
AndAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization.authorizer
The conjunction of authorizers.
AndAuthorizer(List<Authorizer<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.AndAuthorizer
 
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
 
APPLICATION_FORM_ENCODED_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
 
APPLICATION_JSON - Static variable in interface org.pac4j.core.context.HttpConstants
 
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.
asPrincipal() - Method in interface org.pac4j.core.profile.UserProfile
 
assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a String is not blank otherwise throw a TechnicalException.
assertNotBlank(String, 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.
asURI(String) - Static method in class org.pac4j.core.util.CommonHelper
Convert a string into an URI.
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.
AttributeLocation - Enum in org.pac4j.core.profile
Denotes where an attribute is placed in a profile.
attributeNames - Variable in class org.pac4j.core.profile.service.AbstractProfileService
 
AUDIENCE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AUTHENTICATION_ATTRIBUTE - org.pac4j.core.profile.AttributeLocation
Profile authentication attribute.
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> - 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 - Interface in org.pac4j.core.authorization.generator
Generate the authorization roles and permissions for this user profile.
Authorizer<U extends UserProfile> - Interface in org.pac4j.core.authorization.authorizer
Checks if an access is authorized.
authorizers - Variable in class org.pac4j.core.config.Config
 
AUTHORIZERS - Static variable in interface org.pac4j.core.util.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(String, Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadRequestAction - Exception in org.pac4j.core.exception.http
A bad request action.
BadRequestAction() - Constructor for exception org.pac4j.core.exception.http.BadRequestAction
 
BaseClient<C extends Credentials> - 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
 
BaseClientConfiguration - Class in org.pac4j.core.client.config
Base parent class for all client configurations to hold common fields or to be used as a common parent for type checking and casts in customizations.
BaseClientConfiguration() - Constructor for class org.pac4j.core.client.config.BaseClientConfiguration
 
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() - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BasicAuthExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BasicUserProfile - 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).
BasicUserProfile() - Constructor for class org.pac4j.core.profile.BasicUserProfile
 
BasicUserProfile(boolean) - Constructor for class org.pac4j.core.profile.BasicUserProfile
Create a profile with possibility to merge attributes with the same name and collection-type values.
BEARER_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
BearerAuthExtractor - Class in org.pac4j.core.credentials.extractor
To extract an RFC 6750 bearer auth header.
BearerAuthExtractor() - Constructor for class org.pac4j.core.credentials.extractor.BearerAuthExtractor
 
BearerAuthExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.BearerAuthExtractor
 
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(Object...) - Method in interface org.pac4j.core.config.ConfigFactory
Build a configuration.
build(Object...) - Method in class org.pac4j.core.config.DefaultConfigFactory
 
build(Object, Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
Build a profile from user identifier and attributes.
build(Object, Map<String, Object>, Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
Build a profile from user identifier, attributes, and authentication attributes.
build(String, Object...) - Static method in class org.pac4j.core.config.ConfigBuilder
 
buildAjaxResponse(WebContext, RedirectionActionBuilder) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
Build an AJAX reponse.
buildAjaxResponse(WebContext, RedirectionActionBuilder) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
 
buildAllMatchers(Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
 
buildFormPostContent(WebContext) - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
Build a form POST content from the web context.
buildFormPostContentAction(WebContext, String) - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
Build the appropriate redirection action for a content which is a form post.
buildFromTrackableSession(C, Object) - Method in interface org.pac4j.core.context.session.SessionStore
Build a new session store from a trackable session.
buildFromTrackableSession(JEEContext, Object) - Method in class org.pac4j.core.context.session.JEESessionStore
 
buildHttpErrorMessage(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
Build error message from connection in case of failure
buildRedirectUrlAction(WebContext, String) - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
Build the appropriate redirection action for a location.
buildUserProfileByClassCompleteName(String) - Static method in class org.pac4j.core.profile.ProfileHelper
Build a profile by its class name.

C

CacheControlMatcher - Class in org.pac4j.core.matching.matcher
Cache control header matcher.
CacheControlMatcher() - Constructor for class org.pac4j.core.matching.matcher.CacheControlMatcher
 
callbackLogic - Variable in class org.pac4j.core.config.Config
 
callbackLogic(CallbackLogic, Config, CallbackLogic) - Static method in class org.pac4j.core.util.FindBest
 
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.callback
How to compute a callback URL and match a client.
CasLogoutActionBuilder - Class in org.pac4j.core.logout
CAS logout action builder.
CasLogoutActionBuilder(String, String) - Constructor for class org.pac4j.core.logout.CasLogoutActionBuilder
 
CENTRAL_LOGOUT - Static variable in interface org.pac4j.core.util.Pac4jConstants
Whether a central logout must be performed
ChainingConverter - Class in org.pac4j.core.profile.converter
ChainingConverter(List<AttributeConverter>) - Constructor for class org.pac4j.core.profile.converter.ChainingConverter
 
check(WebContext, UserProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
check(WebContext, U, E) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
Check a specific element.
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
 
checkHttpMethod(List<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
checkHttpMethod(Set<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
checkHttpMethod(HttpConstants.HTTP_METHOD...) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
Checks the HTTP method.
CheckHttpMethodAuthorizer() - 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
 
CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
checkProfileType(Class<U>...) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
checkProfileType(List<Class<U>>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
checkProfileType(Set<Class<U>>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer<U extends UserProfile> - 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
 
clearTrustedClasses() - Method in class org.pac4j.core.util.JavaSerializationHelper
 
clearTrustedPackages() - Method in class org.pac4j.core.util.JavaSerializationHelper
 
Client<C extends Credentials> - Interface in org.pac4j.core.client
This interface is the core class of the library.
ClientFinder - Interface in org.pac4j.core.client.finder
The way to find the client.
clientInit() - Method in class org.pac4j.core.client.direct.AnonymousClient
 
clientInit() - Method in class org.pac4j.core.client.DirectClient
Initialize the client.
clientInit() - Method in class org.pac4j.core.client.IndirectClient
Initialize the client.
clients - Variable in class org.pac4j.core.config.Config
 
Clients - Class in org.pac4j.core.client
This class is made to group multiple clients, 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 - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
closeConnection(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
 
code - Variable in exception org.pac4j.core.exception.http.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
 
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
 
CommonProfile(boolean) - Constructor for class org.pac4j.core.profile.CommonProfile
Create a profile with possibility to merge attributes with the same name and collection-type values
CommonProfileDefinition<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
Profile definition with the common attributes.
CommonProfileDefinition() - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
 
CommonProfileDefinition(ProfileFactory<P>) - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
 
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 class org.pac4j.core.http.url.DefaultUrlResolver
 
compute(String, WebContext) - Method in interface org.pac4j.core.http.url.UrlResolver
Compute a new URL from the provided URL and the web context.
compute(UrlResolver, String, String, WebContext) - Method in interface org.pac4j.core.http.callback.CallbackUrlResolver
Compute a callback URL from the provided URL resolver, URL, client name and web context.
compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
 
compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
 
compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 
computeDefaultAuthorizers(List<Client<? extends Credentials>>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
computeDefaultMatchers(List<Client<? extends Credentials>>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
 
computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
config - Variable in class org.pac4j.core.config.DefaultConfigFactory
 
config - Variable in class org.pac4j.core.profile.ProfileManager
 
Config - Class in org.pac4j.core.config
The default configuration with clients, authorizers, matchers, etc.
Config() - Constructor for class org.pac4j.core.config.Config
 
Config(String, List<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) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
 
Config(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(Client) - Constructor for class org.pac4j.core.config.Config
 
Config(Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
CONFIG_FACTORY - Static variable in interface org.pac4j.core.util.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.
configurePrimaryAttributes() - Method in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
containsAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Check to see if profile contains attribute name.
containsAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
 
containsAuthenicationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
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(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
 
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.ChainingConverter
 
convertAndAdd(CommonProfile, Map<String, Object>, Map<String, Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Convert the profile and authentication attributes, if necessary, and add them to the profile.
convertAndAdd(CommonProfile, AttributeLocation, String, Object) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Convert a profile or authentication attribute, if necessary, and add it to the profile.
convertAttributesToProfile(List<Map<String, Object>>, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Convert the list of map of attributes from the storage into a profile.
Converters - Class in org.pac4j.core.profile.converter
This class defines the default converters.
Converters() - Constructor for class org.pac4j.core.profile.converter.Converters
 
convertProfileAndPasswordToAttributes(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Convert a profile and a password into a map of attributes for the storage.
Cookie - Class in org.pac4j.core.context
 
Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
 
CorsMatcher - Class in org.pac4j.core.matching.matcher
Define how the CORS requests are authorized.
CorsMatcher() - Constructor for class org.pac4j.core.matching.matcher.CorsMatcher
 
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.
create(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
create(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
Create a profile with the associated password in the storage.
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 expected exception occurring during credentials retrieval.
CredentialsException(String) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsExtractor<C extends Credentials> - Interface in org.pac4j.core.credentials.extractor
A credentials extractor.
CSRF_CHECK - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
The "csrfCheck" authorizer.
CSRF_TOKEN - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "csrfToken" authorizer.
CSRF_TOKEN - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer
Authorizer that checks CSRF tokens.
CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
CsrfTokenGenerator - Interface in org.pac4j.core.matching.matcher.csrf
CSRF token generator.
CsrfTokenGeneratorMatcher - Class in org.pac4j.core.matching.matcher.csrf
Matcher which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
CsrfTokenGeneratorMatcher(CsrfTokenGenerator) - Constructor for class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 

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
 
decode(String) - Method in class org.pac4j.core.util.serializer.JsonSerializer
 
decode(String) - Method in class org.pac4j.core.util.serializer.ProfileServiceSerializer
 
decode(String) - Method in interface org.pac4j.core.util.serializer.Serializer
Decode a string into an object.
DEFAULT - Static variable in interface org.pac4j.core.profile.factory.ProfileManagerFactory
 
DEFAULT - Static variable in interface org.pac4j.core.profile.factory.ProfileManagerFactory2
Deprecated.
 
DEFAULT_CLIENT - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
DEFAULT_CLIENT_NAME_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
The default client name parameter used on callback
DEFAULT_CONNECT_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_FORCE_CLIENT_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
The default client name parameter used for security
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.util.Pac4jConstants
 
DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_REALM_NAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
DEFAULT_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
DefaultAjaxRequestResolver - Class in org.pac4j.core.http.ajax
Default way to compute if a HTTP request is an AJAX one.
DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
 
defaultAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.BaseClient
 
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
 
DefaultAuthorizers - Interface in org.pac4j.core.authorization.authorizer
Constants for authorizers.
DefaultCallbackClientFinder - Class in org.pac4j.core.client.finder
Find the right client on the callback.
DefaultCallbackClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultCallbackClientFinder
 
DefaultCallbackLogic<R,​C extends WebContext> - Class in org.pac4j.core.engine
Default callback logic:
DefaultCallbackLogic() - Constructor for class org.pac4j.core.engine.DefaultCallbackLogic
 
DefaultConfigFactory - Class in org.pac4j.core.config
A default configuration factory.
DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
 
defaultCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
 
DefaultCsrfTokenGenerator - Class in org.pac4j.core.matching.matcher.csrf
Default CSRF token generator.
DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
 
defaultLogoutActionBuilder(LogoutActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
 
DefaultLogoutHandler<C extends WebContext> - Class in org.pac4j.core.logout.handler
Default logout handler.
DefaultLogoutHandler() - Constructor for class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
DefaultLogoutHandler(Store<String, Object>) - Constructor for class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
DefaultLogoutLogic<R,​C extends WebContext> - Class in org.pac4j.core.engine
Default logout logic:
DefaultLogoutLogic() - Constructor for class org.pac4j.core.engine.DefaultLogoutLogic
 
DefaultMatchers - Interface in org.pac4j.core.matching.matcher
The default matchers.
DefaultMatchingChecker - Class in org.pac4j.core.matching.checker
Default way to check the matchers (with default matchers).
DefaultMatchingChecker() - Constructor for class org.pac4j.core.matching.checker.DefaultMatchingChecker
 
defaultProfileCreator(ProfileCreator<C>) - Method in class org.pac4j.core.client.BaseClient
 
defaultProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
defaultProfileManagerFactory(String, ProfileManagerFactory) - Static method in class org.pac4j.core.config.Config
 
defaultProfileManagerFactory2(String, ProfileManagerFactory2) - Static method in class org.pac4j.core.config.Config
Deprecated.
DefaultProfileStorageDecision<C extends WebContext> - Class in org.pac4j.core.engine.decision
Default decision class where the indirect clients are handled separately from the direct clients.
DefaultProfileStorageDecision() - Constructor for class org.pac4j.core.engine.decision.DefaultProfileStorageDecision
 
defaultRedirectionActionBuilder(RedirectionActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
 
DefaultRolesPermissionsAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
Grant default roles and/or permissions to a user profile.
DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultRolesPermissionsAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultSavedRequestHandler - Class in org.pac4j.core.engine.savedrequest
The default SavedRequestHandler which handles GET and POST requests.
DefaultSavedRequestHandler() - Constructor for class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
 
DefaultSecurityClientFinder - Class in org.pac4j.core.client.finder
Find the right clients based on the query parameter for the SecurityLogic.
DefaultSecurityClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultSecurityClientFinder
 
DefaultSecurityLogic<R,​C extends WebContext> - Class in org.pac4j.core.engine
Default security logic:
DefaultSecurityLogic() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogic
 
DefaultUrlResolver - Class in org.pac4j.core.http.url
Default URL resolver: use the provided URL as is or append the server and port for relative URLs.
DefaultUrlResolver() - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
 
DefaultUrlResolver(boolean) - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
 
defaultValue() - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
 
defaultValue() - Method in class org.pac4j.core.profile.converter.BooleanConverter
 
defineAttributesToRead() - Method in class org.pac4j.core.profile.service.AbstractProfileService
Define the attributes to read in the storage.
DELETE - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
DELETE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
 
deleteById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Delete a profile by its identifier in the storage.
deleteById(String) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
 
deserializeFromBase64(String) - Method in class org.pac4j.core.util.JavaSerializationHelper
Deserialize a base64 String into a Java object.
deserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.JavaSerializationHelper
Deserialize a bytes array into a Java object.
destroy(C, SessionStore, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
DESTROY_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
Whether we must destroy the web session during the local logout
destroySession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Destroy the web session.
destroySession(JEEContext) - Method in class org.pac4j.core.context.session.JEESessionStore
 
destroySessionBack(C, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
destroySessionBack(C, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
Destroys the current web session for the given key for a back channel logout.
destroySessionFront(C, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
destroySessionFront(C, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
Destroys the current web session for the given key for a front channel logout.
DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
DirectClient<C extends Credentials> - Class in org.pac4j.core.client
Direct client: credentials are passed and authentication occurs for every HTTP request.
DirectClient() - Constructor for class org.pac4j.core.client.DirectClient
 
DISABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
DISPLAY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 

E

ELEMENT_SEPARATOR - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
elements - Variable in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
EMAIL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
ENABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
encode(Object) - Method in class org.pac4j.core.util.serializer.JsonSerializer
 
encode(Object) - Method in class org.pac4j.core.util.serializer.ProfileServiceSerializer
 
encode(Object) - Method in interface org.pac4j.core.util.serializer.Serializer
Encode an object into a string.
encode(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
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
 
encodeQueryParam(String, String) - Static method in class org.pac4j.core.util.HttpUtils
 
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.Pac4JPrincipal
 
escapeHtml(String) - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
 
excludeBranch(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
Convenience method for excluding all paths starting with a prefix e.g.
excludePath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
Any path exactly matching this string will be excluded.
excludePaths(String...) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
excludeRegex(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
Any path matching this regex will be excluded.
EXPIRATION_TIME - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.BearerAuthExtractor
 
extract(WebContext) - Method in interface org.pac4j.core.credentials.extractor.CredentialsExtractor
Extract the Credentials from a WebContext and return Optional.empty() if no credentials are present or throw a CredentialsException if it cannot get it.
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
 
extractAttributeValues(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Return the attribute values with name.

F

FACES_PARTIAL_AJAX_PARAMETER - Static variable in interface org.pac4j.core.context.HttpConstants
 
FAMILY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
FEMALE - org.pac4j.core.profile.Gender
 
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.DefaultCallbackClientFinder
 
find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
 
findAllClients() - Method in class org.pac4j.core.client.Clients
Find all the clients.
FindBest - Class in org.pac4j.core.util
Utility class to find the best adapter, logic... in the following order: 1) the local one 2) the one from the config 3) the default one (must not be null).
FindBest() - Constructor for class org.pac4j.core.util.FindBest
 
findById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
findById(String) - Method in interface org.pac4j.core.profile.service.ProfileService
Find a profile by its identifier.
findByLinkedId(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
findByLinkedId(String) - Method in interface org.pac4j.core.profile.service.ProfileService
Find a profile by its linked identifier.
findClient(Class<C>) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific class.
findClient(String) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific name.
FIRST_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
flatIntoAProfileList(Map<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the map of profiles into a list of profiles.
flatIntoOneProfile(Collection<U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the list of profiles into a single optional profile (skip any anonymous profile unless it's the only one).
forbidden(C, List<Client<? extends Credentials>>, List<UserProfile>, String) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return a forbidden error.
FORBIDDEN - Static variable in interface org.pac4j.core.context.HttpConstants
 
ForbiddenAction - Exception in org.pac4j.core.exception.http
A forbidden HTTP action.
ForbiddenAction() - Constructor for exception org.pac4j.core.exception.http.ForbiddenAction
 
format - Variable in class org.pac4j.core.profile.converter.DateConverter
 
FormExtractor - Class in org.pac4j.core.credentials.extractor
To extract a username and password posted from a form.
FormExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.FormExtractor
 
FOUND - Static variable in interface org.pac4j.core.context.HttpConstants
 
FoundAction - Exception in org.pac4j.core.exception.http
A "Found" HTTP action.
FoundAction(String) - Constructor for exception org.pac4j.core.exception.http.FoundAction
 
FromAttributesAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
Generate the authorization information by inspecting attributes.
FromAttributesAuthorizationGenerator() - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
FromAttributesAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
FromAttributesAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 

G

Gender - Enum in org.pac4j.core.profile
This enumeration is the gender of a user : male, female or unspecified.
GENDER - Static variable in class org.pac4j.core.profile.converter.Converters
 
GENDER - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
GenderConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Gender.
GenderConverter() - Constructor for class org.pac4j.core.profile.converter.GenderConverter
 
GenderConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.GenderConverter
 
generate(WebContext, UserProfile) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
Generate the authorization information from and for the user profile.
generate(WebContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
generate(WebContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
generate(WebContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
generate(WebContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
generateValue(WebContext) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
 
generateValue(WebContext) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
 
generateValue(WebContext) - Method in interface org.pac4j.core.util.generator.ValueGenerator
 
get(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the first user profile if it exists, ignoring any AnonymousProfile if possible.
get(C, String) - Method in interface org.pac4j.core.context.session.SessionStore
Get the object from its key in store.
get(K) - Method in class org.pac4j.core.store.AbstractStore
 
get(K) - Method in interface org.pac4j.core.store.Store
Get a value by key.
get(JEEContext, String) - Method in class org.pac4j.core.context.session.JEESessionStore
 
get(WebContext) - Method in interface org.pac4j.core.matching.matcher.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.matching.matcher.csrf.DefaultCsrfTokenGenerator
 
GET - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
GET - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
 
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.
getAllLikeDefaultSecurityLogic(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve all user profiles.
getAllowCredentials() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getAllowHeaders() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getAllowMethods() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getAllowOrigin() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Return the attribute with name.
getAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
 
getAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.BasicUserProfile
Return the attribute with name.
getAttributes() - Method in class org.pac4j.core.profile.BasicUserProfile
Get all attributes as immutable map.
getAttributes() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getAudience() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Return the authentication attribute with name.
getAuthenticationAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.BasicUserProfile
Return authentication attribute with name
getAuthenticationAttributes() - Method in class org.pac4j.core.profile.BasicUserProfile
Get all authentication attributes as an immutable map
getAuthenticator() - Method in class org.pac4j.core.client.BaseClient
 
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
 
getCache() - Method in class org.pac4j.core.store.GuavaStore
 
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.DefaultCallbackLogic
 
getClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getClientName() - Method in class org.pac4j.core.profile.BasicUserProfile
 
getClientName() - Method in interface org.pac4j.core.profile.UserProfile
 
getClientNameParameter() - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
 
getClientNameParameter() - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 
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.http.HttpAction
Return the HTTP code.
getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
 
getCodeVerifierSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
 
getComment() - Method in class org.pac4j.core.context.Cookie
 
getConfig() - Method in class org.pac4j.core.profile.ProfileManager
 
getConnectTimeout() - Static method in class org.pac4j.core.util.HttpUtils
 
getConstructor(String) - Static method in class org.pac4j.core.util.CommonHelper
Get the constructor of the class.
getContent() - Method in exception org.pac4j.core.exception.http.NoContentAction
 
getContent() - Method in exception org.pac4j.core.exception.http.OkAction
 
getContent() - Method in exception org.pac4j.core.exception.http.TemporaryRedirectAction
 
getContent() - Method in interface org.pac4j.core.exception.http.WithContentAction
 
getConverters() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
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.BaseClient
 
getCsrfTokenGenerator() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
getCustomProperties() - Method in class org.pac4j.core.client.BaseClient
 
getDefaultSecurityClients() - 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.context.Cookie
 
getDomain() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
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.
getErrorUrl() - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
 
getExcludedPaths() - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
getExcludedPatterns() - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
getExpectedValue() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
getExpirationDate() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getExpiry() - Method in class org.pac4j.core.context.Cookie
 
getExposeHeaders() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getFamilyName() - Method in class org.pac4j.core.profile.CommonProfile
Return the family name of the user.
getFirstName() - Method in class org.pac4j.core.profile.CommonProfile
Return the first name of the user.
getFullRequestURL() - Method in class org.pac4j.core.context.JEEContext
 
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.CsrfAuthorizer
 
getHeaderName() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
getHeaderName() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
getHttpActionAdapter() - Method in class org.pac4j.core.config.Config
 
getHttpOnly() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
getId() - Method in class org.pac4j.core.profile.BasicUserProfile
Get the user identifier.
getId() - Method in interface org.pac4j.core.profile.UserProfile
 
getIdAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getIssuedAt() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getIssuer() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getLikeDefaultSecurityLogic(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the first user profile if it exists, ignoring any AnonymousProfile if possible.
getLinkedId() - Method in class org.pac4j.core.profile.BasicUserProfile
 
getLocale() - Method in class org.pac4j.core.profile.CommonProfile
Return the locale of the user.
getLocation() - Method in exception org.pac4j.core.exception.http.FoundAction
 
getLocation() - Method in exception org.pac4j.core.exception.http.SeeOtherAction
 
getLocation() - Method in interface org.pac4j.core.exception.http.WithLocationAction
 
getLocation() - Method in class org.pac4j.core.profile.CommonProfile
Return the location of the user.
getLogoutAction(WebContext, UserProfile, String) - Method in interface org.pac4j.core.client.Client
Return the logout action (indirect clients).
getLogoutAction(WebContext, UserProfile, String) - Method in class org.pac4j.core.client.DirectClient
 
getLogoutAction(WebContext, UserProfile, String) - Method in class org.pac4j.core.client.IndirectClient
 
getLogoutAction(WebContext, UserProfile, String) - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
 
getLogoutAction(WebContext, UserProfile, String) - Method in class org.pac4j.core.logout.GoogleLogoutActionBuilder
 
getLogoutAction(WebContext, UserProfile, String) - Method in interface org.pac4j.core.logout.LogoutActionBuilder
Return the RedirectionAction for logout.
getLogoutAction(WebContext, UserProfile, String) - Method in class org.pac4j.core.logout.NoLogoutActionBuilder
 
getLogoutActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
 
getLogoutLogic() - Method in class org.pac4j.core.config.Config
 
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.context.Cookie
 
getMaxAge() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
getMaxAge() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
getMaxAge() - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
 
getMethods() - Method in class org.pac4j.core.matching.matcher.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
 
getName() - Method in class org.pac4j.core.profile.Pac4JPrincipal
 
getNativeRequest() - Method in class org.pac4j.core.context.JEEContext
Return the native HTTP request.
getNativeResponse() - Method in class org.pac4j.core.context.JEEContext
Return the native HTTP response.
getNativeSession(JEEContext) - Method in class org.pac4j.core.context.session.JEESessionStore
 
getNonceSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
 
getNotBefore() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getObjectMapper() - Method in class org.pac4j.core.util.serializer.JsonSerializer
 
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.
getOrCreateSessionId(JEEContext) - Method in class org.pac4j.core.context.session.JEESessionStore
 
getParameterName() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
getPassword() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
getPasswordAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getPasswordEncoder() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getPasswordParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
getPath() - Method in class org.pac4j.core.context.Cookie
 
getPath() - Method in class org.pac4j.core.context.JEEContext
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 JEE style).
getPath() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
getPermissions() - Method in class org.pac4j.core.profile.BasicUserProfile
Get the permissions of the user.
getPermissions() - Method in interface org.pac4j.core.profile.UserProfile
 
getPictureUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the picture of the user.
getPrefixHeader() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
getPrimaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
getProfileCreator() - Method in class org.pac4j.core.client.BaseClient
 
getProfileDefinition() - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
getProfileFactoryWhenNotAuthenticated() - Method in class org.pac4j.core.client.BaseClient
 
getProfileId() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
getProfileManager(C) - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
 
getProfileManagerFactory() - Static method in class org.pac4j.core.config.Config
 
getProfileManagerFactory() - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
 
getProfileManagerFactory2() - Static method in class org.pac4j.core.config.Config
Deprecated.
getProfileService() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
getProfileStorageDecision() - 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.
getProtocol() - Method in class org.pac4j.core.context.JEEContext
 
getProtocol() - Method in interface org.pac4j.core.context.WebContext
Get the protocol version.
getReadTimeout() - Static method in class org.pac4j.core.util.HttpUtils
 
getRed() - Method in class org.pac4j.core.profile.Color
 
getRedirectionAction(WebContext) - Method in interface org.pac4j.core.client.Client
Return the redirection action to the authentication provider (indirect clients).
getRedirectionAction(WebContext) - Method in class org.pac4j.core.client.DirectClient
 
getRedirectionAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
If an authentication has already been tried for this client and has failed (null credentials) or if the request is an AJAX one, an unauthorized response is thrown instead of a "redirection".
getRedirectionAction(WebContext) - Method in interface org.pac4j.core.redirect.RedirectionActionBuilder
Return the appropriate "redirection" action.
getRedirectionActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
 
getRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
getRemoteAddr() - Method in class org.pac4j.core.context.JEEContext
 
getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
Return the remote address.
getRequestAttribute(String) - Method in class org.pac4j.core.context.JEEContext
 
getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Return a request attribute.
getRequestContent() - Method in class org.pac4j.core.context.JEEContext
 
getRequestContent() - Method in interface org.pac4j.core.context.WebContext
Gets content body of the original request.
getRequestCookies() - Method in class org.pac4j.core.context.JEEContext
 
getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
Retrieves request cookies.
getRequestedUrl(WebContext) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
 
getRequestHeader(String) - Method in class org.pac4j.core.context.JEEContext
 
getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
Return a request header.
getRequestMethod() - Method in class org.pac4j.core.context.JEEContext
 
getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
Return the request method.
getRequestParameter(String) - Method in class org.pac4j.core.context.JEEContext
 
getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
Return a request parameter.
getRequestParameters() - Method in class org.pac4j.core.context.JEEContext
 
getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
Return all request parameters.
getRoles() - Method in class org.pac4j.core.profile.BasicUserProfile
Get the roles of the user.
getRoles() - Method in interface org.pac4j.core.profile.UserProfile
 
getSalt() - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
getSavedRequestHandler() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
getSavedRequestHandler() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getScheme() - Method in class org.pac4j.core.context.JEEContext
 
getScheme() - Method in interface org.pac4j.core.context.WebContext
Return the scheme.
getSecondaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
getSecure() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
getSecurityLogic() - Method in class org.pac4j.core.config.Config
 
getSerializer() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getServerName() - Method in class org.pac4j.core.context.JEEContext
 
getServerName() - Method in interface org.pac4j.core.context.WebContext
Return the server name.
getServerPort() - Method in class org.pac4j.core.context.JEEContext
 
getServerPort() - Method in interface org.pac4j.core.context.WebContext
Return the server port.
getSessionStore() - Method in class org.pac4j.core.config.Config
 
getSessionStore() - Method in class org.pac4j.core.context.JEEContext
 
getSessionStore() - Method in interface org.pac4j.core.context.WebContext
Get the session store.
getSize() - Method in class org.pac4j.core.store.GuavaStore
 
getSize() - Method in class org.pac4j.core.util.generator.RandomValueGenerator
 
getSplitChar() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
getStateSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
 
getStore() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getStore() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
getSubject() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getTimeout() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getTimeout() - Method in class org.pac4j.core.store.GuavaStore
 
getTimeUnit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getTimeUnit() - Method in class org.pac4j.core.store.GuavaStore
 
getToken() - Method in class org.pac4j.core.credentials.TokenCredentials
 
getTokenFromSession(WebContext) - Method in class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
 
getTrackableSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Get the native session as a trackable object.
getTrackableSession(JEEContext) - Method in class org.pac4j.core.context.session.JEESessionStore
 
getTrustedClasses() - Method in class org.pac4j.core.util.JavaSerializationHelper
Returns an immutable set of trusted classes.
getTrustedPackages() - Method in class org.pac4j.core.util.JavaSerializationHelper
Returns an immutable set of tusted packages.
getTypedId() - Method in class org.pac4j.core.profile.BasicUserProfile
Get the user identifier with a prefix which is the profile type (full class name with package).
getUrlResolver() - Method in class org.pac4j.core.client.Clients
 
getUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
 
getUsername() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
getUsername() - Method in class org.pac4j.core.profile.CommonProfile
Return the username of the user.
getUsername() - Method in interface org.pac4j.core.profile.UserProfile
 
getUsernameAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getUsernameParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
getUserProfile() - Method in class org.pac4j.core.credentials.Credentials
 
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.
getValue() - Method in class org.pac4j.core.context.Cookie
 
getValue() - Method in class org.pac4j.core.util.generator.StaticValueGenerator
 
getVersion() - Method in class org.pac4j.core.context.Cookie
 
getWebContextFactory() - Method in class org.pac4j.core.config.Config
 
GoogleLogoutActionBuilder - Class in org.pac4j.core.logout
Google logout action builder.
GoogleLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.GoogleLogoutActionBuilder
 
GuavaStore<K,​O> - Class in org.pac4j.core.store
Store data in a Guava cache.
GuavaStore() - Constructor for class org.pac4j.core.store.GuavaStore
 
GuavaStore(int, int, TimeUnit) - Constructor for class org.pac4j.core.store.GuavaStore
 

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.
handleException(Exception, HttpActionAdapter<R, C>, C) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
Handle exceptions.
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.Pac4JPrincipal
 
HEAD - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
HeaderExtractor - Class in org.pac4j.core.credentials.extractor
To extract header value.
HeaderExtractor() - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
 
HeaderExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
 
HeaderMatcher - Class in org.pac4j.core.matching.matcher
Matching on a HTTP header.
HeaderMatcher() - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
 
HeaderMatcher(String, String) - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
 
HSTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "hsts" authorizer.
HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
 
HttpAction - Exception in org.pac4j.core.exception.http
The HTTP action, to perform on the web context by the appropriate HttpActionAdapter.
HttpAction(int) - Constructor for exception org.pac4j.core.exception.http.HttpAction
 
httpActionAdapter - Variable in class org.pac4j.core.config.Config
 
httpActionAdapter(HttpActionAdapter, Config, HttpActionAdapter) - Static method in class org.pac4j.core.util.FindBest
 
HttpActionAdapter<R,​C extends WebContext> - Interface in org.pac4j.core.http.adapter
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(String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(Throwable) - 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.matcher
Matching on HTTP methods.
HttpMethodMatcher() - Constructor for class org.pac4j.core.matching.matcher.HttpMethodMatcher
 
HttpMethodMatcher(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.matching.matcher.HttpMethodMatcher
 
HttpUtils - Class in org.pac4j.core.util
This class provides utility functions to deal with opening connections, building error messages and closing connections, etc.

I

ID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
 
IndirectClient<C extends Credentials> - Class in org.pac4j.core.client
Indirect client: the requested protected URL is saved, the user is redirected to the identity provider for login and back to the application after the sucessful authentication and finally to the originally requested URL.
IndirectClient() - Constructor for class org.pac4j.core.client.IndirectClient
 
init() - Method in class org.pac4j.core.util.InitializableObject
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
 
InMemoryProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
In-memory profile service.
InMemoryProfileService(Map<String, Map<String, Object>>, ProfileFactory<U>) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
 
InMemoryProfileService(ProfileFactory<U>) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
 
insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Insert the attributes in the storage.
insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
 
INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
 
INSTANCE - Static variable in class org.pac4j.core.config.Config
 
INSTANCE - Static variable in class org.pac4j.core.context.JEEContextFactory
 
INSTANCE - Static variable in class org.pac4j.core.context.session.JEESessionStore
 
INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
 
INSTANCE - Static variable in class org.pac4j.core.engine.DefaultCallbackLogic
 
INSTANCE - Static variable in class org.pac4j.core.engine.DefaultLogoutLogic
 
INSTANCE - Static variable in class org.pac4j.core.engine.DefaultSecurityLogic
 
INSTANCE - Static variable in exception org.pac4j.core.exception.http.BadRequestAction
 
INSTANCE - Static variable in exception org.pac4j.core.exception.http.ForbiddenAction
 
INSTANCE - Static variable in exception org.pac4j.core.exception.http.NoContentAction
 
INSTANCE - Static variable in exception org.pac4j.core.exception.http.UnauthorizedAction
 
INSTANCE - Static variable in class org.pac4j.core.http.adapter.JEEHttpActionAdapter
 
INSTANCE - Static variable in class org.pac4j.core.logout.NoLogoutActionBuilder
 
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
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
 
internalConvert(Object) - Method in class org.pac4j.core.profile.converter.UrlConverter
 
internalGet(K) - Method in class org.pac4j.core.store.AbstractStore
 
internalGet(K) - Method in class org.pac4j.core.store.GuavaStore
 
internalInit() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
internalInit() - Method in class org.pac4j.core.client.Clients
 
internalInit() - Method in class org.pac4j.core.client.DirectClient
 
internalInit() - Method in class org.pac4j.core.client.IndirectClient
 
internalInit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
internalInit() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
internalInit() - Method in class org.pac4j.core.profile.service.InMemoryProfileService
 
internalInit() - Method in class org.pac4j.core.store.AbstractStore
 
internalInit() - Method in class org.pac4j.core.store.GuavaStore
 
internalInit() - Method in class org.pac4j.core.util.InitializableObject
Internal initialization of the object.
internalRemove(K) - Method in class org.pac4j.core.store.AbstractStore
 
internalRemove(K) - Method in class org.pac4j.core.store.GuavaStore
 
internalSet(K, O) - Method in class org.pac4j.core.store.AbstractStore
 
internalSet(K, O) - Method in class org.pac4j.core.store.GuavaStore
 
IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
IS_ANONYMOUS - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
The "isAnonymous" authorizer.
IS_AUTHENTICATED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
The "isAuthenticated" authorizer.
IS_FULLY_AUTHENTICATED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
The "isFullyAuthenticated" authorizer.
IS_REMEMBERED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
The "isRemembered" authorizer.
isAddRedirectionUrlAsHeader() - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
 
isAjax(WebContext) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
Whether it is an AJAX request.
isAjax(WebContext) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
 
isAllAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
If all profiles are authorized.
isAnonymous() - Static method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
IsAnonymousAuthorizer<U extends UserProfile> - 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() - Static method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
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 UserProfile> - 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<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
isAuthorized(WebContext, List<UserProfile>, String, Map<String, Authorizer>, List<Client<? extends Credentials>>) - Method in interface org.pac4j.core.authorization.checker.AuthorizationChecker
Check whether the user is authorized.
isAuthorized(WebContext, List<UserProfile>, String, Map<String, Authorizer>, List<Client<? extends Credentials>>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isAuthorized(WebContext, List<UserProfile>, List<Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
 
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<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<U>) - Method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
 
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
 
isCheckAllRequests() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
isCompleteRelativeUrl() - Method in class org.pac4j.core.http.url.DefaultUrlResolver
 
isDelete(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a DELETE request.
isDestroySession() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
isEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
Return if a collection is empty.
isExpired() - Method in class org.pac4j.core.profile.CommonProfile
 
isExpired() - Method in interface org.pac4j.core.profile.UserProfile
 
isFailIfLinkedUserNotFound() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
isFullyAuthenticated() - Static method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
IsFullyAuthenticatedAuthorizer<U extends UserProfile> - 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.
isInitialized() - Method in class org.pac4j.core.util.InitializableObject
 
isLegacyMode() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
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.
isPatch(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a PATCH request.
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.
isPut(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a PUT request.
isRemembered() - Static method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isRemembered() - Method in class org.pac4j.core.profile.BasicUserProfile
Is the user remembered?
isRemembered() - Method in interface org.pac4j.core.profile.UserProfile
 
IsRememberedAuthorizer<U extends UserProfile> - 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
 
isSecure() - Method in class org.pac4j.core.context.Cookie
 
isSecure() - Method in class org.pac4j.core.context.JEEContext
 
isSecure() - Method in interface org.pac4j.core.context.WebContext
Return whether the request is secure.
ISSUED_AT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
ISSUER - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
isTrimValue() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
isTypedIdOf(String, Class<? extends CommonProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
Indicate if the user identifier matches this kind of profile.
isUseModernHttpCodes() - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
 

J

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() - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
Use the default salt generated by BCrypt.gensalt().
JBCryptPasswordEncoder(String) - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
JEEContext - Class in org.pac4j.core.context
This implementation uses the JEE HttpServletRequest and HttpServletResponse.
JEEContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.pac4j.core.context.JEEContext
Build a JEE context from the current HTTP request and response.
JEEContext(HttpServletRequest, HttpServletResponse, SessionStore<JEEContext>) - Constructor for class org.pac4j.core.context.JEEContext
Build a JEE context from the current HTTP request and response and from a session store.
JEEContextFactory - Class in org.pac4j.core.context
Build a JEE context from parameters.
JEEContextFactory() - Constructor for class org.pac4j.core.context.JEEContextFactory
 
JEEHttpActionAdapter - Class in org.pac4j.core.http.adapter
The HTTP action adapter for the JEEContext.
JEEHttpActionAdapter() - Constructor for class org.pac4j.core.http.adapter.JEEHttpActionAdapter
 
JEESessionStore - Class in org.pac4j.core.context.session
Store data in the JEE web session.
JEESessionStore() - Constructor for class org.pac4j.core.context.session.JEESessionStore
 
JsonSerializer - Class in org.pac4j.core.util.serializer
A JSON serializer.
JsonSerializer(Class<? extends Object>) - Constructor for class org.pac4j.core.util.serializer.JsonSerializer
 
JWT_ID - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
JwtClaims - Interface in org.pac4j.core.profile.jwt
JWT claims: https://tools.ietf.org/html/rfc7519#page-9

L

LINKEDID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
 
LOAD_PROFILES_FROM_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
LoadLinkedUserAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
Load a linked account and replace the original account.
LoadLinkedUserAuthorizationGenerator() - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
LoadLinkedUserAuthorizationGenerator(ProfileService) - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
LOCAL_LOGOUT - Static variable in interface org.pac4j.core.util.Pac4jConstants
Whether a local logout must be performed
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>, int, int, TimeUnit) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
LocalCachingAuthenticator(Authenticator<T>, Store<T, CommonProfile>) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
locale - Variable in class org.pac4j.core.profile.converter.DateConverter
 
LOCALE - Static variable in class org.pac4j.core.profile.converter.Converters
 
LOCALE - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
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
 
LOCATION - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
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.context.session.JEESessionStore
 
logger - Variable in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
logger - Variable in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
logger - Variable in class org.pac4j.core.profile.BasicUserProfile
 
logger - Static variable in class org.pac4j.core.profile.converter.DateConverter
 
logger - Variable in class org.pac4j.core.profile.definition.ProfileDefinition
 
logger - Variable in class org.pac4j.core.profile.ProfileManager
 
logger - Variable in class org.pac4j.core.profile.service.AbstractProfileService
 
logout() - Method in class org.pac4j.core.profile.ProfileManager
Perform a logout by removing the current user profile(s).
LOGOUT_ENDPOINT_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
LOGOUT_URL_PATTERN - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
LogoutActionBuilder - Interface in org.pac4j.core.logout
The RedirectionAction for logout.
LogoutHandler<C extends WebContext> - Interface in org.pac4j.core.logout.handler
This interface defines how to handle logout requests on client side.
logoutLogic - Variable in class org.pac4j.core.config.Config
 
logoutLogic(LogoutLogic, Config, LogoutLogic) - Static method in class org.pac4j.core.util.FindBest
 
LogoutLogic<R,​C extends WebContext> - Interface in org.pac4j.core.engine
Logout logic for the application and the identity provider.
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

MALE - org.pac4j.core.profile.Gender
 
Matcher - Interface in org.pac4j.core.matching.matcher
To match requests.
matchers - Variable in class org.pac4j.core.config.Config
 
MATCHERS - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
matches(String, String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
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(String, WebContext) - Method in interface org.pac4j.core.http.callback.CallbackUrlResolver
Whether the current context matches the client name.
matches(String, WebContext) - Method in class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
 
matches(String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
 
matches(String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.CacheControlMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
 
matches(WebContext) - Method in interface org.pac4j.core.matching.matcher.Matcher
Check if the web context matches.
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
 
matches(WebContext) - Method in class org.pac4j.core.matching.matcher.XSSProtectionMatcher
 
matches(WebContext, String, Map<String, Matcher>, List<Client<? extends Credentials>>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
 
matches(WebContext, String, Map<String, Matcher>, List<Client<? extends Credentials>>) - Method in interface org.pac4j.core.matching.checker.MatchingChecker
Check if the web context matches.
MatchingChecker - Interface in org.pac4j.core.matching.checker
The way to check requests matching.
MULTI_PROFILE - Static variable in interface org.pac4j.core.util.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
 
mustLoadProfilesFromSession(C, List<Client>) - Method in class org.pac4j.core.engine.decision.AlwaysUseSessionProfileStorageDecision
 
mustLoadProfilesFromSession(C, List<Client>) - Method in class org.pac4j.core.engine.decision.DefaultProfileStorageDecision
Load the profiles from the web session if no clients are defined or if the first client is an indirect one or if the first client is the anonymous one.
mustLoadProfilesFromSession(C, List<Client>) - Method in interface org.pac4j.core.engine.decision.ProfileStorageDecision
Whether we must load the profiles from the web session.
mustSaveProfileInSession(C, List<Client>, DirectClient, UserProfile) - Method in class org.pac4j.core.engine.decision.AlwaysUseSessionProfileStorageDecision
 
mustSaveProfileInSession(C, List<Client>, DirectClient, UserProfile) - Method in class org.pac4j.core.engine.decision.DefaultProfileStorageDecision
Never save the profile in session after a direct client authentication.
mustSaveProfileInSession(C, List<Client>, DirectClient, UserProfile) - Method in interface org.pac4j.core.engine.decision.ProfileStorageDecision
Whether we must save the profile in session after the authentication of direct clients.

N

newContext(Object...) - Method in class org.pac4j.core.context.JEEContextFactory
 
newContext(Object...) - Method in interface org.pac4j.core.context.WebContextFactory
 
newDate(Date) - Static method in class org.pac4j.core.util.CommonHelper
Copy a date.
newDefaultCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
 
newProfile - Variable in class org.pac4j.core.profile.definition.ProfileDefinition
 
newProfile(Object...) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Return the new built profile.
NO_CONTENT - Static variable in interface org.pac4j.core.context.HttpConstants
 
NOCACHE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "nocache" authorizer.
NoContentAction - Exception in org.pac4j.core.exception.http
A no content HTTP action.
NoContentAction() - Constructor for exception org.pac4j.core.exception.http.NoContentAction
 
NOFRAME - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "noframe" authorizer.
NoLogoutActionBuilder - Class in org.pac4j.core.logout
No RedirectionAction for logout.
NoLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.NoLogoutActionBuilder
 
NONE - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
 
NONE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
 
NoParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
No name is added to the callback URL to be able to distinguish the client, so it doesn't match.
NoParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
 
NOSNIFF - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "nosniff" authorizer.
NOT_BEFORE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
notifySessionRenewal(String, WebContext) - Method in class org.pac4j.core.client.BaseClient
Notify of the web session renewal.

O

OIDC_CLAIM_SESSIONID - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
OK - Static variable in interface org.pac4j.core.context.HttpConstants
 
OkAction - Exception in org.pac4j.core.exception.http
An OK HTTP action.
OkAction(String) - Constructor for exception org.pac4j.core.exception.http.OkAction
 
openConnection(URL, String, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
 
openDeleteConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
 
openPostConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
 
openPostConnection(URL, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
 
OPTIONS - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
or(Authorizer<U>...) - Static method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
 
OrAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization.authorizer
The disjunction of authorizers.
OrAuthorizer(List<Authorizer<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.OrAuthorizer
 
org.pac4j.core.authorization.authorizer - package org.pac4j.core.authorization.authorizer
 
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.config - package org.pac4j.core.client.config
 
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.engine.decision - package org.pac4j.core.engine.decision
 
org.pac4j.core.engine.savedrequest - package org.pac4j.core.engine.savedrequest
 
org.pac4j.core.exception - package org.pac4j.core.exception
 
org.pac4j.core.exception.http - package org.pac4j.core.exception.http
 
org.pac4j.core.http.adapter - package org.pac4j.core.http.adapter
 
org.pac4j.core.http.ajax - package org.pac4j.core.http.ajax
 
org.pac4j.core.http.callback - package org.pac4j.core.http.callback
 
org.pac4j.core.http.url - package org.pac4j.core.http.url
 
org.pac4j.core.logout - package org.pac4j.core.logout
 
org.pac4j.core.logout.handler - package org.pac4j.core.logout.handler
 
org.pac4j.core.matching.checker - package org.pac4j.core.matching.checker
 
org.pac4j.core.matching.matcher - package org.pac4j.core.matching.matcher
 
org.pac4j.core.matching.matcher.csrf - package org.pac4j.core.matching.matcher.csrf
 
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.profile.definition - package org.pac4j.core.profile.definition
 
org.pac4j.core.profile.factory - package org.pac4j.core.profile.factory
 
org.pac4j.core.profile.jwt - package org.pac4j.core.profile.jwt
 
org.pac4j.core.profile.service - package org.pac4j.core.profile.service
 
org.pac4j.core.redirect - package org.pac4j.core.redirect
 
org.pac4j.core.store - package org.pac4j.core.store
 
org.pac4j.core.util - package org.pac4j.core.util
 
org.pac4j.core.util.generator - package org.pac4j.core.util.generator
 
org.pac4j.core.util.serializer - package org.pac4j.core.util.serializer
 

P

Pac4jConstants - Interface in org.pac4j.core.util
Common constants.
Pac4JPrincipal - Class in org.pac4j.core.profile
Default implementation for Principal based on a pac4j BasicUserProfile.
Pac4JPrincipal(UserProfile) - Constructor for class org.pac4j.core.profile.Pac4JPrincipal
 
ParameterExtractor - Class in org.pac4j.core.credentials.extractor
To extract a parameter value.
ParameterExtractor(String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
ParameterExtractor(String, boolean, boolean) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
PASSWORD - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
PasswordEncoder - Interface in org.pac4j.core.credentials.password
Encode a password.
PATCH - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
PathMatcher - Class in org.pac4j.core.matching.matcher
Matches all request paths except whitelisted (excluded) paths.
PathMatcher() - Constructor for class org.pac4j.core.matching.matcher.PathMatcher
 
PathMatcher(String) - Constructor for class org.pac4j.core.matching.matcher.PathMatcher
 
PathParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
The client name is added to the path of the callback URL.
PathParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
 
pattern - Variable in class org.pac4j.core.matching.matcher.HeaderMatcher
 
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.
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean, Boolean, String) - Method in interface org.pac4j.core.engine.CallbackLogic
Perform the callback logic.
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean, Boolean, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
perform(C, Config, HttpActionAdapter<R, C>, String, String, Boolean, Boolean, Boolean) - Method in class org.pac4j.core.engine.DefaultLogoutLogic
 
perform(C, Config, HttpActionAdapter<R, C>, String, String, Boolean, Boolean, Boolean) - Method in interface org.pac4j.core.engine.LogoutLogic
Perform the application logout logic.
PICTURE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
POST - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
POST - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
 
primary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Add an attribute as a primary one and its converter.
PROFILE_ATTRIBUTE - org.pac4j.core.profile.AttributeLocation
Profile "basic" attribute.
PROFILE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
ProfileAuthorizer<U extends UserProfile> - 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> - Interface in org.pac4j.core.profile.creator
This interface is responsible to create a UserProfile from a Credentials.
ProfileDefinition<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
Define a profile (its class and attributes).
ProfileDefinition() - Constructor for class org.pac4j.core.profile.definition.ProfileDefinition
 
ProfileDefinitionAware<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
For classes that can set the profile definition.
ProfileDefinitionAware() - Constructor for class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
profileFactory - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
 
ProfileFactory<P extends UserProfile> - Interface in org.pac4j.core.profile.factory
A profile factory.
ProfileHelper - Class in org.pac4j.core.profile
This class is an helper for profiles.
ProfileManager<U extends UserProfile> - Class in org.pac4j.core.profile
This class is a generic way to manage the current user profile(s), i.e. the one(s) of the current authenticated user.
ProfileManager(WebContext) - Constructor for class org.pac4j.core.profile.ProfileManager
 
ProfileManager(WebContext, SessionStore) - Constructor for class org.pac4j.core.profile.ProfileManager
Deprecated.
profileManagerFactory(ProfileManagerFactory, Config, ProfileManagerFactory) - Static method in class org.pac4j.core.util.FindBest
 
ProfileManagerFactory - Interface in org.pac4j.core.profile.factory
A ProfileManager factory based on the WebContext.
profileManagerFactory2(ProfileManagerFactory2, Config, ProfileManagerFactory2) - Static method in class org.pac4j.core.util.FindBest
 
ProfileManagerFactory2 - Interface in org.pac4j.core.profile.factory
Deprecated.
ProfileManagerFactoryAware<C extends WebContext> - Class in org.pac4j.core.profile.factory
For classes that can set the profile manager factory.
ProfileManagerFactoryAware() - Constructor for class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
 
profiles - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
 
ProfileService<U extends CommonProfile> - Interface in org.pac4j.core.profile.service
Profile services: creation, update, delete and retrievals in the storage.
ProfileServiceSerializer - Class in org.pac4j.core.util.serializer
A serializer for the ProfileService.
ProfileServiceSerializer(Class<? extends Object>) - Constructor for class org.pac4j.core.util.serializer.ProfileServiceSerializer
 
ProfileServiceSerializer(JsonSerializer, JavaSerializationHelper) - Constructor for class org.pac4j.core.util.serializer.ProfileServiceSerializer
 
ProfileStorageDecision<C extends WebContext> - Interface in org.pac4j.core.engine.decision
Defines the decisions related to load/save the profile(s) from/into the session store.
PUT - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 
PUT - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
 

Q

QueryParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
The client name is added as a query parameter to the callback URL.
QueryParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 
QueryParameterCallbackUrlResolver(Map<String, String>) - Constructor for class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 

R

randomString(int) - Static method in class org.pac4j.core.util.CommonHelper
Return a random string of a certain size.
RandomValueGenerator - Class in org.pac4j.core.util.generator
Value generator which returns a random value.
RandomValueGenerator() - Constructor for class org.pac4j.core.util.generator.RandomValueGenerator
 
RandomValueGenerator(int) - Constructor for class org.pac4j.core.util.generator.RandomValueGenerator
 
read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Read the list of defined attributes in the storage for key=value query.
read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
 
readBody(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
 
readExternal(ObjectInput) - Method in class org.pac4j.core.profile.BasicUserProfile
 
recordSession(C, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
recordSession(C, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
Associates a key with the current web session.
RedirectionAction - Exception in org.pac4j.core.exception.http
A "redirection" HTTP action.
RedirectionAction(int) - Constructor for exception org.pac4j.core.exception.http.RedirectionAction
 
RedirectionActionBuilder - Interface in org.pac4j.core.redirect
Return the redirection action to perform.
RedirectionActionHelper - Class in org.pac4j.core.exception.http
Helper to build RedirectionAction.
RedirectionActionHelper() - Constructor for class org.pac4j.core.exception.http.RedirectionActionHelper
 
redirectToIdentityProvider(C, List<Client<? extends Credentials>>) - 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
 
remove(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Remove the current user profile(s).
remove(K) - Method in class org.pac4j.core.store.AbstractStore
 
remove(K) - Method in interface org.pac4j.core.store.Store
Remove the value associated to the key.
remove(U) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
remove(U) - Method in interface org.pac4j.core.profile.service.ProfileService
Rmove a profile in the storage.
removeAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Remove an attribute by its key.
removeAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Remove an authentication attribute by its key
removeById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
removeById(String) - Method in interface org.pac4j.core.profile.service.ProfileService
Remove a profile by its identifier in the storage.
removeFromCache(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
removeLoginData() - Method in class org.pac4j.core.profile.BasicUserProfile
Remove the specific data retrieved during the login process to only keep the user attributes, roles and permissions.
removeOrRenewExpiredProfiles(LinkedHashMap<String, U>, boolean) - Method in class org.pac4j.core.profile.ProfileManager
 
RENEW_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
Whether the session must be renewed after login.
renewSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Renew the native session by copying all data to a new one.
renewSession(C, Config) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
renewSession(String, C) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
renewSession(String, C) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
Renew the web session.
renewSession(JEEContext) - Method in class org.pac4j.core.context.session.JEESessionStore
 
renewUserProfile(UserProfile, WebContext) - Method in class org.pac4j.core.client.BaseClient
 
renewUserProfile(UserProfile, WebContext) - Method in interface org.pac4j.core.client.Client
Renew the user profile.
REQUESTED_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
requireAllPermissions(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
requireAllPermissions(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
requireAllPermissions(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer<U extends UserProfile> - 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
 
requireAllRoles(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
requireAllRoles(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
requireAllRoles(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer<U extends UserProfile> - 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
 
requireAnyAttribute(String) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
RequireAnyAttributeAuthorizer<U extends UserProfile> - 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
 
requireAnyPermission(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
requireAnyPermission(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
requireAnyPermission(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer<U extends UserProfile> - 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
 
requireAnyRole(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
requireAnyRole(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
requireAnyRole(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer<U extends UserProfile> - 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
 
restore(WebContext, String) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
 
restore(WebContext, String) - Method in interface org.pac4j.core.engine.savedrequest.SavedRequestHandler
Restore the saved request.
restoreOrBuildProfile(ProfileDefinition<? extends CommonProfile>, String, Map<String, Object>, Map<String, Object>, Object...) - Static method in class org.pac4j.core.profile.ProfileHelper
Restore or build a profile.
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.
retrieveLoadProfilesFromSession(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Compute whether we must read the user profiles from the session.
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
Retrieve a user profile.
runtimeException(Exception) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
Wrap an Exception into a RuntimeException.

S

sanitizeIdentifier(BasicUserProfile, Object) - Static method in class org.pac4j.core.profile.ProfileHelper
Sanitize into a string identifier.
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).
save(WebContext) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
 
save(WebContext) - Method in interface org.pac4j.core.engine.savedrequest.SavedRequestHandler
Saves the current web context.
SAVE_IN_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
saveAll(LinkedHashMap<String, U>, boolean) - Method in class org.pac4j.core.profile.ProfileManager
 
SavedRequestHandler - Interface in org.pac4j.core.engine.savedrequest
Saves a request before a login process and restores it after a successfull login.
saveRequestedUrl(C, List<Client<? extends Credentials>>, AjaxRequestResolver) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Save the requested url.
saveUserProfile(C, Config, UserProfile, boolean, 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
 
secondary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Add an attribute as a secondary one and its converter.
SecurityGrantedAccessAdapter<R,​C extends WebContext> - Interface in org.pac4j.core.engine
Success adapter.
SECURITYHEADERS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "securityheaders" authorizer.
securityLogic - Variable in class org.pac4j.core.config.Config
 
securityLogic(SecurityLogic, Config, SecurityLogic) - Static method in class org.pac4j.core.util.FindBest
 
SecurityLogic<R,​C extends WebContext> - Interface in org.pac4j.core.engine
Security logic to protect an url.
SEE_OTHER - Static variable in interface org.pac4j.core.context.HttpConstants
 
SeeOtherAction - Exception in org.pac4j.core.exception.http
A "See Other" HTTP action.
SeeOtherAction(String) - Constructor for exception org.pac4j.core.exception.http.SeeOtherAction
 
SEPARATOR - Static variable in class org.pac4j.core.profile.BasicUserProfile
 
SERIALIZED_PROFILE - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
 
Serializer - Interface in org.pac4j.core.util.serializer
The serializer contract.
serializeToBase64(Serializable) - Method in class org.pac4j.core.util.JavaSerializationHelper
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.
SESSION_ID - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
sessionStore - Variable in class org.pac4j.core.config.Config
 
sessionStore - Variable in class org.pac4j.core.profile.ProfileManager
 
sessionStore(SessionStore, Config, SessionStore) - Static method in class org.pac4j.core.util.FindBest
 
SessionStore<C extends WebContext> - Interface in org.pac4j.core.context.session
To store data in session.
set(C, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
Save an object in the store by its key.
set(K, O) - Method in class org.pac4j.core.store.AbstractStore
 
set(K, O) - Method in interface org.pac4j.core.store.Store
Set a value by its key.
set(JEEContext, String, Object) - Method in class org.pac4j.core.context.session.JEESessionStore
 
setAddRedirectionUrlAsHeader(boolean) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
 
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.matching.matcher.CorsMatcher
 
setAllowHeaders(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
setAllowMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
setAllowOrigin(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
setAttributes(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Since version 2.0 of pac4j, the profile can be saved, updated and deleted in the storage by serializing the profile (in the serializedprofile attribute).
setAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizationChecker(AuthorizationChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setAuthorizationGenerator(AuthorizationGenerator) - 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>) - 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.BaseClient
 
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
 
setBlue(int) - Method in class org.pac4j.core.profile.Color
 
setCacheSize(int) - 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
 
setCheckAllRequests(boolean) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setClientName(String) - Method in class org.pac4j.core.profile.BasicUserProfile
 
setClientName(String) - Method in interface org.pac4j.core.profile.UserProfile
 
setClientNameParameter(String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
 
setClientNameParameter(String) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
 
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
 
setCompleteRelativeUrl(boolean) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
 
setConfig(Config) - Static method in class org.pac4j.core.config.Config
 
setConfig(Config) - Method in class org.pac4j.core.profile.ProfileManager
 
setConnectTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
 
setCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
 
setCsrfTokenGenerator(CsrfTokenGenerator) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setCustomProperties(Map<String, Object>) - Method in class org.pac4j.core.client.BaseClient
 
setDefaultSecurityClients(String) - Method in class org.pac4j.core.client.Clients
 
setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
setDelegate(Authenticator<T>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setDestroySession(boolean) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
setDomain(String) - Method in class org.pac4j.core.context.Cookie
 
setDomain(String) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setErrorUrl(String) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
Define on which error URL the user will be redirected in case of an exception.
setExcludedPath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
setExcludedPaths(Collection<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
setExcludedPattern(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
setExcludedPatterns(Collection<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
setExpectedValue(String) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
setExpiry(Date) - Method in class org.pac4j.core.context.Cookie
 
setExposeHeaders(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
setFailIfLinkedUserNotFound(boolean) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
setGreen(int) - Method in class org.pac4j.core.profile.Color
 
setHeaderName(String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
setHeaderName(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
setHeaderName(String) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
 
setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
 
setHttpOnly(Boolean) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setId(String) - Method in class org.pac4j.core.profile.BasicUserProfile
Set the identifier.
setIdAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setLinkedId(String) - Method in class org.pac4j.core.profile.BasicUserProfile
 
setLogoutActionBuilder(LogoutActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
 
setLogoutLogic(LogoutLogic) - Method in class org.pac4j.core.config.Config
 
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.context.Cookie
 
setMaxAge(int) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
setMaxAge(int) - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
 
setMaxAge(Integer) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
 
setName(String) - Method in class org.pac4j.core.client.BaseClient
 
setName(String) - Method in class org.pac4j.core.context.Cookie
 
setObjectMapper(ObjectMapper) - Method in class org.pac4j.core.util.serializer.JsonSerializer
 
setParameterName(String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
 
setPasswordAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setPasswordEncoder(PasswordEncoder) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setPath(String) - Method in class org.pac4j.core.context.Cookie
 
setPath(String) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setPermissionAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
setPermissions(Set<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
 
setPrefixHeader(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
setProfileCreator(ProfileCreator<C>) - Method in class org.pac4j.core.client.BaseClient
 
setProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
setProfileFactory(ProfileFactory<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Define the way to build the profile.
setProfileFactoryWhenNotAuthenticated(ProfileFactory<UserProfile>) - Method in class org.pac4j.core.client.BaseClient
 
setProfileId(String) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
setProfileManagerFactory(String, ProfileManagerFactory) - Static method in class org.pac4j.core.config.Config
 
setProfileManagerFactory(ProfileManagerFactory) - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
 
setProfileManagerFactory2(String, ProfileManagerFactory2) - Static method in class org.pac4j.core.config.Config
Deprecated.
setProfileService(ProfileService) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
setProfileStorageDecision(ProfileStorageDecision) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setReadTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
 
setRed(int) - Method in class org.pac4j.core.profile.Color
 
setRedirectionActionBuilder(RedirectionActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
 
setRedirectionUrl(String) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
setRemembered(boolean) - Method in class org.pac4j.core.profile.BasicUserProfile
Define if this profile is remembered.
setRemembered(boolean) - Method in interface org.pac4j.core.profile.UserProfile
 
setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.JEEContext
 
setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save a request attribute.
setResponseContentType(String) - Method in class org.pac4j.core.context.JEEContext
 
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.JEEContext
 
setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
Add a header to the response.
setRoleAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
setRoles(Set<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
 
setSalt(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
 
setSavedRequestHandler(SavedRequestHandler) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
setSavedRequestHandler(SavedRequestHandler) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
 
setSecure(Boolean) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
 
setSerializer(Serializer) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setSessionStore(SessionStore) - Method in class org.pac4j.core.config.Config
 
setSessionStore(SessionStore) - Method in class org.pac4j.core.profile.ProfileManager
 
setSize(int) - Method in class org.pac4j.core.store.GuavaStore
 
setSize(int) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
 
setSplitChar(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
setStore(Store<String, Object>) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
setStore(Store<T, CommonProfile>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setTimeout(int) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setTimeout(int) - Method in class org.pac4j.core.store.GuavaStore
 
setTimeUnit(TimeUnit) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setTimeUnit(TimeUnit) - Method in class org.pac4j.core.store.GuavaStore
 
setTrimValue(boolean) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.Clients
 
setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.IndirectClient
 
setUseModernHttpCodes(boolean) - Static method in class org.pac4j.core.exception.http.RedirectionActionHelper
 
setUsernameAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setUserProfile(CommonProfile) - Method in class org.pac4j.core.credentials.Credentials
 
setValue(String) - Method in class org.pac4j.core.context.Cookie
 
setValue(String) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
 
setVersion(int) - Method in class org.pac4j.core.context.Cookie
 
setWebContextFactory(WebContextFactory) - Method in class org.pac4j.core.config.Config
 
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
 
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 - 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
 
startAuthentication(C, List<Client<? extends Credentials>>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return whether we must start a login process if the first client is an indirect one.
StaticValueGenerator - Class in org.pac4j.core.util.generator
Value generator which returns a pre-defined value.
StaticValueGenerator() - Constructor for class org.pac4j.core.util.generator.StaticValueGenerator
 
StaticValueGenerator(String) - Constructor for class org.pac4j.core.util.generator.StaticValueGenerator
 
StatusAction - Exception in org.pac4j.core.exception.http
An HTTP action with just a specific status.
StatusAction(int) - Constructor for exception org.pac4j.core.exception.http.StatusAction
 
Store<K,​O> - Interface in org.pac4j.core.store
Store data.
StrictTransportSecurityMatcher - Class in org.pac4j.core.matching.matcher
Strict transport security header matcher.
StrictTransportSecurityMatcher() - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
 
StrictTransportSecurityMatcher(int) - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
 
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
 
SUBJECT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
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
 

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(String, Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TEMPORARY_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
 
TemporaryRedirectAction - Exception in org.pac4j.core.exception.http
A temporary redirect action.
TemporaryRedirectAction(String) - Constructor for exception org.pac4j.core.exception.http.TemporaryRedirectAction
 
TokenCredentials - Class in org.pac4j.core.credentials
This credentials represents a token.
TokenCredentials(String) - Constructor for class org.pac4j.core.credentials.TokenCredentials
 
toNiceString(Class<?>, Object...) - Static method in class org.pac4j.core.util.CommonHelper
Build a "nice toString" for an object.
toString() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
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.IndirectClient
 
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 class org.pac4j.core.engine.DefaultCallbackLogic
 
toString() - Method in class org.pac4j.core.engine.DefaultLogoutLogic
 
toString() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
toString() - Method in exception org.pac4j.core.exception.http.HttpAction
 
toString() - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
 
toString() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
 
toString() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
 
toString() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
 
toString() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
 
toString() - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
 
toString() - Method in class org.pac4j.core.profile.BasicUserProfile
 
toString() - Method in class org.pac4j.core.profile.Color
 
toString() - Method in class org.pac4j.core.profile.Pac4JPrincipal
 
toString() - Method in class org.pac4j.core.store.GuavaStore
 
toString() - Method in class org.pac4j.core.util.JavaSerializationHelper
 
TRACE - org.pac4j.core.context.HttpConstants.HTTP_METHOD
 

U

unauthorized(C, List<Client<? extends Credentials>>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return an unauthorized error.
UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
 
UnauthorizedAction - Exception in org.pac4j.core.exception.http
An unauthorized HTTP action.
UnauthorizedAction() - Constructor for exception org.pac4j.core.exception.http.UnauthorizedAction
 
UNSPECIFIED - org.pac4j.core.profile.Gender
 
update(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Update the attributes in the storage.
update(Map<String, Object>) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
 
update(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
update(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
Update a profile (with the associated password) in the storage.
updateIndirectClient(IndirectClient) - Method in class org.pac4j.core.client.Clients
Setup the indirect client.
URL - Static variable in class org.pac4j.core.profile.converter.Converters
 
URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
UrlConverter - Class in org.pac4j.core.profile.converter
URL converter.
UrlConverter() - Constructor for class org.pac4j.core.profile.converter.UrlConverter
 
urlEncode(String) - Static method in class org.pac4j.core.util.CommonHelper
URL encode a text using UTF-8.
urlResolver - Variable in class org.pac4j.core.client.IndirectClient
 
UrlResolver - Interface in org.pac4j.core.http.url
How to compute an URL.
USER_PROFILES - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
USERNAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
 
UsernamePasswordCredentials - Class in org.pac4j.core.credentials
This class represents a username and a password credentials
UsernamePasswordCredentials(String, String) - Constructor for class org.pac4j.core.credentials.UsernamePasswordCredentials
 
UserProfile - Interface in org.pac4j.core.profile
A minimal user profile: the UserProfile.getId() method must be implemented, absolutely required methods have a default behavior, others throw a UnsupportedOperationException.

V

validate(C, WebContext) - Method in interface org.pac4j.core.credentials.authenticator.Authenticator
Validate the credentials.
validate(UsernamePasswordCredentials, WebContext) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
validate(T, WebContext) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
ValueGenerator - Interface in org.pac4j.core.util.generator
Value generator.
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.AttributeLocation
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.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.AttributeLocation
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

warn() - Method in class org.pac4j.core.matching.matcher.PathMatcher
 
WebContext - Interface in org.pac4j.core.context
This interface represents the web context to use HTTP request and session.
webContextFactory - Variable in class org.pac4j.core.config.Config
 
webContextFactory(WebContextFactory, Config, WebContextFactory) - Static method in class org.pac4j.core.util.FindBest
 
WebContextFactory - Interface in org.pac4j.core.context
Build a web context from parameters.
WithContentAction - Interface in org.pac4j.core.exception.http
An action with a content.
WithLocationAction - Interface in org.pac4j.core.exception.http
An action with a location.
writeExternal(ObjectOutput) - Method in class org.pac4j.core.profile.BasicUserProfile
 

X

XContentTypeOptionsMatcher - Class in org.pac4j.core.matching.matcher
XContent type options header matcher.
XContentTypeOptionsMatcher() - Constructor for class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
 
XFrameOptionsMatcher - Class in org.pac4j.core.matching.matcher
XFrame options header matcher.
XFrameOptionsMatcher() - Constructor for class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
 
XSSPROTECTION - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
The "xssprotection" authorizer.
XSSProtectionMatcher - Class in org.pac4j.core.matching.matcher
XSS protection header matcher.
XSSProtectionMatcher() - Constructor for class org.pac4j.core.matching.matcher.XSSProtectionMatcher
 
A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes All Packages