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

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 CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Check the authentication of the user.
AbstractCheckAuthenticationAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
AbstractCheckAuthenticationAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
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 CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require all the elements.
AbstractRequireAllAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
 
AbstractRequireAnyAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require any of the elements.
AbstractRequireAnyAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
 
AbstractRequireElementAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
An authorizer to require elements.
AbstractRequireElementAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
AbstractStore<K,O> - Class in org.pac4j.core.store
Abstract store.
AbstractStore() - Constructor for class org.pac4j.core.store.AbstractStore
 
ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_METHODS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_ALLOW_ORIGIN_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_EXPOSE_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
ACCESS_CONTROL_MAX_AGE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AccountNotFoundException - Exception in org.pac4j.core.exception
Exception when an account is not found.
AccountNotFoundException(String) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
 
AccountNotFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
 
adapt(C, Object...) - Method in interface org.pac4j.core.engine.SecurityGrantedAccessAdapter
Adapt the current successful action as the expected result.
adapt(int, C) - Method in interface org.pac4j.core.http.HttpActionAdapter
Adapt the HTTP action.
adapt(int, J2EContext) - Method in class org.pac4j.core.http.J2ENopHttpActionAdapter
 
addAttribute(String, Object) - Method in class org.pac4j.core.profile.UserProfile
Add an attribute.
addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
Add attributes.
addAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
 
addAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
 
addMatcher(String, Matcher) - Method in class org.pac4j.core.config.Config
 
addParameter(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
Add a new parameter to an url.
addPermission(String) - Method in class org.pac4j.core.profile.UserProfile
Add a permission.
addPermissions(Collection<String>) - Method in class org.pac4j.core.profile.UserProfile
Add permissions.
addResponseCookie(Cookie) - Method in class org.pac4j.core.context.J2EContext
 
addResponseCookie(Cookie) - Method in interface org.pac4j.core.context.WebContext
Adds cookies to the response
addRole(String) - Method in class org.pac4j.core.profile.UserProfile
Add a role.
addRoles(Collection<String>) - Method in class org.pac4j.core.profile.UserProfile
Add roles.
addRoles(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
Add roles.
AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
 
AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
 
AjaxRequestResolver - Interface in org.pac4j.core.http
Compute if a HTTP request is an AJAX one.
ALLOW_AJAX_REQUESTS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "allowAjaxRequests" authorizer.
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
 
areEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are equals (both null is ok).
areEqualsIgnoreCaseAndTrim(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are equals ignoring the case and the blank spaces (both null is ok).
areNotEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are not equals.
assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a String is not blank otherwise throw a TechnicalException.
assertNotNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
Verify that an Object is not null otherwise throw a TechnicalException.
assertNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
Verify that an Object is null otherwise throw a TechnicalException.
assertTrue(boolean, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a boolean is true otherwise throw a TechnicalException.
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.
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
 
Authenticator<C extends Credentials> - Interface in org.pac4j.core.credentials.authenticator
An authenticator is responsible for validating Credentials and should throw a CredentialsException if the authentication fails.
AuthenticatorProfileCreator<C extends Credentials,P extends CommonProfile> - Class in org.pac4j.core.profile.creator
This profile creator retrieves the user profile attached in the Credentials.
AuthenticatorProfileCreator() - Constructor for class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
AUTHORIZATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AuthorizationChecker - Interface in org.pac4j.core.authorization.checker
The way to check authorizations.
AuthorizationGenerator<U extends CommonProfile> - Interface in org.pac4j.core.authorization.generator
Generate the authorization roles and permissions for this user profile.
Authorizer<U extends CommonProfile> - Interface in org.pac4j.core.authorization.authorizer
Checks if an access is authorized.
authorizers - Variable in class org.pac4j.core.config.Config
 
AUTHORIZERS - Static variable in interface org.pac4j.core.context.Pac4jConstants
 

B

BAD_REQUEST - Static variable in interface org.pac4j.core.context.HttpConstants
 
BadCredentialsException - Exception in org.pac4j.core.exception
Exception for bad credentials.
BadCredentialsException(String) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BaseClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default implementation of an authentication client (whatever the mechanism).
BaseClient() - Constructor for class org.pac4j.core.client.BaseClient
 
BASIC_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
BasicAuthExtractor - Class in org.pac4j.core.credentials.extractor
To extract basic auth header.
BasicAuthExtractor(String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BasicAuthExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
 
BEARER_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
BOOLEAN - Static variable in class org.pac4j.core.profile.converter.Converters
 
BooleanConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Boolean or returns the Boolean in input.
BooleanConverter() - Constructor for class org.pac4j.core.profile.converter.BooleanConverter
 
build(String, Object...) - Static method in class org.pac4j.core.config.ConfigBuilder
 
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.UserProfile
Build a profile from user identifier and attributes.
buildFromTrackableSession(J2EContext, Object) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
buildFromTrackableSession(C, Object) - Method in interface org.pac4j.core.context.session.SessionStore
Build a new session store from a trackable session.
buildUserProfileByClassCompleteName(String) - Static method in class org.pac4j.core.profile.ProfileHelper
Build a profile by its class name.

C

CacheControlHeader - Class in org.pac4j.core.authorization.authorizer
Cache control header.
CacheControlHeader() - Constructor for class org.pac4j.core.authorization.authorizer.CacheControlHeader
 
callbackLogic - Variable in class org.pac4j.core.config.Config
 
CallbackLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
Callback logic to finish the login process for an indirect client.
callbackUrl - Variable in class org.pac4j.core.client.IndirectClient
 
CasLogoutActionBuilder<U extends CommonProfile> - 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.context.Pac4jConstants
Whether a central logout must be performed
check(WebContext, U, E) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
Check a specific element.
check(WebContext, CommonProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
check(WebContext, U, Class<U>) - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
Checks the HTTP method.
CheckHttpMethodAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(List<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckHttpMethodAuthorizer(Set<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
 
CheckProfileTypeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks the profile type.
CheckProfileTypeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(Class<U>...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(List<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
CheckProfileTypeAuthorizer(Set<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
 
clearSensitiveData() - Method in class org.pac4j.core.profile.UserProfile
 
Client<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.client
This interface is the core class of the library.
ClientFinder - Interface in org.pac4j.core.client.finder
The way to find the client.
clientInit(WebContext) - Method in class org.pac4j.core.client.direct.AnonymousClient
 
clientInit(WebContext) - Method in class org.pac4j.core.client.DirectClient
Initialize the client.
clientInit(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Initialize the client.
Clients - Class in org.pac4j.core.client
This class is made to group multiple clients using a specific parameter to distinguish them, generally on one callback url.
Clients() - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, Client) - Constructor for class org.pac4j.core.client.Clients
 
Clients(List<Client>) - Constructor for class org.pac4j.core.client.Clients
 
Clients(Client...) - Constructor for class org.pac4j.core.client.Clients
 
Clients(Client) - Constructor for class org.pac4j.core.client.Clients
 
clients - Variable in class org.pac4j.core.config.Config
 
CLIENTS - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
code - Variable in exception org.pac4j.core.exception.HttpAction
 
Color - Class in org.pac4j.core.profile
This class is a simple RGB color values holder.
Color(int, int, int) - Constructor for class org.pac4j.core.profile.Color
 
COLOR - Static variable in class org.pac4j.core.profile.converter.Converters
 
ColorConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Color.
ColorConverter() - Constructor for class org.pac4j.core.profile.converter.ColorConverter
 
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
 
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(Function<Object[], 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.DefaultUrlResolver
 
compute(String, WebContext) - Method in class org.pac4j.core.http.RelativeUrlResolver
 
compute(String, WebContext) - Method in interface org.pac4j.core.http.UrlResolver
Compute a new URL from the provided URL and the web context.
computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
Config - Class in org.pac4j.core.config
The default configuration with clients, authorizers and matchers.
Config() - Constructor for class org.pac4j.core.config.Config
 
Config(Client) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients) - Constructor for class org.pac4j.core.config.Config
 
Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
 
Config(Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, List<Client>) - Constructor for class org.pac4j.core.config.Config
 
Config(Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
Config(Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
 
Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
 
config - Variable in class org.pac4j.core.config.DefaultConfigFactory
 
CONFIG_FACTORY - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
ConfigBuilder - Class in org.pac4j.core.config
To build a configuration from a factory.
ConfigBuilder() - Constructor for class org.pac4j.core.config.ConfigBuilder
 
ConfigFactory - Interface in org.pac4j.core.config
A factory to build the configuration.
ConfigSingleton - Class in org.pac4j.core.config
A singleton of the configuration.
ConfigSingleton() - Constructor for class org.pac4j.core.config.ConfigSingleton
 
containsAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Check to see if profile contains attribute name.
CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
context - Variable in class org.pac4j.core.profile.ProfileManager
 
ContextHelper - Class in org.pac4j.core.context
A helper for the web context.
ContextHelper() - Constructor for class org.pac4j.core.context.ContextHelper
 
convert(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.
convertAndAdd(CommonProfile, String, Object) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Convert the attribute if necessary and add it to the profile.
convertAndAdd(CommonProfile, Map<String, Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Convert the attributes if necessary and add them to the profile.
convertAttributesToProfile(List<Map<String, Object>>) - 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
 
CorsAuthorizer - Class in org.pac4j.core.authorization.authorizer
Define how the CORS requests are authorized.
CorsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
create(C, WebContext) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
 
create(C, WebContext) - Method in interface org.pac4j.core.profile.creator.ProfileCreator
Create a profile from a credentials.
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(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsExtractor<C extends Credentials> - Interface in org.pac4j.core.credentials.extractor
An extractor gets the Credentials from a WebContext and should return null if no credentials are present or should throw a CredentialsException if it cannot get it.
CSRF - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "csrf" authorizer.
CSRF_CHECK - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "csrfCheck" authorizer.
CSRF_TOKEN - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "csrfToken" authorizer.
CSRF_TOKEN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
Authorizer that checks CSRF tokens.
CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
CsrfTokenGenerator - Interface in org.pac4j.core.authorization.authorizer.csrf
CSRF token generator.
CsrfTokenGeneratorAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
Authorizer which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 

D

DATE_TZ_GENERAL - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_GENERAL_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_RFC822 - Static variable in class org.pac4j.core.profile.converter.Converters
 
DATE_TZ_RFC822_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
 
DateConverter - Class in org.pac4j.core.profile.converter
This class converts a String (depending on a specified format) into a Date.
DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DEFAULT_CLIENT_NAME_PARAMETER - Static variable in class org.pac4j.core.client.Clients
 
DEFAULT_CONNECT_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_HTTP_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_HTTPS_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DefaultAjaxRequestResolver - Class in org.pac4j.core.http
Default way to compute if a HTTP request is an AJAX one.
DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.DefaultAjaxRequestResolver
 
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.context
Constants for authorizers.
DefaultCallbackLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default callback logic:
DefaultCallbackLogic() - Constructor for class org.pac4j.core.engine.DefaultCallbackLogic
 
DefaultClientFinder - Class in org.pac4j.core.client.finder
Find the right clients based on regular parameters.
DefaultClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultClientFinder
 
DefaultConfigFactory - Class in org.pac4j.core.config
A default configuration factory.
DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
 
defaultCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
 
DefaultCsrfTokenGenerator - Class in org.pac4j.core.authorization.authorizer.csrf
Default CSRF token generator.
DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
 
defaultLogoutActionBuilder(LogoutActionBuilder<U>) - Method in class org.pac4j.core.client.IndirectClient
 
DefaultLogoutLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default logout logic:
DefaultLogoutLogic() - Constructor for class org.pac4j.core.engine.DefaultLogoutLogic
 
DefaultMatchingChecker - Class in org.pac4j.core.matching
Default way to check the matching.
DefaultMatchingChecker() - Constructor for class org.pac4j.core.matching.DefaultMatchingChecker
 
defaultProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.BaseClient
 
defaultProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
defaultRedirectActionBuilder(RedirectActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
 
DefaultRolesPermissionsAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Grant default roles and/or permissions to a user profile.
DefaultRolesPermissionsAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultSecurityLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
Default security logic:
DefaultSecurityLogic() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogic
 
DefaultUrlResolver - Class in org.pac4j.core.http
Default URL resolver: uses the provided URL as is.
DefaultUrlResolver() - Constructor for class org.pac4j.core.http.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.
deleteById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Delete a profile by its identifier in the storage.
DESTROY_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
Whether we must destroy the web session during the local logout
destroySession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
destroySession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Destroy the web session.
DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
 
DirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
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_SEPRATOR - Static variable in interface org.pac4j.core.context.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(String) - Method in interface org.pac4j.core.credentials.password.PasswordEncoder
Encode a password.
encode(String) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
encode(String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
equals(Object) - Method in class org.pac4j.core.credentials.AnonymousCredentials
 
equals(Object) - Method in class org.pac4j.core.credentials.Credentials
 
equals(Object) - Method in class org.pac4j.core.credentials.TokenCredentials
 
equals(Object) - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
 
escapeHtml(String) - Static method in class org.pac4j.core.redirect.RedirectAction
 
excludeBranch(String) - Method in class org.pac4j.core.matching.PathMatcher
Convenience method for excluding all paths starting with a prefix e.g.
ExcludedPathMatcher - Class in org.pac4j.core.matching
Deprecated.
use PathMatcher instead.
ExcludedPathMatcher() - Constructor for class org.pac4j.core.matching.ExcludedPathMatcher
Deprecated.
 
ExcludedPathMatcher(String) - Constructor for class org.pac4j.core.matching.ExcludedPathMatcher
Deprecated.
 
excludePath(String) - Method in class org.pac4j.core.matching.PathMatcher
Any path exactly matching this string will be excluded.
excludeRegex(String) - Method in class org.pac4j.core.matching.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 interface org.pac4j.core.credentials.extractor.CredentialsExtractor
Extract the right credentials.
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
 
extract(WebContext) - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
 
extractPrefix(String) - Static method in class org.pac4j.core.util.CommonHelper
Extract the prefix of the name.

F

FAMILY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
find(Clients, WebContext, String) - Method in interface org.pac4j.core.client.finder.ClientFinder
 
find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultClientFinder
 
findAllClients() - Method in class org.pac4j.core.client.Clients
Find all the clients.
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(WebContext) - Method in class org.pac4j.core.client.Clients
Return the right client according to the web context.
findClient(String) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific name.
findClient(Class<C>) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific class.
FIRST_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
flatIntoAProfileList(LinkedHashMap<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the linked hashmap of profiles into a list of profiles.
flatIntoOneProfile(LinkedHashMap<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
Flat the linked hashmap of profiles into a single optional profile.
FORBIDDEN - Static variable in interface org.pac4j.core.context.HttpConstants
 
forbidden(C, List<Client>, List<CommonProfile>, String) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return a forbidden error.
forbidden(String, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build a forbidden response.
format - Variable in class org.pac4j.core.profile.converter.DateConverter
 
FormExtractor - Class in org.pac4j.core.credentials.extractor
To extract a username and password posted from a form.
FormExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.FormExtractor
 
FromAttributesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Generate the authorization information by inspecting attributes.
FromAttributesAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
FromAttributesAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 

G

GENDER - Static variable in class org.pac4j.core.profile.converter.Converters
 
GENDER - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
Gender - Enum in org.pac4j.core.profile
This enumeration is the gender of a user : male, female or unspecified.
GenderConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Gender.
GenderConverter() - Constructor for class org.pac4j.core.profile.converter.GenderConverter
 
generate(WebContext, U) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
Generate the authorization information from and for the user profile.
generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
 
generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
get(WebContext) - Method in interface org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGenerator
Get the CSRF token from the session or create it if it doesn't exist.
get(WebContext) - Method in class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
 
get(J2EContext, String) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
get(C, String) - Method in interface org.pac4j.core.context.session.SessionStore
Get the object from its key in store.
get(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the first user profile if it exists, ignoring any AnonymousProfile if possible.
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.
getAjaxRequestResolver() - Method in class org.pac4j.core.client.Clients
 
getAjaxRequestResolver() - Method in class org.pac4j.core.client.IndirectClient
 
getAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve all user profiles.
getAllowCredentials() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowMethods() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAllowOrigin() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Return the attribute with name.
getAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.UserProfile
Return the attribute with name.
getAttributes() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getAttributes() - Method in class org.pac4j.core.profile.UserProfile
Get all attributes as immutable map.
getAudience() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
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.IndirectClient
Deprecated.
getClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
getClientName() - Method in class org.pac4j.core.credentials.Credentials
 
getClientName() - Method in class org.pac4j.core.profile.UserProfile
 
getClientNameParameter() - Method in class org.pac4j.core.client.Clients
 
getClients() - Method in class org.pac4j.core.client.Clients
 
getClients() - Method in class org.pac4j.core.config.Config
 
getCode() - Method in exception org.pac4j.core.exception.HttpAction
Return the HTTP code.
getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
 
getComment() - Method in class org.pac4j.core.context.Cookie
 
getConfig() - Static method in class org.pac4j.core.config.ConfigSingleton
 
getContent() - Method in class org.pac4j.core.redirect.RedirectAction
 
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.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getDefaultClient() - Method in class org.pac4j.core.client.Clients
 
getDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
getDelegate() - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
getDelegate() - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
getDisplayName() - Method in class org.pac4j.core.profile.CommonProfile
Return the displayed name of the user.
getDomain() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getDomain() - Method in class org.pac4j.core.context.Cookie
 
getElements() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
getEmail() - Method in class org.pac4j.core.profile.CommonProfile
Return the email of the user.
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
Return the error message.
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
getErrorMessage() - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
getExcludedPaths() - Method in class org.pac4j.core.matching.PathMatcher
 
getExcludedPatterns() - Method in class org.pac4j.core.matching.PathMatcher
 
getExcludePath() - Method in class org.pac4j.core.matching.ExcludedPathMatcher
Deprecated.
 
getExpectedValue() - Method in class org.pac4j.core.matching.HeaderMatcher
 
getExpirationDate() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getExposeHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
getFamilyName() - Method in class org.pac4j.core.profile.CommonProfile
Return the family name of the user.
getFirstName() - Method in class org.pac4j.core.profile.CommonProfile
Return the first name of the user.
getFullRequestURL() - Method in class org.pac4j.core.context.J2EContext
 
getFullRequestURL() - Method in interface org.pac4j.core.context.WebContext
Return the full URL (with query string) the client used to request the server.
getGender() - Method in class org.pac4j.core.profile.CommonProfile
Return the gender of the user.
getGreen() - Method in class org.pac4j.core.profile.Color
 
getHeaderName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
getHeaderName() - Method in class org.pac4j.core.matching.HeaderMatcher
 
getHttpActionAdapter() - Method in class org.pac4j.core.config.Config
 
getHttpOnly() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getHttpSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
getId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier.
getIdAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getInternalAttributeHandler() - Static method in class org.pac4j.core.profile.ProfileHelper
 
getIssuedAt() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getIssuer() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getJavaSerializationHelper() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getLinkedId() - Method in class org.pac4j.core.profile.UserProfile
 
getLocale() - Method in class org.pac4j.core.profile.CommonProfile
Return the locale of the user.
getLocation() - Method in class org.pac4j.core.profile.CommonProfile
Return the location of the user.
getLocation() - Method in class org.pac4j.core.redirect.RedirectAction
 
getLogoutAction(WebContext, U, String) - Method in interface org.pac4j.core.client.Client
Return the logout action (indirect clients).
getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.client.DirectClient
 
getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.client.IndirectClient
 
getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
 
getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.logout.GoogleLogoutActionBuilder
 
getLogoutAction(WebContext, U, String) - Method in interface org.pac4j.core.logout.LogoutActionBuilder
Return the RedirectAction for logout.
getLogoutAction(WebContext, U, 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.authorization.authorizer.CorsAuthorizer
 
getMaxAge() - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
getMaxAge() - Method in class org.pac4j.core.context.Cookie
 
getMethods() - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
getName() - Method in class org.pac4j.core.client.BaseClient
 
getName() - Method in interface org.pac4j.core.client.Client
Get the name of the client.
getName() - Method in class org.pac4j.core.context.Cookie
 
getNotBefore() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
 
getOrCreateSessionId(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
getOrCreateSessionId(C) - Method in interface org.pac4j.core.context.session.SessionStore
Get or create the session identifier and initialize the session with it if necessary.
getParameterName() - Method in class org.pac4j.core.authorization.authorizer.csrf.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.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getPath() - Method in class org.pac4j.core.context.Cookie
 
getPath() - Method in class org.pac4j.core.context.J2EContext
This is not implemented using HttpServletRequest.getServletPath() or HttpServletRequest.getPathInfo() because they both have strange behaviours in different contexts (inside servlets, inside filters, various container implementation, etc)
getPath() - Method in interface org.pac4j.core.context.WebContext
Get the "servlet path" (in a J2E style).
getPermissions() - Method in class org.pac4j.core.profile.UserProfile
Get the permissions of the user.
getPictureUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the picture of the user.
getPrimaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
getProfileCreator() - Method in class org.pac4j.core.client.BaseClient
 
getProfileDefinition() - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
getProfileManager(C, Config) - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
Given a webcontext generate a profileManager for it.
getProfileManagerFactory() - Method in class org.pac4j.core.config.Config
 
getProfileManagerFactory() - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
 
getProfileService() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
getProfileUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the profile of the user.
getRed() - Method in class org.pac4j.core.profile.Color
 
getRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Get the redirectAction computed for this client.
getRedirectActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
 
getRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
 
getRemoteAddr() - Method in class org.pac4j.core.context.J2EContext
 
getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
Return the remote address.
getRequest() - Method in class org.pac4j.core.context.J2EContext
Return the HTTP request.
getRequestAttribute(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Return a request attribute.
getRequestContent() - Method in class org.pac4j.core.context.J2EContext
 
getRequestContent() - Method in interface org.pac4j.core.context.WebContext
Gets content body of the original request.
getRequestCookies() - Method in class org.pac4j.core.context.J2EContext
 
getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
Retrieves request cookies.
getRequestHeader(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
Return a request header.
getRequestMethod() - Method in class org.pac4j.core.context.J2EContext
 
getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
Return the request method.
getRequestParameter(String) - Method in class org.pac4j.core.context.J2EContext
 
getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
Return a request parameter.
getRequestParameters() - Method in class org.pac4j.core.context.J2EContext
 
getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
Return all request parameters.
getResponse() - Method in class org.pac4j.core.context.J2EContext
Return the HTTP response.
getRoles() - Method in class org.pac4j.core.profile.UserProfile
Get the roles of the user.
getScheme() - Method in class org.pac4j.core.context.J2EContext
 
getScheme() - Method in interface org.pac4j.core.context.WebContext
Return the scheme.
getSecondaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
 
getSecure() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
getSecurityLogic() - Method in class org.pac4j.core.config.Config
 
getSerializationHelper() - Method in class org.pac4j.core.profile.InternalAttributeHandler
 
getServerName() - Method in class org.pac4j.core.context.J2EContext
 
getServerName() - Method in interface org.pac4j.core.context.WebContext
Return the server name.
getServerPort() - Method in class org.pac4j.core.context.J2EContext
 
getServerPort() - Method in interface org.pac4j.core.context.WebContext
Return the server port.
getSessionAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Get an attribute from session.
getSessionIdentifier() - Method in interface org.pac4j.core.context.WebContext
Gets the session id for this context.
getSessionStore() - Method in class org.pac4j.core.config.Config
 
getSessionStore() - Method in class org.pac4j.core.context.J2EContext
 
getSessionStore() - Method in interface org.pac4j.core.context.WebContext
Get the session store.
getSize() - Method in class org.pac4j.core.store.GuavaStore
 
getSplitChar() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
getStore() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
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
 
getTrackableSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
getTrackableSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
Get the native session as a trackable object.
getTrustedPackages() - Method in class org.pac4j.core.util.JavaSerializationHelper
 
getType() - Method in class org.pac4j.core.redirect.RedirectAction
 
getTypedId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier with a prefix which is the profile type (full class name with package).
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.
getUsernameAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
getUsernameParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
 
getUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
 
getUserProfile(C, WebContext) - Method in interface org.pac4j.core.client.Client
Get the user profile based on the provided credentials.
getUserProfile() - Method in class org.pac4j.core.credentials.Credentials
 
getValue() - Method in class org.pac4j.core.context.Cookie
 
getVersion() - Method in class org.pac4j.core.context.Cookie
 
GoogleLogoutActionBuilder<U extends CommonProfile> - 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.
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
 
HeaderExtractor - Class in org.pac4j.core.credentials.extractor
To extract header value.
HeaderExtractor(String, String, String) - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
 
HeaderMatcher - Class in org.pac4j.core.matching
Matching on a HTTP header.
HeaderMatcher() - Constructor for class org.pac4j.core.matching.HeaderMatcher
 
HeaderMatcher(String, String) - Constructor for class org.pac4j.core.matching.HeaderMatcher
 
HSTS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "hsts" authorizer.
HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
 
HttpAction - Exception in org.pac4j.core.exception
The extra HTTP action, already performed on the web context.
httpActionAdapter - Variable in class org.pac4j.core.config.Config
 
HttpActionAdapter<R,C extends WebContext> - Interface in org.pac4j.core.http
HTTP action adapter.
HttpCommunicationException - Exception in org.pac4j.core.exception
This class represents an exception which can happen during HTTP communication (with status code and message body).
HttpCommunicationException(int, String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpConstants - Interface in org.pac4j.core.context
Some HTTP constants.
HttpConstants.HTTP_METHOD - Enum in org.pac4j.core.context
 
HttpMethodMatcher - Class in org.pac4j.core.matching
Matching on HTTP methods.
HttpMethodMatcher() - Constructor for class org.pac4j.core.matching.HttpMethodMatcher
 
HttpMethodMatcher(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.matching.HttpMethodMatcher
 

I

ID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
 
IndirectClient<C extends Credentials,U extends CommonProfile> - 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.
init(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
Initialize the object.
InitializableObject - Class in org.pac4j.core.util
Object that can be (re-)initialized.
InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
 
InitializableWebObject - Class in org.pac4j.core.util
Object that can be (re-)initialized, taking the web context into account.
InitializableWebObject() - Constructor for class org.pac4j.core.util.InitializableWebObject
 
insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Insert the attributes in the storage.
INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
 
INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
 
INSTANCE - Static variable in class org.pac4j.core.http.J2ENopHttpActionAdapter
 
INSTANCE - Static variable in class org.pac4j.core.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
 
InternalAttributeHandler - Class in org.pac4j.core.profile
Internally handles attributes (set / get).
InternalAttributeHandler() - Constructor for class org.pac4j.core.profile.InternalAttributeHandler
 
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
Initialize all clients by computing callback urls if necessary.
internalInit(WebContext) - Method in class org.pac4j.core.client.DirectClient
 
internalInit(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
internalInit(WebContext) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
internalInit(WebContext) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
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.
internalInit(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
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.context.Pac4jConstants
 
IS_ANONYMOUS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "isAnonymous" authorizer.
IS_AUTHENTICATED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "isAuthenticated" authorizer.
IS_FULLY_AUTHENTICATED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "isFullyAuthenticated" authorizer.
IS_REMEMBERED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "isRemembered" authorizer.
isAjax(WebContext) - Method in interface org.pac4j.core.http.AjaxRequestResolver
Whether it is an AJAX request.
isAjax(WebContext) - Method in class org.pac4j.core.http.DefaultAjaxRequestResolver
 
isAllAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
If all profiles are authorized.
IsAnonymousAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be anonymous.
IsAnonymousAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
IsAnonymousAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isAnyAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
If any of the profiles is authorized.
isAuthenticated() - Method in class org.pac4j.core.profile.ProfileManager
Tests if the current user is authenticated (meaning a user profile exists which is not an AnonymousProfile).
IsAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be authenticated.
IsAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
IsAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in interface org.pac4j.core.authorization.authorizer.Authorizer
Checks if the user profiles and / or the current web context are authorized.
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CacheControlHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XContentTypeOptionsHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XFrameOptionsHeader
 
isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XSSProtectionHeader
 
isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in interface org.pac4j.core.authorization.checker.AuthorizationChecker
Check whether the user is authorized.
isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isAuthorized(WebContext, List<CommonProfile>, List<Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
 
isBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
Return if the String is blank.
isCached(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
isEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
Return if a collection is empty.
isFailIfLinkedUserNotFound() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
IsFullyAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be fully authenticated (not remembered).
IsFullyAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
IsFullyAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isGet(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a GET request.
isHttp(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTP.
isHttpOnly() - Method in class org.pac4j.core.context.Cookie
 
isHttps(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTPS.
isHttpsOrSecure(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether the request is HTTPS or secure.
isIncludeClientNameInCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
 
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.
isOnlyCheckPostRequest() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
isPost(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
Whether it is a POST request.
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
Whether a specific profile is authorized.
isRemembered() - Method in class org.pac4j.core.profile.UserProfile
Is the user remembered?
IsRememberedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
The user must be authenticated and remembered.
IsRememberedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
IsRememberedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
 
isSaveProfileInSession() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
isSecure() - Method in class org.pac4j.core.context.Cookie
 
isSecure() - Method in class org.pac4j.core.context.J2EContext
 
isSecure() - Method in interface org.pac4j.core.context.WebContext
Return whether the request is secure.
isStringify() - Method in class org.pac4j.core.profile.InternalAttributeHandler
 
ISSUED_AT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
ISSUER - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
 
isTypedIdOf(String, Class<? extends CommonProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
Indicate if the user identifier matches this kind of profile.

J

J2EContext - Class in org.pac4j.core.context
This implementation uses the J2E request, response and session.
J2EContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.pac4j.core.context.J2EContext
Build a J2E context from the current HTTP request and response.
J2EContext(HttpServletRequest, HttpServletResponse, SessionStore<J2EContext>) - Constructor for class org.pac4j.core.context.J2EContext
Build a J2E context from the current HTTP request and response.
J2ENopHttpActionAdapter - Class in org.pac4j.core.http
No-operation HTTP action adapter for the J2EContext.
J2ENopHttpActionAdapter() - Constructor for class org.pac4j.core.http.J2ENopHttpActionAdapter
 
J2ESessionStore - Class in org.pac4j.core.context.session
Store data in the J2E web session.
J2ESessionStore() - Constructor for class org.pac4j.core.context.session.J2ESessionStore
 
JavaSerializationHelper - Class in org.pac4j.core.util
Helper for Java serialization.
JavaSerializationHelper() - Constructor for class org.pac4j.core.util.JavaSerializationHelper
 
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
 
LoadLinkedUserAuthorizationGenerator<U extends CommonProfile> - 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<U>) - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
loadProfilesFromSession(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Load the profiles from the web context if no clients are defined or if the first client is an indirect one or the AnonymousClient.
LOCAL_LOGOUT - Static variable in interface org.pac4j.core.context.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>, Store<T, CommonProfile>) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
LocalCachingAuthenticator(Authenticator<T>, int, int, TimeUnit) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
LOCALE - Static variable in class org.pac4j.core.profile.converter.Converters
 
locale - Variable in class org.pac4j.core.profile.converter.DateConverter
 
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.J2ESessionStore
 
logger - Variable in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
logger - Variable in class org.pac4j.core.engine.DefaultCallbackLogic
 
logger - Variable in class org.pac4j.core.engine.DefaultLogoutLogic
 
logger - Variable in class org.pac4j.core.engine.DefaultSecurityLogic
 
logger - Static variable in class org.pac4j.core.profile.converter.DateConverter
 
logger - Variable in class org.pac4j.core.profile.definition.ProfileDefinition
 
logger - Variable in class org.pac4j.core.profile.InternalAttributeHandler
 
logger - Variable in class org.pac4j.core.profile.service.AbstractProfileService
 
logger - Variable in class org.pac4j.core.profile.UserProfile
 
logout() - Method in class org.pac4j.core.profile.ProfileManager
Perform a logout by removing the current user profile(s).
LOGOUT_URL_PATTERN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
LogoutActionBuilder<U extends CommonProfile> - Interface in org.pac4j.core.logout
The RedirectAction for logout.
logoutLogic - Variable in class org.pac4j.core.config.Config
 
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

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

N

newDate(Date) - Static method in class org.pac4j.core.util.CommonHelper
Copy a date.
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.
newSdf() - Method in class org.pac4j.core.profile.InternalAttributeHandler
 
NOCACHE - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "nocache" authorizer.
NOFRAME - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
The "noframe" authorizer.
NoLogoutActionBuilder<U extends CommonProfile> - Class in org.pac4j.core.logout
No RedirectAction for logout.
NoLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.NoLogoutActionBuilder
 
NOSNIFF - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
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

OK - Static variable in interface org.pac4j.core.context.HttpConstants
 
ok(String, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build an HTTP Ok without any content.
ok(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build an HTTP Ok.
org.pac4j.core.authorization.authorizer - package org.pac4j.core.authorization.authorizer
 
org.pac4j.core.authorization.authorizer.csrf - package org.pac4j.core.authorization.authorizer.csrf
 
org.pac4j.core.authorization.checker - package org.pac4j.core.authorization.checker
 
org.pac4j.core.authorization.generator - package org.pac4j.core.authorization.generator
 
org.pac4j.core.client - package org.pac4j.core.client
 
org.pac4j.core.client.direct - package org.pac4j.core.client.direct
 
org.pac4j.core.client.finder - package org.pac4j.core.client.finder
 
org.pac4j.core.config - package org.pac4j.core.config
 
org.pac4j.core.context - package org.pac4j.core.context
 
org.pac4j.core.context.session - package org.pac4j.core.context.session
 
org.pac4j.core.credentials - package org.pac4j.core.credentials
 
org.pac4j.core.credentials.authenticator - package org.pac4j.core.credentials.authenticator
 
org.pac4j.core.credentials.extractor - package org.pac4j.core.credentials.extractor
 
org.pac4j.core.credentials.password - package org.pac4j.core.credentials.password
 
org.pac4j.core.engine - package org.pac4j.core.engine
 
org.pac4j.core.exception - package org.pac4j.core.exception
 
org.pac4j.core.http - package org.pac4j.core.http
 
org.pac4j.core.logout - package org.pac4j.core.logout
 
org.pac4j.core.matching - package org.pac4j.core.matching
 
org.pac4j.core.profile - package org.pac4j.core.profile
 
org.pac4j.core.profile.converter - package org.pac4j.core.profile.converter
 
org.pac4j.core.profile.creator - package org.pac4j.core.profile.creator
 
org.pac4j.core.profile.definition - package org.pac4j.core.profile.definition
 
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
 

P

Pac4jConstants - Interface in org.pac4j.core.context
Common constants.
ParameterExtractor - Class in org.pac4j.core.credentials.extractor
To extract a parameter value.
ParameterExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
ParameterExtractor(String, boolean, boolean, String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
 
PASSWORD - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
PasswordEncoder - Interface in org.pac4j.core.credentials.password
Encode a password.
PathMatcher - Class in org.pac4j.core.matching
Matches all request paths except whitelisted (excluded) paths.
PathMatcher() - Constructor for class org.pac4j.core.matching.PathMatcher
 
pattern - Variable in class org.pac4j.core.matching.HeaderMatcher
 
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean) - Method in interface org.pac4j.core.engine.CallbackLogic
Perform the callback logic.
perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean) - 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, SecurityGrantedAccessAdapter<R, C>, HttpActionAdapter<R, C>, String, String, String, Boolean, Object...) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
perform(C, Config, HttpActionAdapter<R, C>, String, String, Boolean, Boolean, Boolean) - Method in interface org.pac4j.core.engine.LogoutLogic
Perform the application logout logic.
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(WebContext) - Method in class org.pac4j.core.redirect.RedirectAction
Perform a RedirectAction on the web context.
PICTURE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
post(String, Map<String, String>) - Static method in class org.pac4j.core.redirect.RedirectAction
 
PREFIX - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_BOOLEAN - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_DATE - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_INT - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_LONG - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_SB64 - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
PREFIX_URI - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
 
prepare(Object) - Method in class org.pac4j.core.profile.InternalAttributeHandler
Before saving the attribute into the attributes map.
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_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
 
ProfileAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Authorizer which is valid if one of the profiles is authorized or all the profiles are authorized.
ProfileAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
 
ProfileCreator<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.profile.creator
This interface is responsible to create a CommonProfile from a Credentials.
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
 
ProfileHelper - Class in org.pac4j.core.profile
This class is an helper for profiles.
ProfileManager<U extends CommonProfile> - Class in org.pac4j.core.profile
This class is a generic way to manage the current user profile(s), i.e.
ProfileManager(WebContext) - Constructor for class org.pac4j.core.profile.ProfileManager
 
profileManagerFactory - Variable in class org.pac4j.core.config.Config
 
ProfileManagerFactoryAware<C extends WebContext> - Class in org.pac4j.core.profile
For classes that can set the profile manager factory.
ProfileManagerFactoryAware() - Constructor for class org.pac4j.core.profile.ProfileManagerFactoryAware
 
ProfileService<U extends CommonProfile> - Interface in org.pac4j.core.profile.service
Profile services: creation, update, delete and retrievals in the storage.

R

randomString(int) - Static method in class org.pac4j.core.util.CommonHelper
Return a random string of a certain size.
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.
readExternal(ObjectInput) - Method in class org.pac4j.core.profile.UserProfile
 
redirect(WebContext) - Method in interface org.pac4j.core.client.Client
Redirect to the authentication provider for an indirect client.
redirect(WebContext) - Method in class org.pac4j.core.client.DirectClient
 
redirect(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
redirect(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a redirection.
redirect(String) - Static method in class org.pac4j.core.redirect.RedirectAction
 
redirect(WebContext) - Method in interface org.pac4j.core.redirect.RedirectActionBuilder
Return a redirect action for the web context.
RedirectAction - Class in org.pac4j.core.redirect
Indicates the action when the Client requires a redirection to achieve user authentication.
RedirectAction.RedirectType - Enum in org.pac4j.core.redirect
 
RedirectActionBuilder - Interface in org.pac4j.core.redirect
Return a redirection to perfom.
redirectToIdentityProvider(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Perform a redirection to start the login process of the first indirect client.
redirectToOriginallyRequestedUrl(C, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
reinit() - Method in class org.pac4j.core.util.InitializableObject
Force (again) the initialization of the object.
reinit(WebContext) - Method in class org.pac4j.core.util.InitializableWebObject
Force (again) the initialization of the object.
RelativeUrlResolver - Class in org.pac4j.core.http
The new URL is computed from a relative URL and the current server configuration.
RelativeUrlResolver() - Constructor for class org.pac4j.core.http.RelativeUrlResolver
 
remove(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Remove the current user profile(s).
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.
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.
removeAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
Remove an attribute byt 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
 
RENEW_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
Whether the session must be renewed after login.
renewSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
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
 
REQUESTED_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
RequireAllPermissionsAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has all the permissions.
RequireAllPermissionsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
 
RequireAllRolesAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has all the roles.
RequireAllRolesAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
 
RequireAnyAttributeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
This is RequireAnyAttributeAuthorizer which checks profile attributes for the specified element, and optionally may pattern-check the configured value.
RequireAnyAttributeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
RequireAnyAttributeAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
 
RequireAnyPermissionAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has any of the permissions.
RequireAnyPermissionAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
 
RequireAnyRoleAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
Checks an access if the user profile has any of the roles.
RequireAnyRoleAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
 
restore(Object) - Method in class org.pac4j.core.profile.InternalAttributeHandler
After retrieving the attribute from the attributes map.
restoreOrBuildProfile(ProfileDefinition<? extends CommonProfile>, String, 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.
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
Retrieve a user userprofile.

S

save(boolean, U, boolean) - Method in class org.pac4j.core.profile.ProfileManager
Save the given user profile (replace the current one if multi profiles are not supported, add it otherwise).
saveProfileInSession(C, List<Client>, DirectClient, CommonProfile) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Whether we need to save the profile in session after the authentication of direct client(s).
saveRequestedUrl(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Save the requested url.
saveUserProfile(C, Config, CommonProfile, boolean, boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
 
SCHEME_HTTP - Static variable in interface org.pac4j.core.context.HttpConstants
 
SCHEME_HTTPS - Static variable in interface org.pac4j.core.context.HttpConstants
 
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.context.DefaultAuthorizers
The "securityheaders" authorizer.
securityLogic - Variable in class org.pac4j.core.config.Config
 
SecurityLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
Security logic to protect an url.
SEPARATOR - Static variable in class org.pac4j.core.profile.UserProfile
 
SERIALIZED_PROFILE - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
 
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.context.Pac4jConstants
 
sessionStore - Variable in class org.pac4j.core.config.Config
 
SessionStore<C extends WebContext> - Interface in org.pac4j.core.context.session
To store data in session.
set(J2EContext, String, Object) - Method in class org.pac4j.core.context.session.J2ESessionStore
 
set(C, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
Save an object in the store by its key.
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.
setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.Clients
 
setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.IndirectClient
 
setAllowCredentials(Boolean) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setAllowOrigin(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
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<U>) - Method in class org.pac4j.core.client.BaseClient
Add an authorization generator.
setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
 
setAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizationGenerators(AuthorizationGenerator<U>...) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.Clients
 
setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.Clients
 
setAuthorizer(Authorizer) - Method in class org.pac4j.core.config.Config
 
setAuthorizers(Map<String, Authorizer>) - Method in class org.pac4j.core.config.Config
 
setCacheSize(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(UrlResolver) - Method in class org.pac4j.core.client.IndirectClient
Deprecated.
setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setClientName(String) - Method in class org.pac4j.core.credentials.Credentials
 
setClientName(String) - Method in class org.pac4j.core.profile.UserProfile
 
setClientNameParameter(String) - Method in class org.pac4j.core.client.Clients
 
setClients(List<Client>) - Method in class org.pac4j.core.client.Clients
 
setClients(Client...) - Method in class org.pac4j.core.client.Clients
 
setClients(Clients) - Method in class org.pac4j.core.config.Config
 
setComment(String) - Method in class org.pac4j.core.context.Cookie
 
setConfig(Config) - Static method in class org.pac4j.core.config.ConfigSingleton
 
setCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
 
setCsrfTokenGenerator(CsrfTokenGenerator) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setDefaultClient(Client) - Method in class org.pac4j.core.client.Clients
Set the default client (can be null).
setDelegate(Authenticator<T>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
setDomain(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setDomain(String) - Method in class org.pac4j.core.context.Cookie
 
setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
 
setExcludedPaths(Collection<String>) - Method in class org.pac4j.core.matching.PathMatcher
 
setExcludedPatterns(Collection<String>) - Method in class org.pac4j.core.matching.PathMatcher
 
setExcludePath(String) - Method in class org.pac4j.core.matching.ExcludedPathMatcher
Deprecated.
 
setExpectedValue(String) - Method in class org.pac4j.core.matching.HeaderMatcher
 
setExposeHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
setFailIfLinkedUserNotFound(boolean) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
setHeaderName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
setHeaderName(String) - Method in class org.pac4j.core.matching.HeaderMatcher
 
setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
 
setHttpOnly(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
 
setId(Object) - Method in class org.pac4j.core.profile.UserProfile
Set the identifier and convert it if necessary.
setIdAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setIncludeClientNameInCallbackUrl(boolean) - Method in class org.pac4j.core.client.IndirectClient
 
setInternalAttributeHandler(InternalAttributeHandler) - Static method in class org.pac4j.core.profile.ProfileHelper
 
setJavaSerializationHelper(JavaSerializationHelper) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
setLinkedId(String) - Method in class org.pac4j.core.profile.UserProfile
 
setLogoutActionBuilder(LogoutActionBuilder<U>) - 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.authorization.authorizer.CorsAuthorizer
 
setMaxAge(int) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
 
setMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
setName(String) - Method in class org.pac4j.core.client.BaseClient
 
setName(String) - Method in class org.pac4j.core.context.Cookie
 
setOnlyCheckPostRequest(boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
setParameterName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
 
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.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setPath(String) - Method in class org.pac4j.core.context.Cookie
 
setProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.BaseClient
 
setProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
 
setProfileFactory(Function<Object[], P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
Define the way to build the profile.
setProfileManagerFactory(Function<WebContext, ProfileManager>) - Method in class org.pac4j.core.config.Config
 
setProfileManagerFactory(Function<C, ProfileManager>) - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
 
setProfileService(ProfileService<U>) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
 
setRedirectActionBuilder(RedirectActionBuilder) - 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.UserProfile
Define if this profile is remembered.
setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.J2EContext
 
setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save a request attribute.
setResponseContentType(String) - Method in class org.pac4j.core.context.J2EContext
 
setResponseContentType(String) - Method in interface org.pac4j.core.context.WebContext
Sets the response content type.
setResponseHeader(String, String) - Method in class org.pac4j.core.context.J2EContext
 
setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
Add a header to the response.
setResponseStatus(int) - Method in class org.pac4j.core.context.J2EContext
 
setResponseStatus(int) - Method in interface org.pac4j.core.context.WebContext
Set the response status.
setSaveProfileInSession(boolean) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
 
setSecure(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
 
setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
 
setSerializationHelper(JavaSerializationHelper) - Method in class org.pac4j.core.profile.InternalAttributeHandler
 
setSessionAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save an attribute in session.
setSessionStore(SessionStore) - Method in class org.pac4j.core.config.Config
 
setSessionStore(SessionStore) - Method in class org.pac4j.core.context.J2EContext
 
setSessionStore(SessionStore) - Method in interface org.pac4j.core.context.WebContext
Deprecated. 
setSize(int) - Method in class org.pac4j.core.store.GuavaStore
 
setSplitChar(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
 
setStore(Store<T, CommonProfile>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
 
setStringify(boolean) - Method in class org.pac4j.core.profile.InternalAttributeHandler
Define if we need to turn all attributes into strings, to properly work with CAS (regarding Kryo serialization or service ticket validation).
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
 
setTrustedPackages(List<String>) - Method in class org.pac4j.core.util.JavaSerializationHelper
 
setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.Clients
 
setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.IndirectClient
 
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
 
setVersion(int) - Method in class org.pac4j.core.context.Cookie
 
ShiroPasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder based on PasswordService from Apache Shiro Add the shiro-core dependency to use this class.
ShiroPasswordEncoder(PasswordService) - Constructor for class org.pac4j.core.credentials.password.ShiroPasswordEncoder
 
SpringSecurityPasswordEncoder - Class in org.pac4j.core.credentials.password
A password encoder based on PasswordEncoder from the Spring Security Crypto package.
SpringSecurityPasswordEncoder(PasswordEncoder) - Constructor for class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
 
SpringSecurityPropertiesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
Authorization generator based on a properties file in Spring security format: username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
SpringSecurityPropertiesAuthorizationGenerator(Properties) - Constructor for class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
 
startAuthentication(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return whether we must start a login process if the first client is an indirect one.
startWithSlash(String) - Static method in class org.pac4j.core.util.CommonHelper
Add a slash at the beginning of a path if missing.
status(String, int, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
Build a response with message and status.
Store<K,O> - Interface in org.pac4j.core.store
Store data.
StrictTransportSecurityHeader - Class in org.pac4j.core.authorization.authorizer
Strict transport security header.
StrictTransportSecurityHeader() - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
StrictTransportSecurityHeader(int) - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
 
STRING - Static variable in class org.pac4j.core.profile.converter.Converters
 
StringConverter - Class in org.pac4j.core.profile.converter
This class only keeps String objects.
StringConverter() - Constructor for class org.pac4j.core.profile.converter.StringConverter
 
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
 
success(String) - Static method in class org.pac4j.core.redirect.RedirectAction
 

T

TechnicalException - Exception in org.pac4j.core.exception
This class represents the root technical exception for the library.
TechnicalException(String) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(String, Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TEMP_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
 
TokenCredentials - Class in org.pac4j.core.credentials
This credentials represents a token.
TokenCredentials(String, String) - Constructor for class org.pac4j.core.credentials.TokenCredentials
 
toString() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
 
toString() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
 
toString() - Method in class org.pac4j.core.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 exception org.pac4j.core.exception.HttpAction
 
toString() - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
 
toString() - Method in class org.pac4j.core.matching.HeaderMatcher
 
toString() - Method in class org.pac4j.core.matching.HttpMethodMatcher
 
toString() - Method in class org.pac4j.core.profile.Color
 
toString() - Method in class org.pac4j.core.profile.InternalAttributeHandler
 
toString() - Method in class org.pac4j.core.profile.UserProfile
 
toString() - Method in class org.pac4j.core.redirect.RedirectAction
 
toString() - Method in class org.pac4j.core.store.GuavaStore
 
toString(Class<?>, Object...) - Static method in class org.pac4j.core.util.CommonHelper
Build a normalized "toString" text for an object.
toString() - Method in class org.pac4j.core.util.JavaSerializationHelper
 

U

UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
 
unauthorized(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
Return an unauthorized error.
unauthorized(String, WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a basic auth popup credentials.
unauthorizedDigest(String, WebContext, String, String, String) - Static method in exception org.pac4j.core.exception.HttpAction
Build a digest auth popup credentials.
unserializeFromBase64(String) - Method in class org.pac4j.core.util.JavaSerializationHelper
Unserialize a base64 String into a Java object.
unserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.JavaSerializationHelper
Unserialize a bytes array into a Java object.
update(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
 
update(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
Update the attributes in the storage.
update(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
Update a profile (with the associated password) in the storage.
updateCallbackUrlOfIndirectClient(IndirectClient) - Method in class org.pac4j.core.client.Clients
Sets a client's Callback URL, if not already set.
URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
URL - Static variable in class org.pac4j.core.profile.converter.Converters
 
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
How to compute an url.
USER_PROFILES - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
USERNAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
UsernamePasswordCredentials - Class in org.pac4j.core.credentials
This class represents a username and a password credentials
UsernamePasswordCredentials(String, String, String) - Constructor for class org.pac4j.core.credentials.UsernamePasswordCredentials
 
UserProfile - Class in org.pac4j.core.profile
This class is the user profile retrieved from a provider after successful authentication: it's an identifier (string) and attributes (objects).
UserProfile() - Constructor for class org.pac4j.core.profile.UserProfile
 
UTF8_ENCODING - Static variable in interface org.pac4j.core.context.HttpConstants
 

V

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

W

WebContext - Interface in org.pac4j.core.context
This interface represents the web context to use HTTP request and session.
writeExternal(ObjectOutput) - Method in class org.pac4j.core.profile.UserProfile
 
writeResponseContent(String) - Method in class org.pac4j.core.context.J2EContext
 
writeResponseContent(String) - Method in interface org.pac4j.core.context.WebContext
Write some content in the response.

X

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

Copyright © 2017. All Rights Reserved.