A B C D E F G H I J L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractAttributeConverter - Class in org.pac4j.core.profile.converter
-
This abstract attribute converter handles some common behaviors for simple type converters.
- AbstractAttributeConverter(Class<? extends Object>) - Constructor for class org.pac4j.core.profile.converter.AbstractAttributeConverter
- AbstractCheckAuthenticationAuthorizer - 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
- AbstractConfigFilter - Class in org.pac4j.core.config
-
An abstract JEE filter which handles configuration.
- AbstractConfigFilter() - Constructor for class org.pac4j.core.config.AbstractConfigFilter
- AbstractExceptionAwareLogic - Class in org.pac4j.core.engine
-
Abstract logic to handle exceptions:
- AbstractExceptionAwareLogic() - Constructor for class org.pac4j.core.engine.AbstractExceptionAwareLogic
- AbstractJwtProfile - Class in org.pac4j.core.profile.jwt
-
Abstract JWT profile.
- AbstractJwtProfile() - Constructor for class org.pac4j.core.profile.jwt.AbstractJwtProfile
- AbstractProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
-
Abstract implementation of the
ProfileService
for the storage: LDAP, SQL and MongoDB. - AbstractProfileService() - Constructor for class org.pac4j.core.profile.service.AbstractProfileService
- AbstractRequireAllAuthorizer<E> - 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> - 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> - Class in org.pac4j.core.authorization.authorizer
-
An authorizer to require elements.
- AbstractRequireElementAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- AbstractSerializer - Class in org.pac4j.core.util.serializer
-
The abstract implementation for all serializers: check for nulls and convert strings from or to bytes arrays.
- AbstractSerializer() - Constructor for class org.pac4j.core.util.serializer.AbstractSerializer
- AbstractStore<K,O> - Class in org.pac4j.core.store
-
Abstract store.
- AbstractStore() - Constructor for class org.pac4j.core.store.AbstractStore
- accept(String) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
- ACCEPT_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_ALLOW_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_ALLOW_METHODS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_ALLOW_ORIGIN_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_EXPOSE_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- ACCESS_CONTROL_MAX_AGE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- AccountNotFoundException - Exception in org.pac4j.core.exception
-
Exception when an account is not found.
- AccountNotFoundException(String) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
- AccountNotFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
- adapt(WebContext, SessionStore, Collection<UserProfile>, Object...) - Method in interface org.pac4j.core.engine.SecurityGrantedAccessAdapter
-
Adapt the current successful action as the expected result.
- adapt(HttpAction, WebContext) - Method in interface org.pac4j.core.http.adapter.HttpActionAdapter
-
Adapt the HTTP action.
- adapt(HttpAction, WebContext) - Method in class org.pac4j.core.http.adapter.JEEHttpActionAdapter
- ADD_ELEMENT - Static variable in interface org.pac4j.core.util.Pac4jConstants
- addAttribute(String, Object) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add an attribute.
- addAttribute(String, Object) - Method in interface org.pac4j.core.profile.UserProfile
- addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add attributes.
- addAuthenticationAttribute(String, Object) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add an authentication-related attribute
- addAuthenticationAttribute(String, Object) - Method in interface org.pac4j.core.profile.UserProfile
- addAuthenticationAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add authentication attributes.
- addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.BaseClient
- addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
- addAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.BaseClient
- addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
- addMatcher(String, Matcher) - Method in class org.pac4j.core.config.Config
- addParameter(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Add a new parameter to an url.
- addPermission(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add a permission.
- addPermission(String) - Method in interface org.pac4j.core.profile.UserProfile
- addPermissions(Collection<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add permissions.
- addPermissions(Collection<String>) - Method in interface org.pac4j.core.profile.UserProfile
- addResponseCookie(Cookie) - Method in class org.pac4j.core.context.JEEContext
- addResponseCookie(Cookie) - Method in interface org.pac4j.core.context.WebContext
-
Adds cookies to the response
- addRole(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add a role.
- addRole(String) - Method in interface org.pac4j.core.profile.UserProfile
- addRoles(Collection<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Add roles.
- addRoles(Collection<String>) - Method in interface org.pac4j.core.profile.UserProfile
- addTrustedClass(Class<?>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
- addTrustedClasses(Collection<Class<?>>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
- addTrustedPackage(String) - Method in class org.pac4j.core.util.serializer.JavaSerializer
- addTrustedPackages(Collection<String>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
- afterInternalInit() - Method in class org.pac4j.core.client.DirectClient
- afterInternalInit() - Method in class org.pac4j.core.client.IndirectClient
- afterInternalInit() - Method in class org.pac4j.core.util.InitializableObject
- AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
- AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
- AjaxRequestResolver - Interface in org.pac4j.core.http.ajax
-
Compute if a HTTP request is an AJAX one and the appropriate response.
- ALLOW_AJAX_REQUESTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "allowAjaxRequests" authorizer.
- and(Authorizer...) - Static method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
- AndAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
The conjunction of authorizers.
- AndAuthorizer(List<Authorizer>) - Constructor for class org.pac4j.core.authorization.authorizer.AndAuthorizer
- AnonymousClient - Class in org.pac4j.core.client.direct
-
Anonymous client.
- AnonymousClient() - Constructor for class org.pac4j.core.client.direct.AnonymousClient
- AnonymousCredentials - Class in org.pac4j.core.credentials
-
Anonymous credentials.
- AnonymousCredentials() - Constructor for class org.pac4j.core.credentials.AnonymousCredentials
- AnonymousProfile - Class in org.pac4j.core.profile
-
Anonymous profile.
- AnonymousProfile() - Constructor for class org.pac4j.core.profile.AnonymousProfile
- APPLICATION_FORM_ENCODED_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
- APPLICATION_JSON - Static variable in interface org.pac4j.core.context.HttpConstants
- areEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are equals (both null is ok).
- areEqualsIgnoreCaseAndTrim(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are equals ignoring the case and the blank spaces (both null is ok).
- areNotEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are not equals.
- asPrincipal() - Method in class org.pac4j.core.profile.BasicUserProfile
- asPrincipal() - Method in interface org.pac4j.core.profile.UserProfile
- assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Verify that a String is not blank otherwise throw a
TechnicalException
. - assertNotBlank(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Verify that a String is not blank otherwise throw a
TechnicalException
. - assertNotNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
-
Verify that an Object is not
null
otherwise throw aTechnicalException
. - assertNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
-
Verify that an Object is
null
otherwise throw aTechnicalException
. - 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
- ATTRIBUTE_FORCE_AUTHN - Static variable in interface org.pac4j.core.redirect.RedirectionActionBuilder
-
Attribute name typically expected as an http request attribute that controls whether authentication should be forced.
- ATTRIBUTE_PASSIVE - Static variable in interface org.pac4j.core.redirect.RedirectionActionBuilder
-
Attribute name typically expected as an http request attribute that controls whether authentication should be passive.
- AttributeConverter - Interface in org.pac4j.core.profile.converter
-
This interface is the contract for an attribute converter.
- AttributeLocation - Enum in org.pac4j.core.profile
-
Denotes where an attribute is placed in a profile.
- attributeNames - Variable in class org.pac4j.core.profile.service.AbstractProfileService
- AUDIENCE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- AUTHENTICATION_ATTRIBUTE - org.pac4j.core.profile.AttributeLocation
-
Profile authentication attribute.
- Authenticator - Interface in org.pac4j.core.credentials.authenticator
-
An authenticator is responsible for validating
Credentials
and should throw aCredentialsException
if the authentication fails. - AuthenticatorProfileCreator - Class in org.pac4j.core.profile.creator
-
This profile creator retrieves the user profile attached in the
Credentials
. - AuthenticatorProfileCreator() - Constructor for class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
- AUTHORIZATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- AuthorizationChecker - Interface in org.pac4j.core.authorization.checker
-
The way to check authorizations.
- AuthorizationGenerator - Interface in org.pac4j.core.authorization.generator
-
Generate the authorization roles and permissions for this user profile.
- Authorizer - Interface in org.pac4j.core.authorization.authorizer
-
Checks if an access is authorized.
- authorizers - Variable in class org.pac4j.core.config.Config
- AUTHORIZERS - Static variable in interface org.pac4j.core.util.Pac4jConstants
B
- BAD_REQUEST - Static variable in interface org.pac4j.core.context.HttpConstants
- BadCredentialsException - Exception in org.pac4j.core.exception
-
Exception for bad credentials.
- BadCredentialsException(String) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
- BadCredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
- BadCredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
- BadRequestAction - Exception in org.pac4j.core.exception.http
-
A bad request action.
- BadRequestAction() - Constructor for exception org.pac4j.core.exception.http.BadRequestAction
- BaseClient - Class in org.pac4j.core.client
-
This class is the default implementation of an authentication client (whatever the mechanism).
- BaseClient() - Constructor for class org.pac4j.core.client.BaseClient
- BaseClientConfiguration - Class in org.pac4j.core.client.config
-
Base parent class for all client configurations to hold common fields or to be used as a common parent for type checking and casts in customizations.
- BaseClientConfiguration() - Constructor for class org.pac4j.core.client.config.BaseClientConfiguration
- BASIC_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
- BasicAuthExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract basic auth header.
- BasicAuthExtractor() - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
- BasicAuthExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.BasicAuthExtractor
- BasicUserProfile - Class in org.pac4j.core.profile
-
This class is the user profile retrieved from a provider after successful authentication: it's an identifier (string) and attributes (objects).
- BasicUserProfile() - Constructor for class org.pac4j.core.profile.BasicUserProfile
- BasicUserProfile(boolean) - Constructor for class org.pac4j.core.profile.BasicUserProfile
-
Create a profile with possibility to merge attributes with the same name and collection-type values.
- BEARER_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
- BearerAuthExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract an RFC 6750 bearer auth header.
- BearerAuthExtractor() - Constructor for class org.pac4j.core.credentials.extractor.BearerAuthExtractor
- BearerAuthExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.BearerAuthExtractor
- beforeInternalInit() - Method in class org.pac4j.core.client.DirectClient
- beforeInternalInit() - Method in class org.pac4j.core.client.IndirectClient
- beforeInternalInit() - Method in class org.pac4j.core.util.InitializableObject
- BOOLEAN - Static variable in class org.pac4j.core.profile.converter.Converters
- BooleanConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into a Boolean or returns the Boolean in input.
- BooleanConverter() - Constructor for class org.pac4j.core.profile.converter.BooleanConverter
- build(Object...) - Method in interface org.pac4j.core.config.ConfigFactory
-
Build a configuration.
- build(Object...) - Method in class org.pac4j.core.config.DefaultConfigFactory
- build(Object, Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Build a profile from user identifier and attributes.
- build(Object, Map<String, Object>, Map<String, Object>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Build a profile from user identifier, attributes, and authentication attributes.
- build(String, Object...) - Static method in class org.pac4j.core.config.ConfigBuilder
- buildAjaxResponse(WebContext, SessionStore, RedirectionActionBuilder) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
-
Build an AJAX reponse.
- buildAjaxResponse(WebContext, SessionStore, RedirectionActionBuilder) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
- buildFormPostContent(WebContext) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Build a form POST content from the web context.
- buildFormPostContentAction(WebContext, String) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Build the appropriate redirection action for a content which is a form post.
- buildFromTrackableSession(WebContext, Object) - Method in class org.pac4j.core.context.session.JEESessionStore
- buildFromTrackableSession(WebContext, Object) - Method in interface org.pac4j.core.context.session.SessionStore
-
Build a new session store from a trackable session.
- buildHttpErrorMessage(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
-
Build error message from connection in case of failure
- buildRedirectUrlAction(WebContext, String) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Build the appropriate redirection action for a location.
- buildUnauthenticatedAction(WebContext) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Build the action for unauthenticated users.
- buildUserProfileByClassCompleteName(String) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Build a profile by its class name.
C
- CACHE_CONTROL_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- CacheControlMatcher - Class in org.pac4j.core.matching.matcher
-
Cache control header matcher.
- CacheControlMatcher() - Constructor for class org.pac4j.core.matching.matcher.CacheControlMatcher
- callbackLogic - Variable in class org.pac4j.core.config.Config
- callbackLogic(CallbackLogic, Config, CallbackLogic) - Static method in class org.pac4j.core.util.FindBest
- CallbackLogic - Interface in org.pac4j.core.engine
-
Callback logic to finish the login process for an indirect client.
- callbackUrl - Variable in class org.pac4j.core.client.IndirectClient
- callbackUrlResolver - Variable in class org.pac4j.core.client.IndirectClient
- CallbackUrlResolver - Interface in org.pac4j.core.http.callback
-
How to compute a callback URL and match a client.
- CasLogoutActionBuilder - Class in org.pac4j.core.logout
-
CAS logout action builder.
- CasLogoutActionBuilder(String, String) - Constructor for class org.pac4j.core.logout.CasLogoutActionBuilder
- CENTRAL_LOGOUT - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Whether a central logout must be performed
- ChainingConverter - Class in org.pac4j.core.profile.converter
-
This is
ChainingConverter
. - ChainingConverter(List<AttributeConverter>) - Constructor for class org.pac4j.core.profile.converter.ChainingConverter
- check(WebContext, SessionStore, UserProfile, E) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Check a specific element.
- check(WebContext, SessionStore, UserProfile, Class) - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- check(WebContext, SessionStore, UserProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- checkHttpMethod(List<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- checkHttpMethod(Set<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- checkHttpMethod(HttpConstants.HTTP_METHOD...) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks the HTTP method.
- CheckHttpMethodAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- CheckHttpMethodAuthorizer(List<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- CheckHttpMethodAuthorizer(Set<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
- checkProfileType(Class...) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- checkProfileType(List<Class>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- checkProfileType(Set<Class>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- CheckProfileTypeAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks the profile type.
- CheckProfileTypeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- CheckProfileTypeAuthorizer(Class...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- CheckProfileTypeAuthorizer(List<Class>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- CheckProfileTypeAuthorizer(Set<Class>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
- clearTrustedClasses() - Method in class org.pac4j.core.util.serializer.JavaSerializer
- clearTrustedPackages() - Method in class org.pac4j.core.util.serializer.JavaSerializer
- Client - Interface in org.pac4j.core.client
-
This interface is the core class of the library.
- CLIENT_NAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
- ClientFinder - Interface in org.pac4j.core.client.finder
-
The way to find the client.
- clients - Variable in class org.pac4j.core.config.Config
- Clients - Class in org.pac4j.core.client
-
This class is made to group multiple clients, generally on one callback url.
- Clients() - Constructor for class org.pac4j.core.client.Clients
- Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
- Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
- Clients(List<Client>) - Constructor for class org.pac4j.core.client.Clients
- Clients(Client...) - Constructor for class org.pac4j.core.client.Clients
- CLIENTS - Static variable in interface org.pac4j.core.util.Pac4jConstants
- closeConnection(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
- code - Variable in exception org.pac4j.core.exception.http.HttpAction
- Color - Class in org.pac4j.core.profile
-
This class is a simple RGB color values holder.
- Color(int, int, int) - Constructor for class org.pac4j.core.profile.Color
- COLOR - Static variable in class org.pac4j.core.profile.converter.Converters
- ColorConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into a Color.
- ColorConverter() - Constructor for class org.pac4j.core.profile.converter.ColorConverter
- CommonHelper - Class in org.pac4j.core.util
-
This class gathers all the utilities methods.
- CommonHelper() - Constructor for class org.pac4j.core.util.CommonHelper
- CommonProfile - Class in org.pac4j.core.profile
-
This class is the base implementation with the default attribute getters which can be retrieved for most profiles.
- CommonProfile() - Constructor for class org.pac4j.core.profile.CommonProfile
- CommonProfile(boolean) - Constructor for class org.pac4j.core.profile.CommonProfile
-
Create a profile with possibility to merge attributes with the same name and collection-type values
- CommonProfileDefinition - Class in org.pac4j.core.profile.definition
-
Profile definition with the common attributes.
- CommonProfileDefinition() - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
- CommonProfileDefinition(ProfileFactory) - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
- CommunicationException - Exception in org.pac4j.core.exception
-
This class represents a communication exception.
- CommunicationException(String) - Constructor for exception org.pac4j.core.exception.CommunicationException
- CommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.CommunicationException
- compute(String, WebContext) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
- compute(String, WebContext) - Method in interface org.pac4j.core.http.url.UrlResolver
-
Compute a new URL from the provided URL and the web context.
- compute(UrlResolver, String, String, WebContext) - Method in interface org.pac4j.core.http.callback.CallbackUrlResolver
-
Compute a callback URL from the provided URL resolver, URL, client name and web context.
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
- computeAuthorizers(WebContext, List<UserProfile>, String, Map<String, Authorizer>, List<Client>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- computeAuthorizersFromNames(String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- computeDefaultAuthorizers(WebContext, List<UserProfile>, List<Client>, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- computeDefaultMatchers(WebContext, SessionStore, List<Client>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
- computeMatchers(WebContext, SessionStore, String, Map<String, Matcher>, List<Client>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- computeMatchersFromNames(String, Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- config - Variable in class org.pac4j.core.config.DefaultConfigFactory
- config - Variable in class org.pac4j.core.profile.ProfileManager
- Config - Class in org.pac4j.core.config
-
The default configuration with clients, authorizers, matchers, etc.
- Config() - Constructor for class org.pac4j.core.config.Config
- Config(String, List<Client>) - Constructor for class org.pac4j.core.config.Config
- Config(String, Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
- Config(String, Client) - Constructor for class org.pac4j.core.config.Config
- Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
- Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
- Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
- Config(Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
- Config(Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
- Config(Client) - Constructor for class org.pac4j.core.config.Config
- Config(Client...) - Constructor for class org.pac4j.core.config.Config
- Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
- Config(Clients) - Constructor for class org.pac4j.core.config.Config
- Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
- CONFIG_FACTORY - Static variable in interface org.pac4j.core.util.Pac4jConstants
- ConfigBuilder - Class in org.pac4j.core.config
-
To build a configuration from a factory.
- ConfigBuilder() - Constructor for class org.pac4j.core.config.ConfigBuilder
- ConfigFactory - Interface in org.pac4j.core.config
-
A factory to build the configuration.
- configurePrimaryAttributes() - Method in class org.pac4j.core.profile.definition.CommonProfileDefinition
- containsAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Check to see if profile contains attribute name.
- containsAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
- containsAuthenicationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Check to see if profile contains attribute name.
- containsClientType(List<Client>, Class<? extends Client>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- context - Variable in class org.pac4j.core.profile.ProfileManager
- 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.
- convert(Object) - Method in class org.pac4j.core.profile.converter.ChainingConverter
- convertAndAdd(UserProfile, Map<String, Object>, Map<String, Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Convert the profile and authentication attributes, if necessary, and add them to the profile.
- convertAndAdd(UserProfile, AttributeLocation, String, Object) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Convert a profile or authentication attribute, if necessary, and add it to the profile.
- convertAttributesToProfile(List<Map<String, Object>>, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Convert the list of map of attributes from the storage into a profile.
- Converters - Class in org.pac4j.core.profile.converter
-
This class defines the default converters.
- Converters() - Constructor for class org.pac4j.core.profile.converter.Converters
- convertProfileAndPasswordToAttributes(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Convert a profile and a password into a map of attributes for the storage.
- Cookie - Class in org.pac4j.core.context
- Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
- CORS_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- CorsMatcher - Class in org.pac4j.core.matching.matcher
-
Define how the CORS requests are authorized.
- CorsMatcher() - Constructor for class org.pac4j.core.matching.matcher.CorsMatcher
- create(Credentials, WebContext, SessionStore) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
- create(Credentials, WebContext, SessionStore) - 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.
- createCookieHeader(Cookie) - Static method in class org.pac4j.core.context.WebContextHelper
-
Custom method for adding cookie because the servlet-api version doesn't support SameSite attributes.
- CREATED - Static variable in interface org.pac4j.core.context.HttpConstants
- Credentials - Class in org.pac4j.core.credentials
-
This class represents the base credentials.
- Credentials() - Constructor for class org.pac4j.core.credentials.Credentials
- CredentialsException - Exception in org.pac4j.core.exception
-
This class represents an expected exception occurring during credentials retrieval.
- CredentialsException(String) - Constructor for exception org.pac4j.core.exception.CredentialsException
- CredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
- CredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
- CredentialsExtractor - Interface in org.pac4j.core.credentials.extractor
-
A credentials extractor.
- CSRF_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- CSRF_CHECK - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
-
The "csrfCheck" authorizer.
- CSRF_TOKEN - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "csrfToken" authorizer.
- CSRF_TOKEN - Static variable in interface org.pac4j.core.util.Pac4jConstants
- CSRF_TOKEN_EXPIRATION_DATE - Static variable in interface org.pac4j.core.util.Pac4jConstants
- CSRF_TOKEN_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Authorizer that checks CSRF tokens.
- CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- CsrfTokenGenerator - Interface in org.pac4j.core.matching.matcher.csrf
-
CSRF token generator.
- CsrfTokenGeneratorMatcher - Class in org.pac4j.core.matching.matcher.csrf
-
Matcher which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
- CsrfTokenGeneratorMatcher(CsrfTokenGenerator) - Constructor for class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
D
- DATE_TZ_GENERAL - Static variable in class org.pac4j.core.profile.converter.Converters
- DATE_TZ_GENERAL_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
- DATE_TZ_RFC822 - Static variable in class org.pac4j.core.profile.converter.Converters
- DATE_TZ_RFC822_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
- DateConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String (depending on a specified format) into a Date.
- DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
- DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
- DEFAULT - Static variable in interface org.pac4j.core.profile.factory.ProfileManagerFactory
- DEFAULT_CLIENT - Static variable in interface org.pac4j.core.util.Pac4jConstants
- DEFAULT_CLIENT_NAME_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
The default client name parameter used on callback
- DEFAULT_CONNECT_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
- DEFAULT_FORCE_CLIENT_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
The default client name parameter used for security
- DEFAULT_HTTP_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
- DEFAULT_HTTPS_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
- DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.util.Pac4jConstants
- DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
- DEFAULT_REALM_NAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
- DEFAULT_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
- DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.util.Pac4jConstants
- DefaultAjaxRequestResolver - Class in org.pac4j.core.http.ajax
-
Default way to compute if a HTTP request is an AJAX one.
- DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
- defaultAuthenticator(Authenticator) - Method in class org.pac4j.core.client.BaseClient
- DefaultAuthorizationChecker - Class in org.pac4j.core.authorization.checker
-
Default way to check the authorizations (with default authorizers).
- DefaultAuthorizationChecker() - Constructor for class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- DefaultAuthorizers - Interface in org.pac4j.core.authorization.authorizer
-
Constants for authorizers.
- DefaultCallbackClientFinder - Class in org.pac4j.core.client.finder
-
Find the right client on the callback.
- DefaultCallbackClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultCallbackClientFinder
- DefaultCallbackLogic - Class in org.pac4j.core.engine
-
Default callback logic:
- DefaultCallbackLogic() - Constructor for class org.pac4j.core.engine.DefaultCallbackLogic
- DefaultConfigFactory - Class in org.pac4j.core.config
-
A default configuration factory.
- DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
- defaultCredentialsExtractor(CredentialsExtractor) - Method in class org.pac4j.core.client.BaseClient
- DefaultCsrfTokenGenerator - Class in org.pac4j.core.matching.matcher.csrf
-
Default CSRF token generator.
- DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
- defaultLogoutActionBuilder(LogoutActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
- DefaultLogoutHandler - Class in org.pac4j.core.logout.handler
-
Default logout handler.
- DefaultLogoutHandler() - Constructor for class org.pac4j.core.logout.handler.DefaultLogoutHandler
- DefaultLogoutHandler(Store<String, Object>) - Constructor for class org.pac4j.core.logout.handler.DefaultLogoutHandler
- DefaultLogoutLogic - Class in org.pac4j.core.engine
-
Default logout logic:
- DefaultLogoutLogic() - Constructor for class org.pac4j.core.engine.DefaultLogoutLogic
- DefaultMatchers - Interface in org.pac4j.core.matching.matcher
-
The default matchers.
- DefaultMatchingChecker - Class in org.pac4j.core.matching.checker
-
Default way to check the matchers (with default matchers).
- DefaultMatchingChecker() - Constructor for class org.pac4j.core.matching.checker.DefaultMatchingChecker
- defaultProfileCreator(ProfileCreator) - Method in class org.pac4j.core.client.BaseClient
- defaultProfileDefinition(ProfileDefinition) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
- defaultProfileManagerFactory(String, ProfileManagerFactory) - Static method in class org.pac4j.core.config.Config
- defaultRedirectionActionBuilder(RedirectionActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
- DefaultRolesPermissionsAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
-
Grant default roles and/or permissions to a user profile.
- DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
- DefaultRolesPermissionsAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
- DefaultSavedRequestHandler - Class in org.pac4j.core.engine.savedrequest
-
The default
SavedRequestHandler
which handles GET and POST requests. - DefaultSavedRequestHandler() - Constructor for class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
- DefaultSecurityClientFinder - Class in org.pac4j.core.client.finder
-
Find the right clients based on the query parameter for the
SecurityLogic
. - DefaultSecurityClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultSecurityClientFinder
- DefaultSecurityLogic - Class in org.pac4j.core.engine
-
Default security logic:
- DefaultSecurityLogic() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogic
- DefaultUrlResolver - Class in org.pac4j.core.http.url
-
Default URL resolver: use the provided URL as is or append the server and port for relative URLs.
- DefaultUrlResolver() - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
- DefaultUrlResolver(boolean) - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
- defaultValue() - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
- defaultValue() - Method in class org.pac4j.core.profile.converter.BooleanConverter
- defineAttributesToRead() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Define the attributes to read in the storage.
- DELETE - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- DELETE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
- DELETE_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- deleteById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Delete a profile by its identifier in the storage.
- deleteById(String) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
- deserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- deserializeFromBytes(byte[]) - Method in interface org.pac4j.core.util.serializer.Serializer
-
Decode a bytes array into an object.
- deserializeFromString(String) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- deserializeFromString(String) - Method in interface org.pac4j.core.util.serializer.Serializer
-
Decode a string into an object.
- destroy() - Method in class org.pac4j.core.config.AbstractConfigFilter
- destroy(WebContext, SessionStore, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- DESTROY_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Whether we must destroy the web session during the local logout
- destroySession(WebContext) - Method in class org.pac4j.core.context.session.JEESessionStore
- destroySession(WebContext) - Method in interface org.pac4j.core.context.session.SessionStore
-
Destroy the web session.
- destroySessionBack(WebContext, SessionStore, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- destroySessionBack(WebContext, SessionStore, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
-
Destroys the current web session for the given key for a back channel logout.
- destroySessionFront(WebContext, SessionStore, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- destroySessionFront(WebContext, SessionStore, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
-
Destroys the current web session for the given key for a front channel logout.
- DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
- DirectClient - 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
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.pac4j.core.config.AbstractConfigFilter
E
- ELEMENT_SEPARATOR - Static variable in interface org.pac4j.core.util.Pac4jConstants
- elements - Variable in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- EMAIL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- ENABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
- encode(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
- encode(String) - Method in interface org.pac4j.core.credentials.password.PasswordEncoder
-
Encode a password.
- encode(String) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
- encode(String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
- encodeQueryParam(String, String) - Static method in class org.pac4j.core.util.HttpUtils
- equals(Object) - Method in class org.pac4j.core.credentials.AnonymousCredentials
- equals(Object) - Method in class org.pac4j.core.credentials.Credentials
- equals(Object) - Method in class org.pac4j.core.credentials.TokenCredentials
- equals(Object) - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
- equals(Object) - Method in class org.pac4j.core.profile.Pac4JPrincipal
- escapeHtml(String) - Static method in class org.pac4j.core.util.HttpActionHelper
- excludeBranch(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Convenience method for excluding all paths starting with a prefix e.g.
- excludePath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Any path exactly matching this string will be excluded.
- excludePaths(String...) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- excludeRegex(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Any path matching this regex will be excluded.
- EXPIRATION_TIME - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- extract(WebContext, SessionStore) - Method in class org.pac4j.core.credentials.extractor.BasicAuthExtractor
- extract(WebContext, SessionStore) - Method in class org.pac4j.core.credentials.extractor.BearerAuthExtractor
- extract(WebContext, SessionStore) - Method in interface org.pac4j.core.credentials.extractor.CredentialsExtractor
-
Extract the
Credentials
from aWebContext
and returnOptional.empty()
if no credentials are present or throw aCredentialsException
if it cannot get it. - extract(WebContext, SessionStore) - Method in class org.pac4j.core.credentials.extractor.FormExtractor
- extract(WebContext, SessionStore) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- extract(WebContext, SessionStore) - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
- extractAttributeValues(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Return the attribute values with name.
F
- FACES_PARTIAL_AJAX_PARAMETER - Static variable in interface org.pac4j.core.context.HttpConstants
- FAMILY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- FEMALE - org.pac4j.core.profile.Gender
- find(Clients, WebContext, String) - Method in interface org.pac4j.core.client.finder.ClientFinder
- find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultCallbackClientFinder
- find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
- findAllClients() - Method in class org.pac4j.core.client.Clients
-
Find all the clients (initialized).
- FindBest - Class in org.pac4j.core.util
-
Utility class to find the best adapter, logic... in the following order: 1) the local one 2) the one from the config 3) the default one (must not be null).
- FindBest() - Constructor for class org.pac4j.core.util.FindBest
- findById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- findById(String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Find a profile by its identifier.
- findByLinkedId(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- findByLinkedId(String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Find a profile by its linked identifier.
- findClient(Class<C>) - Method in class org.pac4j.core.client.Clients
-
Deprecated.
- findClient(String) - Method in class org.pac4j.core.client.Clients
-
Return the right client according to the specific name.
- FIRST_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- flatIntoAProfileList(Map<String, U>) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Flat the map of profiles into a list of profiles.
- flatIntoOneProfile(Collection<U>) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Flat the list of profiles into a single optional profile (skip any anonymous profile unless it's the only one).
- forbidden(WebContext, SessionStore, List<Client>, List<UserProfile>, String) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Return a forbidden error.
- FORBIDDEN - Static variable in interface org.pac4j.core.context.HttpConstants
- ForbiddenAction - Exception in org.pac4j.core.exception.http
-
A forbidden HTTP action.
- ForbiddenAction() - Constructor for exception org.pac4j.core.exception.http.ForbiddenAction
- format - Variable in class org.pac4j.core.profile.converter.DateConverter
- FormExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract a username and password posted from a form.
- FormExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.FormExtractor
- FOUND - Static variable in interface org.pac4j.core.context.HttpConstants
- FoundAction - Exception in org.pac4j.core.exception.http
-
A "Found" HTTP action.
- FoundAction(String) - Constructor for exception org.pac4j.core.exception.http.FoundAction
- FromAttributesAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
-
Generate the authorization information by inspecting attributes.
- FromAttributesAuthorizationGenerator() - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- FromAttributesAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- FromAttributesAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
G
- Gender - Enum in org.pac4j.core.profile
-
This enumeration is the gender of a user : male, female or unspecified.
- GENDER - Static variable in class org.pac4j.core.profile.converter.Converters
- GENDER - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- GenderConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String to a Gender.
- GenderConverter() - Constructor for class org.pac4j.core.profile.converter.GenderConverter
- GenderConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.GenderConverter
- generate(WebContext, SessionStore, UserProfile) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
- generate(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- generate(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- generate(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
- generateValue(WebContext, SessionStore) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
- generateValue(WebContext, SessionStore) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
- generateValue(WebContext, SessionStore) - Method in interface org.pac4j.core.util.generator.ValueGenerator
- get(K) - Method in class org.pac4j.core.store.AbstractStore
- get(K) - Method in interface org.pac4j.core.store.Store
-
Get a value by key.
- get(WebContext, String) - Method in class org.pac4j.core.context.session.JEESessionStore
- get(WebContext, String) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get the object from its key in store.
- get(WebContext, SessionStore) - Method in interface org.pac4j.core.matching.matcher.csrf.CsrfTokenGenerator
-
Get the CSRF token from the session or create it if it doesn't exist.
- get(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
- GET - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- GET - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
- GET_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- getAjaxRequestResolver() - Method in class org.pac4j.core.client.Clients
- getAjaxRequestResolver() - Method in class org.pac4j.core.client.IndirectClient
- getAllowCredentials() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getAllowHeaders() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getAllowMethods() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getAllowOrigin() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Return the attribute with name.
- getAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
- getAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Return the attribute with name.
- getAttributeAsDate(String) - Method in class org.pac4j.core.profile.CommonProfile
- getAttributes() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get all attributes as immutable map.
- getAttributes() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getAttributes() - Method in interface org.pac4j.core.profile.UserProfile
- getAudience() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Return the authentication attribute with name.
- getAuthenticationAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Return authentication attribute with name
- getAuthenticationAttributes() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get all authentication attributes as an immutable map
- getAuthenticator() - Method in class org.pac4j.core.client.BaseClient
- getAuthorizationChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- getAuthorizationGenerators() - Method in class org.pac4j.core.client.BaseClient
- getAuthorizationGenerators() - Method in class org.pac4j.core.client.Clients
- getAuthorizers() - Method in class org.pac4j.core.config.Config
- getBlue() - Method in class org.pac4j.core.profile.Color
- getBody() - Method in exception org.pac4j.core.exception.HttpCommunicationException
- getBooleanParam(FilterConfig, String, Boolean) - Method in class org.pac4j.core.config.AbstractConfigFilter
- getCache() - Method in class org.pac4j.core.store.GuavaStore
- getCacheSize() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- getCallbackLogic() - Method in class org.pac4j.core.config.Config
- getCallbackUrl() - Method in class org.pac4j.core.client.Clients
- getCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
- getCallbackUrlResolver() - Method in class org.pac4j.core.client.Clients
- getCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
- getClientFinder() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- getClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- getClientName() - Method in class org.pac4j.core.profile.BasicUserProfile
- getClientName() - Method in interface org.pac4j.core.profile.UserProfile
- getClientNameParameter() - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
- getClientNameParameter() - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
- getClients() - Method in class org.pac4j.core.client.Clients
- getClients() - Method in class org.pac4j.core.config.Config
- getCode() - Method in exception org.pac4j.core.exception.http.HttpAction
-
Return the HTTP code.
- getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
- getCodeVerifierSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
- getConfig() - Method in class org.pac4j.core.config.AbstractConfigFilter
- getConfig() - Method in class org.pac4j.core.profile.ProfileManager
- getConnectTimeout() - Static method in class org.pac4j.core.util.HttpUtils
- getConstructor(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Get the constructor of the class.
- getContent() - Method in exception org.pac4j.core.exception.http.NoContentAction
- getContent() - Method in exception org.pac4j.core.exception.http.OkAction
- getContent() - Method in interface org.pac4j.core.exception.http.WithContentAction
- getConverters() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- getCookie(Collection<Cookie>, String) - Static method in class org.pac4j.core.context.WebContextHelper
-
Get a specific cookie by its name.
- getCookie(WebContext, String) - Static method in class org.pac4j.core.context.WebContextHelper
-
Get a specific cookie by its name.
- getCredentials(WebContext, SessionStore) - Method in interface org.pac4j.core.client.Client
-
Get the credentials from the web context.
- getCredentials(WebContext, SessionStore) - Method in class org.pac4j.core.client.DirectClient
- getCredentials(WebContext, SessionStore) - Method in class org.pac4j.core.client.IndirectClient
-
Get the credentials from the web context.
- getCredentialsExtractor() - Method in class org.pac4j.core.client.BaseClient
- getCsrfTokenGenerator() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getCustomProperties() - Method in class org.pac4j.core.client.BaseClient
- getDefaultSecurityClients() - Method in class org.pac4j.core.client.Clients
- getDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- getDelegate() - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
- getDelegate() - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
- getDisplayName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the displayed name of the user.
- getDomain() - Method in class org.pac4j.core.context.Cookie
- getDomain() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getElements() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- getEmail() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the email of the user.
- getErrorUrl() - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
- getExcludedPaths() - Method in class org.pac4j.core.matching.matcher.PathMatcher
- getExcludedPatterns() - Method in class org.pac4j.core.matching.matcher.PathMatcher
- getExpectedValue() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- getExpirationDate() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getExposeHeaders() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getFamilyName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the family name of the user.
- getFirstName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the first name of the user.
- getFullRequestURL() - Method in class org.pac4j.core.context.JEEContext
- getFullRequestURL() - Method in interface org.pac4j.core.context.WebContext
-
Return the full URL (with query string) the client used to request the server.
- getGender() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the gender of the user.
- getGreen() - Method in class org.pac4j.core.profile.Color
- getHeaderName() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- getHeaderName() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- getHeaderName() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- getHttpActionAdapter() - Method in class org.pac4j.core.config.Config
- getHttpOnly() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getId() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get the user identifier.
- getId() - Method in interface org.pac4j.core.profile.UserProfile
- getIdAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getIssuedAt() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getIssuer() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getLinkedId() - Method in class org.pac4j.core.profile.BasicUserProfile
- getLinkedId() - Method in interface org.pac4j.core.profile.UserProfile
- getLocale() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the locale of the user.
- getLocation() - Method in exception org.pac4j.core.exception.http.FoundAction
- getLocation() - Method in exception org.pac4j.core.exception.http.SeeOtherAction
- getLocation() - Method in interface org.pac4j.core.exception.http.WithLocationAction
- getLocation() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the location of the user.
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in interface org.pac4j.core.client.Client
-
Return the logout action (indirect clients).
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.client.DirectClient
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.client.IndirectClient
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.logout.GoogleLogoutActionBuilder
- getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in interface org.pac4j.core.logout.LogoutActionBuilder
-
Return the
RedirectionAction
for logout. - getLogoutAction(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.logout.NoLogoutActionBuilder
- getLogoutActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
- getLogoutLogic() - Method in class org.pac4j.core.config.Config
- getMatchers() - Method in class org.pac4j.core.config.Config
- getMatchingChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- getMaxAge() - Method in class org.pac4j.core.context.Cookie
- getMaxAge() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- getMaxAge() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getMaxAge() - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- getMethods() - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
- getName() - Method in class org.pac4j.core.client.BaseClient
- getName() - Method in interface org.pac4j.core.client.Client
-
Get the name of the client.
- getName() - Method in class org.pac4j.core.context.Cookie
- getName() - Method in class org.pac4j.core.profile.Pac4JPrincipal
- getNativeRequest() - Method in class org.pac4j.core.context.JEEContext
-
Return the native HTTP request.
- getNativeResponse() - Method in class org.pac4j.core.context.JEEContext
-
Return the native HTTP response.
- getNativeSession(WebContext, boolean) - Method in class org.pac4j.core.context.session.JEESessionStore
- getNonceSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
- getNotBefore() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getObjectMapper() - Method in class org.pac4j.core.util.serializer.JsonSerializer
- getParameter(Object[], int) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- getParameterName() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- getPassword() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
- getPasswordAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getPasswordEncoder() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getPasswordParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
- getPath() - Method in class org.pac4j.core.context.Cookie
- getPath() - Method in class org.pac4j.core.context.JEEContext
-
This is not implemented using
HttpServletRequest.getServletPath()
orHttpServletRequest.getPathInfo()
because they both have strange behaviours in different contexts (inside servlets, inside filters, various container implementation, etc) - getPath() - Method in interface org.pac4j.core.context.WebContext
-
Get the "servlet path" (in a JEE style).
- getPath() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getPermissions() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get the permissions of the user.
- getPermissions() - Method in interface org.pac4j.core.profile.UserProfile
- getPictureUrl() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the url of the picture of the user.
- getPrefixHeader() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- getPrimaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- getProfile() - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve the first user profile if it exists, ignoring any
AnonymousProfile
if possible. - getProfile(Class<U>) - Method in class org.pac4j.core.profile.ProfileManager
- getProfileClassPrefixes() - Static method in class org.pac4j.core.profile.ProfileHelper
- getProfileCreator() - Method in class org.pac4j.core.client.BaseClient
- getProfileDefinition() - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
- getProfileFactoryWhenNotAuthenticated() - Method in class org.pac4j.core.client.BaseClient
- getProfileId() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- getProfileManager(WebContext, SessionStore) - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
- getProfileManagerFactory() - Static method in class org.pac4j.core.config.Config
- getProfileManagerFactory() - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
- getProfiles() - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve all user profiles.
- 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.
- getProtocol() - Method in class org.pac4j.core.context.JEEContext
- getProtocol() - Method in interface org.pac4j.core.context.WebContext
-
Get the protocol version.
- getReadTimeout() - Static method in class org.pac4j.core.util.HttpUtils
- getRed() - Method in class org.pac4j.core.profile.Color
- getRedirectionAction(WebContext, SessionStore) - Method in interface org.pac4j.core.client.Client
-
Return the redirection action to the authentication provider (indirect clients).
- getRedirectionAction(WebContext, SessionStore) - Method in class org.pac4j.core.client.DirectClient
- getRedirectionAction(WebContext, SessionStore) - Method in class org.pac4j.core.client.IndirectClient
-
If an authentication has already been tried for this client and has failed (
null
credentials) or if the request is an AJAX one, an unauthorized response is thrown instead of a "redirection". - getRedirectionAction(WebContext, SessionStore) - Method in interface org.pac4j.core.redirect.RedirectionActionBuilder
-
Return the appropriate "redirection" action.
- getRedirectionActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
- getRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
- getRemoteAddr() - Method in class org.pac4j.core.context.JEEContext
- getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
-
Return the remote address.
- getRequestAttribute(String) - Method in class org.pac4j.core.context.JEEContext
- getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request attribute.
- getRequestContent() - Method in class org.pac4j.core.context.JEEContext
- getRequestContent() - Method in interface org.pac4j.core.context.WebContext
-
Gets content body of the original request.
- getRequestCookies() - Method in class org.pac4j.core.context.JEEContext
- getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
-
Retrieves request cookies.
- getRequestedUrl(WebContext, SessionStore) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
- getRequestHeader(String) - Method in class org.pac4j.core.context.JEEContext
- getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request header.
- getRequestMethod() - Method in class org.pac4j.core.context.JEEContext
- getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
-
Return the request method.
- getRequestParameter(String) - Method in class org.pac4j.core.context.JEEContext
- getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request parameter.
- getRequestParameters() - Method in class org.pac4j.core.context.JEEContext
- getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
-
Return all request parameters.
- getResponseHeader(String) - Method in class org.pac4j.core.context.JEEContext
- getResponseHeader(String) - Method in interface org.pac4j.core.context.WebContext
-
Get a header from the response.
- getRoles() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get the roles of the user.
- getRoles() - Method in interface org.pac4j.core.profile.UserProfile
- getSalt() - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
- getSameSitePolicy() - Method in class org.pac4j.core.context.Cookie
- getSameSitePolicy() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getSavedRequestHandler() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- getSavedRequestHandler() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- getSaveProfileInSession(WebContext, UserProfile) - Method in class org.pac4j.core.client.BaseClient
- getScheme() - Method in class org.pac4j.core.context.JEEContext
- getScheme() - Method in interface org.pac4j.core.context.WebContext
-
Return the scheme.
- getSecondaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- getSecure() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- getSecurityLogic() - Method in class org.pac4j.core.config.Config
- getSerializer() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getServerName() - Method in class org.pac4j.core.context.JEEContext
- getServerName() - Method in interface org.pac4j.core.context.WebContext
-
Return the server name.
- getServerPort() - Method in class org.pac4j.core.context.JEEContext
- getServerPort() - Method in interface org.pac4j.core.context.WebContext
-
Return the server port.
- getSessionId(WebContext, boolean) - Method in class org.pac4j.core.context.session.JEESessionStore
- getSessionId(WebContext, boolean) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get or create the session identifier and initialize the session with it if necessary.
- getSessionStore() - Method in class org.pac4j.core.config.Config
- getSharedConfig() - Method in class org.pac4j.core.config.AbstractConfigFilter
- getSize() - Method in class org.pac4j.core.store.GuavaStore
- getSize() - Method in class org.pac4j.core.util.generator.RandomValueGenerator
- getSplitChar() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- getStateSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
- getStore() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- getStore() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- getStringParam(FilterConfig, String, String) - Method in class org.pac4j.core.config.AbstractConfigFilter
- 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(WebContext) - Method in class org.pac4j.core.context.session.JEESessionStore
- getTrackableSession(WebContext) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get the native session as a trackable object.
- getTrustedClasses() - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
Returns an immutable set of trusted classes.
- getTrustedPackages() - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
Returns an immutable set of tusted packages.
- getTtlInSeconds() - Method in class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
- getTypedId() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Get the user identifier with a prefix which is the profile type (full class name with package).
- getTypedId() - Method in interface org.pac4j.core.profile.UserProfile
- 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.BasicUserProfile
- getUsername() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the username of the user.
- getUsername() - Method in interface org.pac4j.core.profile.UserProfile
- getUsernameAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- getUsernameParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
- getUserProfile() - Method in class org.pac4j.core.credentials.Credentials
- getUserProfile(Credentials, WebContext, SessionStore) - Method in class org.pac4j.core.client.BaseClient
- getUserProfile(Credentials, WebContext, SessionStore) - Method in interface org.pac4j.core.client.Client
-
Get the user profile based on the provided credentials.
- getValue() - Method in class org.pac4j.core.context.Cookie
- getValue() - Method in class org.pac4j.core.util.generator.StaticValueGenerator
- getWebContextFactory() - Method in class org.pac4j.core.config.Config
- GoogleLogoutActionBuilder - Class in org.pac4j.core.logout
-
Google logout action builder.
- GoogleLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.GoogleLogoutActionBuilder
- GuavaStore<K,O> - Class in org.pac4j.core.store
-
Store data in a Guava cache.
- GuavaStore() - Constructor for class org.pac4j.core.store.GuavaStore
- GuavaStore(int, int, TimeUnit) - Constructor for class org.pac4j.core.store.GuavaStore
H
- handleError(WebContext, SessionStore) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
- handleError(WebContext, SessionStore) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
Handle the error.
- handleException(Exception, HttpActionAdapter, WebContext) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
Handle exceptions.
- hashCode() - Method in class org.pac4j.core.credentials.AnonymousCredentials
- hashCode() - Method in class org.pac4j.core.credentials.Credentials
- hashCode() - Method in class org.pac4j.core.credentials.TokenCredentials
- hashCode() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
- hashCode() - Method in class org.pac4j.core.profile.Pac4JPrincipal
- hashEquals(String, String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- HEAD - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- HeaderExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract header value.
- HeaderExtractor() - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
- HeaderExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
- HeaderMatcher - Class in org.pac4j.core.matching.matcher
-
Matching on a HTTP header.
- HeaderMatcher() - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
- HeaderMatcher(String, String) - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
- HSTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "hsts" authorizer.
- HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
- HttpAction - Exception in org.pac4j.core.exception.http
-
The HTTP action, to perform on the web context by the appropriate
HttpActionAdapter
. - HttpAction(int) - Constructor for exception org.pac4j.core.exception.http.HttpAction
- httpActionAdapter - Variable in class org.pac4j.core.config.Config
- httpActionAdapter(HttpActionAdapter, Config, HttpActionAdapter) - Static method in class org.pac4j.core.util.FindBest
- HttpActionAdapter - Interface in org.pac4j.core.http.adapter
-
HTTP action adapter.
- HttpActionHelper - Class in org.pac4j.core.util
-
Helper to build the appropriate
HttpAction
. - HttpActionHelper() - Constructor for class org.pac4j.core.util.HttpActionHelper
- HttpCommunicationException - Exception in org.pac4j.core.exception
-
This class represents an exception which can happen during HTTP communication (with status code and message body).
- HttpCommunicationException(int, String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
- HttpCommunicationException(String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
- HttpCommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
- HttpConstants - Interface in org.pac4j.core.context
-
Some HTTP constants.
- HttpConstants.HTTP_METHOD - Enum in org.pac4j.core.context
- HttpMethodMatcher - Class in org.pac4j.core.matching.matcher
-
Matching on HTTP methods.
- HttpMethodMatcher() - Constructor for class org.pac4j.core.matching.matcher.HttpMethodMatcher
- HttpMethodMatcher(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.matching.matcher.HttpMethodMatcher
- httpSession - Variable in class org.pac4j.core.context.session.JEESessionStore
- HttpUtils - Class in org.pac4j.core.util
-
This class provides utility functions to deal with opening connections, building error messages and closing connections, etc.
I
- ID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
- IndirectClient - 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.client.Clients
-
Populate the resolvers, callback URL and authz generators in the Client if defined in Clients and not already in the Client itself.
- init() - Method in class org.pac4j.core.util.InitializableObject
-
Initialize the object.
- init(FilterConfig) - Method in class org.pac4j.core.config.AbstractConfigFilter
- InitializableObject - Class in org.pac4j.core.util
-
Object that can be (re-)initialized.
- InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
- InMemoryProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
-
In-memory profile service.
- InMemoryProfileService(Map<String, Map<String, Object>>, ProfileFactory) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
- InMemoryProfileService(ProfileFactory) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
- insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Insert the attributes in the storage.
- insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
- INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
- INSTANCE - Static variable in class org.pac4j.core.config.Config
- INSTANCE - Static variable in class org.pac4j.core.context.JEEContextFactory
- INSTANCE - Static variable in class org.pac4j.core.context.session.JEESessionStore
- INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultCallbackLogic
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultLogoutLogic
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultSecurityLogic
- INSTANCE - Static variable in exception org.pac4j.core.exception.http.BadRequestAction
- INSTANCE - Static variable in exception org.pac4j.core.exception.http.ForbiddenAction
- INSTANCE - Static variable in exception org.pac4j.core.exception.http.NoContentAction
- INSTANCE - Static variable in exception org.pac4j.core.exception.http.UnauthorizedAction
- INSTANCE - Static variable in class org.pac4j.core.http.adapter.JEEHttpActionAdapter
- INSTANCE - Static variable in class org.pac4j.core.logout.NoLogoutActionBuilder
- INSTANCE - Static variable in class org.pac4j.core.profile.AnonymousProfile
- INSTANCE - Static variable in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
- INTEGER - Static variable in class org.pac4j.core.profile.converter.Converters
- IntegerConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into an Integer or returns the Integer in input.
- IntegerConverter() - Constructor for class org.pac4j.core.profile.converter.IntegerConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.UrlConverter
- internalDeserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- internalDeserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
Deserialize a bytes array into a Java object.
- internalDeserializeFromString(String) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- internalDeserializeFromString(String) - Method in class org.pac4j.core.util.serializer.JsonSerializer
- internalFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.pac4j.core.config.AbstractConfigFilter
- 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.client.direct.AnonymousClient
- internalInit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- internalInit() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- internalInit() - Method in class org.pac4j.core.profile.service.InMemoryProfileService
- internalInit() - Method in class org.pac4j.core.store.AbstractStore
- internalInit() - Method in class org.pac4j.core.store.GuavaStore
- internalInit() - Method in class org.pac4j.core.util.InitializableObject
-
Internal initialization of the object.
- internalRemove(K) - Method in class org.pac4j.core.store.AbstractStore
- internalRemove(K) - Method in class org.pac4j.core.store.GuavaStore
- internalSerializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- internalSerializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
Serialize a Java object into a bytes array.
- internalSerializeToString(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- internalSerializeToString(Object) - Method in class org.pac4j.core.util.serializer.JsonSerializer
- internalSet(K, O) - Method in class org.pac4j.core.store.AbstractStore
- internalSet(K, O) - Method in class org.pac4j.core.store.GuavaStore
- IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.util.Pac4jConstants
- IS_ANONYMOUS - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
-
The "isAnonymous" authorizer.
- IS_ANONYMOUS_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- IS_AUTHENTICATED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
-
The "isAuthenticated" authorizer.
- IS_AUTHENTICATED_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- IS_FULLY_AUTHENTICATED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
-
The "isFullyAuthenticated" authorizer.
- IS_FULLY_AUTHENTICATED_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- IS_REMEMBERED - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
-
The "isRemembered" authorizer.
- IS_REMEMBERED_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- isAddRedirectionUrlAsHeader() - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
- isAjax(WebContext, SessionStore) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
-
Whether it is an AJAX request.
- isAjax(WebContext, SessionStore) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
- isAllAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
If all profiles are authorized.
- isAlwaysUse401ForUnauthenticated() - Static method in class org.pac4j.core.util.HttpActionHelper
- isAnonymous() - Static method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
- IsAnonymousAuthorizer - 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, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
If any of the profiles is authorized.
- isAuthenticated() - Static method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
- isAuthenticated() - Method in class org.pac4j.core.profile.ProfileManager
-
Tests if the current user is authenticated (meaning a user profile exists which is not an
AnonymousProfile
). - IsAuthenticatedAuthorizer - 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, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in interface org.pac4j.core.authorization.authorizer.Authorizer
-
Checks if the user profiles and / or the current web context are authorized.
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
- isAuthorized(WebContext, SessionStore, List<UserProfile>, String, Map<String, Authorizer>, List<Client>) - Method in interface org.pac4j.core.authorization.checker.AuthorizationChecker
-
Check whether the user is authorized.
- isAuthorized(WebContext, SessionStore, List<UserProfile>, String, Map<String, Authorizer>, List<Client>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- isAuthorized(WebContext, SessionStore, List<UserProfile>, 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(Credentials) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- isCheckAllRequests() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- isCompleteRelativeUrl() - Method in class org.pac4j.core.http.url.DefaultUrlResolver
- isDelete(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether it is a DELETE request.
- isDestroySession() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- isEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if a collection is empty.
- isExpired() - Method in class org.pac4j.core.profile.BasicUserProfile
- isExpired() - Method in class org.pac4j.core.profile.CommonProfile
- isExpired() - Method in interface org.pac4j.core.profile.UserProfile
- isFailIfLinkedUserNotFound() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- isFullyAuthenticated() - Static method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
- IsFullyAuthenticatedAuthorizer - 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.WebContextHelper
-
Whether it is a GET request.
- isHttp(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether the request is HTTP.
- isHttpOnly() - Method in class org.pac4j.core.context.Cookie
- isHttps(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether the request is HTTPS.
- isHttpsOrSecure(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether the request is HTTPS or secure.
- isInitialized() - Method in class org.pac4j.core.util.InitializableObject
- isLegacyMode() - Method in class org.pac4j.core.profile.service.AbstractProfileService
- isMultiProfile(WebContext, UserProfile) - Method in class org.pac4j.core.client.BaseClient
- isNotBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if the String is not blank.
- isNotEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if a collection is not empty.
- isPatch(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether it is a PATCH request.
- isPost(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether it is a POST request.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
Whether a specific profile is authorized.
- isPut(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether it is a PUT request.
- isRemembered() - Static method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
- isRemembered() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Is the user remembered?
- isRemembered() - Method in interface org.pac4j.core.profile.UserProfile
- IsRememberedAuthorizer - 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
- isRestoreProfileFromTypedId() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- isSecure() - Method in class org.pac4j.core.context.Cookie
- isSecure() - Method in class org.pac4j.core.context.JEEContext
- isSecure() - Method in interface org.pac4j.core.context.WebContext
-
Return whether the request is secure.
- ISSUED_AT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- ISSUER - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- isTrimValue() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- isTypedIdOf(String, Class<? extends UserProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Indicate if the user identifier matches this kind of profile.
- isUseModernHttpCodes() - Static method in class org.pac4j.core.util.HttpActionHelper
J
- JavaSerializer - Class in org.pac4j.core.util.serializer
-
Java serializer.
- JavaSerializer() - Constructor for class org.pac4j.core.util.serializer.JavaSerializer
- JBCryptPasswordEncoder - Class in org.pac4j.core.credentials.password
-
A password encoder for bcrypt and using a salt.
- JBCryptPasswordEncoder() - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
-
Use the default salt generated by
BCrypt.gensalt()
. - JBCryptPasswordEncoder(String) - Constructor for class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
- JEEContext - Class in org.pac4j.core.context
-
This implementation uses the JEE
HttpServletRequest
andHttpServletResponse
. - JEEContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.pac4j.core.context.JEEContext
-
Build a JEE context from the current HTTP request and response.
- JEEContextFactory - Class in org.pac4j.core.context
-
Build a JEE context from parameters.
- JEEContextFactory() - Constructor for class org.pac4j.core.context.JEEContextFactory
- JEEHttpActionAdapter - Class in org.pac4j.core.http.adapter
-
The HTTP action adapter for the
JEEContext
. - JEEHttpActionAdapter() - Constructor for class org.pac4j.core.http.adapter.JEEHttpActionAdapter
- JEESessionStore - Class in org.pac4j.core.context.session
-
Store data in the JEE web session.
- JEESessionStore() - Constructor for class org.pac4j.core.context.session.JEESessionStore
- JEESessionStore(HttpSession) - Constructor for class org.pac4j.core.context.session.JEESessionStore
- JsonSerializer - Class in org.pac4j.core.util.serializer
-
A JSON serializer.
- JsonSerializer(Class<? extends Object>) - Constructor for class org.pac4j.core.util.serializer.JsonSerializer
- JWT_ID - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- JwtClaims - Interface in org.pac4j.core.profile.jwt
-
JWT claims: https://tools.ietf.org/html/rfc7519#page-9
L
- LINKEDID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
- LoadLinkedUserAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
-
Load a linked account and replace the original account.
- LoadLinkedUserAuthorizationGenerator() - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- LoadLinkedUserAuthorizationGenerator(ProfileService) - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- loadProfiles(ProfileManager, WebContext, SessionStore, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Load the profiles.
- LOCAL_LOGOUT - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Whether a local logout must be performed
- LocalCachingAuthenticator - 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, int, int, TimeUnit) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- LocalCachingAuthenticator(Authenticator, Store<Credentials, UserProfile>) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- locale - Variable in class org.pac4j.core.profile.converter.DateConverter
- LOCALE - Static variable in class org.pac4j.core.profile.converter.Converters
- LOCALE - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- LocaleConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String to a Locale.
- LocaleConverter() - Constructor for class org.pac4j.core.profile.converter.LocaleConverter
- LOCATION - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- LOCATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
- logger - Variable in class org.pac4j.core.client.BaseClient
- logger - Variable in class org.pac4j.core.config.AbstractConfigFilter
- logger - Variable in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- logger - Variable in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- logger - Variable in class org.pac4j.core.profile.BasicUserProfile
- logger - Static variable in class org.pac4j.core.profile.converter.DateConverter
- logger - Variable in class org.pac4j.core.profile.definition.ProfileDefinition
- logger - Variable in class org.pac4j.core.profile.ProfileManager
- logger - Variable in class org.pac4j.core.profile.service.AbstractProfileService
- LOGOUT_ENDPOINT_PARAMETER - Static variable in interface org.pac4j.core.util.Pac4jConstants
- LOGOUT_URL_PATTERN - Static variable in interface org.pac4j.core.util.Pac4jConstants
- LogoutActionBuilder - Interface in org.pac4j.core.logout
-
The
RedirectionAction
for logout. - LogoutHandler - Interface in org.pac4j.core.logout.handler
-
This interface defines how to handle logout requests on client side.
- logoutLogic - Variable in class org.pac4j.core.config.Config
- logoutLogic(LogoutLogic, Config, LogoutLogic) - Static method in class org.pac4j.core.util.FindBest
- LogoutLogic - Interface in org.pac4j.core.engine
-
Logout logic for the application and the identity provider.
- LONG - Static variable in class org.pac4j.core.profile.converter.Converters
- LongConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into a Long or returns the Long (or Integer) in input.
- LongConverter() - Constructor for class org.pac4j.core.profile.converter.LongConverter
M
- MALE - org.pac4j.core.profile.Gender
- Matcher - Interface in org.pac4j.core.matching.matcher
-
To match requests.
- matchers - Variable in class org.pac4j.core.config.Config
- MATCHERS - Static variable in interface org.pac4j.core.util.Pac4jConstants
- matches(String, String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
- matches(String, String) - Method in interface org.pac4j.core.credentials.password.PasswordEncoder
-
Validate if a plainPassword matches
- matches(String, String) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
- matches(String, String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
- matches(String, WebContext) - Method in interface org.pac4j.core.http.callback.CallbackUrlResolver
-
Whether the current context matches the client name.
- matches(String, WebContext) - Method in class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
- matches(String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
- matches(String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.CacheControlMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
- matches(WebContext, SessionStore) - Method in interface org.pac4j.core.matching.matcher.Matcher
-
Check if the web context matches.
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
- matches(WebContext, SessionStore) - Method in class org.pac4j.core.matching.matcher.XSSProtectionMatcher
- matches(WebContext, SessionStore, String, Map<String, Matcher>, List<Client>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- matches(WebContext, SessionStore, String, Map<String, Matcher>, List<Client>) - Method in interface org.pac4j.core.matching.checker.MatchingChecker
-
Check if the web context matches.
- matches(WebContext, SessionStore, List<Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- MatchingChecker - Interface in org.pac4j.core.matching.checker
-
The way to check requests matching.
- 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
- newContext(Object...) - Method in class org.pac4j.core.context.JEEContextFactory
- newContext(Object...) - Method in interface org.pac4j.core.context.WebContextFactory
- newDate(Date) - Static method in class org.pac4j.core.util.CommonHelper
-
Copy a date.
- newDefaultCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
- newProfile(Object...) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Return the new built or restored profile.
- NO_CONTENT - Static variable in interface org.pac4j.core.context.HttpConstants
- NOCACHE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "nocache" authorizer.
- NoContentAction - Exception in org.pac4j.core.exception.http
-
A no content HTTP action.
- NoContentAction() - Constructor for exception org.pac4j.core.exception.http.NoContentAction
- NOFRAME - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "noframe" authorizer.
- NoLogoutActionBuilder - Class in org.pac4j.core.logout
-
No
RedirectionAction
for logout. - NoLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.NoLogoutActionBuilder
- NONE - Static variable in interface org.pac4j.core.authorization.authorizer.DefaultAuthorizers
- NONE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
- NoParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
-
No name is added to the callback URL to be able to distinguish the client, so it doesn't match.
- NoParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
- NOSNIFF - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "nosniff" authorizer.
- NOT_BEFORE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- notifySessionRenewal(String, WebContext, SessionStore) - Method in class org.pac4j.core.client.BaseClient
-
Notify of the web session renewal.
O
- OIDC_CLAIM_SESSIONID - Static variable in interface org.pac4j.core.util.Pac4jConstants
- OK - Static variable in interface org.pac4j.core.context.HttpConstants
- OkAction - Exception in org.pac4j.core.exception.http
-
An OK HTTP action.
- OkAction(String) - Constructor for exception org.pac4j.core.exception.http.OkAction
- openConnection(URL, String, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
- openDeleteConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
- openPostConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
- openPostConnection(URL, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
- OPTIONS - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- or(Authorizer...) - Static method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
- OrAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
The disjunction of authorizers.
- OrAuthorizer(List<Authorizer>) - Constructor for class org.pac4j.core.authorization.authorizer.OrAuthorizer
- org.pac4j.core.authorization.authorizer - package org.pac4j.core.authorization.authorizer
- org.pac4j.core.authorization.checker - package org.pac4j.core.authorization.checker
- org.pac4j.core.authorization.generator - package org.pac4j.core.authorization.generator
- org.pac4j.core.client - package org.pac4j.core.client
- org.pac4j.core.client.config - package org.pac4j.core.client.config
- org.pac4j.core.client.direct - package org.pac4j.core.client.direct
- org.pac4j.core.client.finder - package org.pac4j.core.client.finder
- org.pac4j.core.config - package org.pac4j.core.config
- org.pac4j.core.context - package org.pac4j.core.context
- org.pac4j.core.context.session - package org.pac4j.core.context.session
- org.pac4j.core.credentials - package org.pac4j.core.credentials
- org.pac4j.core.credentials.authenticator - package org.pac4j.core.credentials.authenticator
- org.pac4j.core.credentials.extractor - package org.pac4j.core.credentials.extractor
- org.pac4j.core.credentials.password - package org.pac4j.core.credentials.password
- org.pac4j.core.engine - package org.pac4j.core.engine
- org.pac4j.core.engine.savedrequest - package org.pac4j.core.engine.savedrequest
- org.pac4j.core.exception - package org.pac4j.core.exception
- org.pac4j.core.exception.http - package org.pac4j.core.exception.http
- org.pac4j.core.http.adapter - package org.pac4j.core.http.adapter
- org.pac4j.core.http.ajax - package org.pac4j.core.http.ajax
- org.pac4j.core.http.callback - package org.pac4j.core.http.callback
- org.pac4j.core.http.url - package org.pac4j.core.http.url
- org.pac4j.core.logout - package org.pac4j.core.logout
- org.pac4j.core.logout.handler - package org.pac4j.core.logout.handler
- org.pac4j.core.matching.checker - package org.pac4j.core.matching.checker
- org.pac4j.core.matching.matcher - package org.pac4j.core.matching.matcher
- org.pac4j.core.matching.matcher.csrf - package org.pac4j.core.matching.matcher.csrf
- org.pac4j.core.profile - package org.pac4j.core.profile
- org.pac4j.core.profile.converter - package org.pac4j.core.profile.converter
- org.pac4j.core.profile.creator - package org.pac4j.core.profile.creator
- org.pac4j.core.profile.definition - package org.pac4j.core.profile.definition
- org.pac4j.core.profile.factory - package org.pac4j.core.profile.factory
- org.pac4j.core.profile.jwt - package org.pac4j.core.profile.jwt
- org.pac4j.core.profile.service - package org.pac4j.core.profile.service
- org.pac4j.core.redirect - package org.pac4j.core.redirect
- org.pac4j.core.store - package org.pac4j.core.store
- org.pac4j.core.util - package org.pac4j.core.util
- org.pac4j.core.util.generator - package org.pac4j.core.util.generator
- org.pac4j.core.util.serializer - package org.pac4j.core.util.serializer
P
- Pac4jConstants - Interface in org.pac4j.core.util
-
Common constants.
- Pac4JPrincipal - Class in org.pac4j.core.profile
-
Default implementation for
Principal
based on a pac4jBasicUserProfile
. - Pac4JPrincipal(UserProfile) - Constructor for class org.pac4j.core.profile.Pac4JPrincipal
- ParameterExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract a parameter value.
- ParameterExtractor(String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
- ParameterExtractor(String, boolean, boolean) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
- PASSWORD - Static variable in interface org.pac4j.core.util.Pac4jConstants
- PasswordEncoder - Interface in org.pac4j.core.credentials.password
-
Encode a password.
- PATCH - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- PathMatcher - Class in org.pac4j.core.matching.matcher
-
Matches all request paths except whitelisted (excluded) paths.
- PathMatcher() - Constructor for class org.pac4j.core.matching.matcher.PathMatcher
- PathMatcher(String) - Constructor for class org.pac4j.core.matching.matcher.PathMatcher
- PathParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
-
The client name is added to the path of the callback URL.
- PathParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
- pattern - Variable in class org.pac4j.core.matching.matcher.HeaderMatcher
- perform(WebContext, SessionStore, Config, SecurityGrantedAccessAdapter, HttpActionAdapter, String, String, String, Object...) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- perform(WebContext, SessionStore, Config, SecurityGrantedAccessAdapter, HttpActionAdapter, String, String, String, Object...) - Method in interface org.pac4j.core.engine.SecurityLogic
-
Perform the security logic.
- perform(WebContext, SessionStore, Config, HttpActionAdapter, String, Boolean, String) - Method in interface org.pac4j.core.engine.CallbackLogic
-
Perform the callback logic.
- perform(WebContext, SessionStore, Config, HttpActionAdapter, String, Boolean, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- perform(WebContext, SessionStore, Config, HttpActionAdapter, String, String, Boolean, Boolean, Boolean) - Method in class org.pac4j.core.engine.DefaultLogoutLogic
- perform(WebContext, SessionStore, Config, HttpActionAdapter, String, String, Boolean, Boolean, Boolean) - Method in interface org.pac4j.core.engine.LogoutLogic
-
Perform the application logout logic.
- PICTURE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- POST - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- POST - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
- POST_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- PREVIOUS_CSRF_TOKEN - Static variable in interface org.pac4j.core.util.Pac4jConstants
- primary(String, AttributeConverter) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a primary one and its converter.
- PROFILE_ATTRIBUTE - org.pac4j.core.profile.AttributeLocation
-
Profile "basic" attribute.
- PROFILE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
- ProfileAuthorizer - 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 - Interface in org.pac4j.core.profile.creator
-
This interface is responsible to create a
UserProfile
from aCredentials
. - ProfileDefinition - 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 - Class in org.pac4j.core.profile.definition
-
For classes that can set the profile definition.
- ProfileDefinitionAware() - Constructor for class org.pac4j.core.profile.definition.ProfileDefinitionAware
- profileFactory - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
- ProfileFactory - Interface in org.pac4j.core.profile.factory
-
A profile factory.
- ProfileHelper - Class in org.pac4j.core.profile
-
This class is an helper for profiles.
- ProfileManager - Class in org.pac4j.core.profile
-
This class is a generic way to manage the current user profile(s), i.e. the one(s) of the current authenticated user.
- ProfileManager(WebContext, SessionStore) - Constructor for class org.pac4j.core.profile.ProfileManager
- profileManagerFactory(ProfileManagerFactory, Config, ProfileManagerFactory) - Static method in class org.pac4j.core.util.FindBest
- ProfileManagerFactory - Interface in org.pac4j.core.profile.factory
-
A
ProfileManager
factory based on theWebContext
. - ProfileManagerFactoryAware - Class in org.pac4j.core.profile.factory
-
For classes that can set the profile manager factory.
- ProfileManagerFactoryAware() - Constructor for class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
- profiles - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
- ProfileService<U extends CommonProfile> - Interface in org.pac4j.core.profile.service
-
Profile services: creation, update, delete and retrievals in the storage.
- PUT - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- PUT - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
- PUT_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
Q
- QueryParameterCallbackUrlResolver - Class in org.pac4j.core.http.callback
-
The client name is added as a query parameter to the callback URL.
- QueryParameterCallbackUrlResolver() - Constructor for class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
- QueryParameterCallbackUrlResolver(Map<String, String>) - Constructor for class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
R
- randomString(int) - Static method in class org.pac4j.core.util.CommonHelper
-
Return a random string of a certain size.
- RandomValueGenerator - Class in org.pac4j.core.util.generator
-
Value generator which returns a random value.
- RandomValueGenerator() - Constructor for class org.pac4j.core.util.generator.RandomValueGenerator
- RandomValueGenerator(int) - Constructor for class org.pac4j.core.util.generator.RandomValueGenerator
- read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Read the list of defined attributes in the storage for key=value query.
- read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
- readBody(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
- readExternal(ObjectInput) - Method in class org.pac4j.core.profile.BasicUserProfile
- recordSession(WebContext, SessionStore, String) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- recordSession(WebContext, SessionStore, String) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
-
Associates a key with the current web session.
- RedirectionAction - Exception in org.pac4j.core.exception.http
-
A "redirection" HTTP action.
- RedirectionAction(int) - Constructor for exception org.pac4j.core.exception.http.RedirectionAction
- RedirectionActionBuilder - Interface in org.pac4j.core.redirect
-
Return the redirection action to perform.
- redirectToIdentityProvider(WebContext, SessionStore, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Perform a redirection to start the login process of the first indirect client.
- redirectToOriginallyRequestedUrl(WebContext, SessionStore, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- remove(K) - Method in class org.pac4j.core.store.AbstractStore
- remove(K) - Method in interface org.pac4j.core.store.Store
-
Remove the value associated to the key.
- remove(U) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- remove(U) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Rmove a profile in the storage.
- removeAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Remove an attribute by its key.
- removeAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Remove an authentication attribute by its key
- removeById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- removeById(String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Remove a profile by its identifier in the storage.
- removeFromCache(Credentials) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- removeLoginData() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Remove the specific data retrieved during the login process to only keep the user attributes, roles and permissions.
- removeOrRenewExpiredProfiles(LinkedHashMap<String, UserProfile>, boolean) - Method in class org.pac4j.core.profile.ProfileManager
- removeProfiles() - Method in class org.pac4j.core.profile.ProfileManager
-
Remove the current user profile(s).
- RENEW_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Whether the session must be renewed after login.
- renewSession(String, WebContext, SessionStore) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- renewSession(String, WebContext, SessionStore) - Method in interface org.pac4j.core.logout.handler.LogoutHandler
-
Renew the web session.
- renewSession(WebContext) - Method in class org.pac4j.core.context.session.JEESessionStore
- renewSession(WebContext) - Method in interface org.pac4j.core.context.session.SessionStore
-
Renew the native session by copying all data to a new one.
- renewSession(WebContext, SessionStore, Config) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- renewUserProfile(UserProfile, WebContext, SessionStore) - Method in class org.pac4j.core.client.BaseClient
- renewUserProfile(UserProfile, WebContext, SessionStore) - Method in interface org.pac4j.core.client.Client
-
Renew the user profile.
- REQUESTED_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
- requireAllPermissions(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- requireAllPermissions(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- requireAllPermissions(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- RequireAllPermissionsAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has all the permissions.
- RequireAllPermissionsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- RequireAllPermissionsAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- RequireAllPermissionsAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- RequireAllPermissionsAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
- requireAllRoles(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- requireAllRoles(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- requireAllRoles(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- RequireAllRolesAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has all the roles.
- RequireAllRolesAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
- requireAnyAttribute(String) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
- RequireAnyAttributeAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
This is
RequireAnyAttributeAuthorizer
which checks profile attributes for the specified element, and optionally may pattern-check the configured value. - RequireAnyAttributeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
- RequireAnyAttributeAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
- requireAnyPermission(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- requireAnyPermission(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- requireAnyPermission(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- RequireAnyPermissionAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has any of the permissions.
- RequireAnyPermissionAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- RequireAnyPermissionAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- RequireAnyPermissionAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- RequireAnyPermissionAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
- requireAnyRole(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- requireAnyRole(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- requireAnyRole(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- RequireAnyRoleAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has any of the roles.
- RequireAnyRoleAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
- restore(WebContext, SessionStore, String) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
- restore(WebContext, SessionStore, String) - Method in interface org.pac4j.core.engine.savedrequest.SavedRequestHandler
-
Restore the saved request.
- retrieveAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve the map of profiles from the session or the request.
- retrieveAuthorizer(String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
- retrieveClientName(UserProfile) - Method in class org.pac4j.core.profile.ProfileManager
- retrieveCredentials(WebContext, SessionStore) - Method in class org.pac4j.core.client.BaseClient
-
Retrieve the credentials.
- retrieveMatchers(String, Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- retrieveUserProfile(Credentials, WebContext, SessionStore) - Method in class org.pac4j.core.client.BaseClient
-
Retrieve a user profile.
- runtimeException(Exception) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
Wrap an Exception into a RuntimeException.
S
- sanitizeIdentifier(Object) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Sanitize into a string identifier.
- save(boolean, UserProfile, boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Save the given user profile (replace the current one if multi profiles are not supported, add it otherwise).
- save(WebContext, SessionStore) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
- save(WebContext, SessionStore) - Method in interface org.pac4j.core.engine.savedrequest.SavedRequestHandler
-
Saves the current web context.
- saveAll(LinkedHashMap<String, UserProfile>, boolean) - Method in class org.pac4j.core.profile.ProfileManager
- SavedRequestHandler - Interface in org.pac4j.core.engine.savedrequest
-
Saves a request before a login process and restores it after a successfull login.
- saveProfileInSession - Variable in class org.pac4j.core.client.BaseClient
- saveRequestedUrl(WebContext, SessionStore, List<Client>, AjaxRequestResolver) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Save the requested url.
- saveUserProfile(WebContext, SessionStore, Config, UserProfile, boolean, boolean, boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- SCHEME_HTTP - Static variable in interface org.pac4j.core.context.HttpConstants
- SCHEME_HTTPS - Static variable in interface org.pac4j.core.context.HttpConstants
- secondary(String, AttributeConverter) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a secondary one and its converter.
- SecurityGrantedAccessAdapter - Interface in org.pac4j.core.engine
-
Success adapter.
- SECURITYHEADERS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "securityheaders" authorizer.
- securityLogic - Variable in class org.pac4j.core.config.Config
- securityLogic(SecurityLogic, Config, SecurityLogic) - Static method in class org.pac4j.core.util.FindBest
- SecurityLogic - Interface in org.pac4j.core.engine
-
Security logic to protect an url.
- SEE_OTHER - Static variable in interface org.pac4j.core.context.HttpConstants
- SeeOtherAction - Exception in org.pac4j.core.exception.http
-
A "See Other" HTTP action.
- SeeOtherAction(String) - Constructor for exception org.pac4j.core.exception.http.SeeOtherAction
- SERIALIZED_PROFILE - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
- Serializer - Interface in org.pac4j.core.util.serializer
-
The serializer contract.
- serializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- serializeToBytes(Object) - Method in interface org.pac4j.core.util.serializer.Serializer
-
Encode an object into a bytes array.
- serializeToString(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
- serializeToString(Object) - Method in interface org.pac4j.core.util.serializer.Serializer
-
Encode an object into a string.
- SESSION_ID - Static variable in interface org.pac4j.core.util.Pac4jConstants
- sessionStore - Variable in class org.pac4j.core.config.Config
- sessionStore - Variable in class org.pac4j.core.profile.ProfileManager
- sessionStore(SessionStore, Config, SessionStore) - Static method in class org.pac4j.core.util.FindBest
- SessionStore - Interface in org.pac4j.core.context.session
-
To store data in session.
- set(K, O) - Method in class org.pac4j.core.store.AbstractStore
- set(K, O) - Method in interface org.pac4j.core.store.Store
-
Set a value by its key.
- set(WebContext, String, Object) - Method in class org.pac4j.core.context.session.JEESessionStore
- set(WebContext, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
-
Save an object in the store by its key.
- setAddRedirectionUrlAsHeader(boolean) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
- setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.Clients
- setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.IndirectClient
- setAllowCredentials(Boolean) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setAllowHeaders(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setAllowMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setAllowOrigin(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setAlwaysUse401ForUnauthenticated(boolean) - Static method in class org.pac4j.core.util.HttpActionHelper
- 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) - Method in class org.pac4j.core.client.BaseClient
- setAuthorizationChecker(AuthorizationChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.BaseClient
-
Add an authorization generator.
- setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
- setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.BaseClient
- setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.Clients
- setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.BaseClient
- setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.Clients
- setAuthorizer(Authorizer) - Method in class org.pac4j.core.config.Config
- setAuthorizers(Map<String, Authorizer>) - Method in class org.pac4j.core.config.Config
- setBlue(int) - Method in class org.pac4j.core.profile.Color
- setCacheSize(int) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- setCallbackLogic(CallbackLogic) - Method in class org.pac4j.core.config.Config
- setCallbackUrl(String) - Method in class org.pac4j.core.client.Clients
- setCallbackUrl(String) - Method in class org.pac4j.core.client.IndirectClient
- setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.Clients
- setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.IndirectClient
- setCheckAllRequests(boolean) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- setClientName(String) - Method in class org.pac4j.core.profile.BasicUserProfile
- setClientName(String) - Method in interface org.pac4j.core.profile.UserProfile
- setClientNameParameter(String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
- setClientNameParameter(String) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
- setClients(List<Client>) - Method in class org.pac4j.core.client.Clients
- setClients(Client...) - Method in class org.pac4j.core.client.Clients
- setClients(Clients) - Method in class org.pac4j.core.config.Config
- setCompleteRelativeUrl(boolean) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
- setConfig(Config) - Method in class org.pac4j.core.config.AbstractConfigFilter
- setConfig(Config) - Static method in class org.pac4j.core.config.Config
- setConfig(Config) - Method in class org.pac4j.core.profile.ProfileManager
- setConnectTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
- setCredentialsExtractor(CredentialsExtractor) - Method in class org.pac4j.core.client.BaseClient
- setCsrfTokenGenerator(CsrfTokenGenerator) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setCustomProperties(Map<String, Object>) - Method in class org.pac4j.core.client.BaseClient
- setDefaultSecurityClients(String) - Method in class org.pac4j.core.client.Clients
- setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
- setDelegate(Authenticator) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- setDestroySession(boolean) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- setDomain(String) - Method in class org.pac4j.core.context.Cookie
- setDomain(String) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- setErrorUrl(String) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
Define on which error URL the user will be redirected in case of an exception.
- setExcludedPath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- setExcludedPaths(Collection<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- setExcludedPattern(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- setExcludedPatterns(Collection<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
- setExpectedValue(String) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- setExposeHeaders(String) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setFailIfLinkedUserNotFound(boolean) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- setGreen(int) - Method in class org.pac4j.core.profile.Color
- setHeaderName(String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- setHeaderName(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- setHeaderName(String) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
- setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
- setHttpOnly(Boolean) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setId(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Set the identifier.
- setId(String) - Method in interface org.pac4j.core.profile.UserProfile
- setIdAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- setLinkedId(String) - Method in class org.pac4j.core.profile.BasicUserProfile
- setLinkedId(String) - Method in interface org.pac4j.core.profile.UserProfile
- setLogoutActionBuilder(LogoutActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
- setLogoutLogic(LogoutLogic) - Method in class org.pac4j.core.config.Config
- setMatcher(Matcher) - Method in class org.pac4j.core.config.Config
- setMatchers(Map<String, Matcher>) - Method in class org.pac4j.core.config.Config
- setMatchingChecker(MatchingChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
- setMaxAge(int) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- setMaxAge(int) - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- setMaxAge(Integer) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
- setMultiProfile(boolean) - Method in class org.pac4j.core.client.BaseClient
- setName(String) - Method in class org.pac4j.core.client.BaseClient
- setName(String) - Method in class org.pac4j.core.context.Cookie
- setObjectMapper(ObjectMapper) - Method in class org.pac4j.core.util.serializer.JsonSerializer
- setParameterName(String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- setPasswordAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- setPasswordEncoder(PasswordEncoder) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- setPath(String) - Method in class org.pac4j.core.context.Cookie
- setPath(String) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setPermissionAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- setPermissions(Set<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
- setPrefixHeader(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- setProfileClassPrefixes(List<String>) - Static method in class org.pac4j.core.profile.ProfileHelper
- setProfileCreator(ProfileCreator) - Method in class org.pac4j.core.client.BaseClient
- setProfileDefinition(ProfileDefinition) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
- setProfileFactory(ProfileFactory) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Define the way to build the profile.
- setProfileFactoryWhenNotAuthenticated(ProfileFactory) - Method in class org.pac4j.core.client.BaseClient
- setProfileId(String) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- setProfileManagerFactory(String, ProfileManagerFactory) - Static method in class org.pac4j.core.config.Config
- setProfileManagerFactory(ProfileManagerFactory) - Method in class org.pac4j.core.profile.factory.ProfileManagerFactoryAware
- setProfileService(ProfileService) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
- setReadTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
- setRed(int) - Method in class org.pac4j.core.profile.Color
- setRedirectionActionBuilder(RedirectionActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
- setRedirectionUrl(String) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
- setRemembered(boolean) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Define if this profile is remembered.
- setRemembered(boolean) - Method in interface org.pac4j.core.profile.UserProfile
- setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.JEEContext
- setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
-
Save a request attribute.
- setResponseContentType(String) - Method in class org.pac4j.core.context.JEEContext
- setResponseContentType(String) - Method in interface org.pac4j.core.context.WebContext
-
Sets the response content type.
- setResponseHeader(String, String) - Method in class org.pac4j.core.context.JEEContext
- setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
-
Add a header to the response.
- setRestoreProfileFromTypedId(boolean) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
- setRoleAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- setRoles(Set<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
- setSalt(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
- setSameSitePolicy(String) - Method in class org.pac4j.core.context.Cookie
- setSameSitePolicy(String) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setSavedRequestHandler(SavedRequestHandler) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- setSavedRequestHandler(SavedRequestHandler) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- setSaveProfileInSession(boolean) - Method in class org.pac4j.core.client.BaseClient
- setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
- setSecure(Boolean) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
- setSerializer(Serializer) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- setSessionStore(SessionStore) - Method in class org.pac4j.core.config.Config
- setSharedConfig(Config) - Method in class org.pac4j.core.config.AbstractConfigFilter
- setSize(int) - Method in class org.pac4j.core.store.GuavaStore
- setSize(int) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
- setSplitChar(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
- setStore(Store<String, Object>) - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- setStore(Store<Credentials, UserProfile>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- setTimeout(int) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- setTimeout(int) - Method in class org.pac4j.core.store.GuavaStore
- setTimeUnit(TimeUnit) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- setTimeUnit(TimeUnit) - Method in class org.pac4j.core.store.GuavaStore
- setTrimValue(boolean) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
- setTtlInSeconds(int) - Method in class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
- setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.Clients
- setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.IndirectClient
- setUseModernHttpCodes(boolean) - Static method in class org.pac4j.core.util.HttpActionHelper
- setUsernameAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- setUserProfile(UserProfile) - Method in class org.pac4j.core.credentials.Credentials
- setValue(String) - Method in class org.pac4j.core.context.Cookie
- setValue(String) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
- setWebContextFactory(WebContextFactory) - Method in class org.pac4j.core.config.Config
- ShiroPasswordEncoder - Class in org.pac4j.core.credentials.password
-
A password encoder based on
PasswordService
from Apache Shiro Add theshiro-core
dependency to use this class. - ShiroPasswordEncoder(PasswordService) - Constructor for class org.pac4j.core.credentials.password.ShiroPasswordEncoder
- SpringSecurityPasswordEncoder - Class in org.pac4j.core.credentials.password
-
A password encoder based on
PasswordEncoder
from the Spring Security Crypto package. - SpringSecurityPasswordEncoder(PasswordEncoder) - Constructor for class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
- SpringSecurityPropertiesAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
-
Authorization generator based on a properties file in Spring security format: username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
- SpringSecurityPropertiesAuthorizationGenerator(Properties) - Constructor for class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
- startAuthentication(WebContext, SessionStore, 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.
- StaticValueGenerator - Class in org.pac4j.core.util.generator
-
Value generator which returns a pre-defined value.
- StaticValueGenerator() - Constructor for class org.pac4j.core.util.generator.StaticValueGenerator
- StaticValueGenerator(String) - Constructor for class org.pac4j.core.util.generator.StaticValueGenerator
- StatusAction - Exception in org.pac4j.core.exception.http
-
An HTTP action with just a specific status.
- StatusAction(int) - Constructor for exception org.pac4j.core.exception.http.StatusAction
- Store<K,O> - Interface in org.pac4j.core.store
-
Store data.
- STRICT_TRANSPORT_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- StrictTransportSecurityMatcher - Class in org.pac4j.core.matching.matcher
-
Strict transport security header matcher.
- StrictTransportSecurityMatcher() - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- StrictTransportSecurityMatcher(int) - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- STRING - Static variable in class org.pac4j.core.profile.converter.Converters
- StringConverter - Class in org.pac4j.core.profile.converter
-
This class only keeps String objects.
- StringConverter() - Constructor for class org.pac4j.core.profile.converter.StringConverter
- SUBJECT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
- substringAfter(String, String) - Static method in class org.pac4j.core.util.CommonHelper
- substringBefore(String, String) - Static method in class org.pac4j.core.util.CommonHelper
- substringBetween(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
T
- TechnicalException - Exception in org.pac4j.core.exception
-
This class represents the root technical exception for the library.
- TechnicalException(String) - Constructor for exception org.pac4j.core.exception.TechnicalException
- TechnicalException(String, Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
- TechnicalException(Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
- TEMPORARY_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
- TokenCredentials - Class in org.pac4j.core.credentials
-
This credentials represents a token.
- TokenCredentials(String) - Constructor for class org.pac4j.core.credentials.TokenCredentials
- toNiceString(Class<?>, Object...) - Static method in class org.pac4j.core.util.CommonHelper
-
Build a "nice toString" for an object.
- toString() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
- toString() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
- toString() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
- toString() - Method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
- toString() - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
- toString() - Method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
- 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.DirectClient
- toString() - Method in class org.pac4j.core.client.IndirectClient
- toString() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- toString() - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
- toString() - Method in class org.pac4j.core.credentials.TokenCredentials
- toString() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
- toString() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
- toString() - Method in class org.pac4j.core.engine.DefaultLogoutLogic
- toString() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
- toString() - Method in exception org.pac4j.core.exception.http.FoundAction
- toString() - Method in exception org.pac4j.core.exception.http.HttpAction
- toString() - Method in exception org.pac4j.core.exception.http.OkAction
- toString() - Method in exception org.pac4j.core.exception.http.SeeOtherAction
- toString() - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
- toString() - Method in class org.pac4j.core.logout.handler.DefaultLogoutHandler
- toString() - Method in class org.pac4j.core.matching.matcher.CacheControlMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.CorsMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.PathMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
- toString() - Method in class org.pac4j.core.matching.matcher.XSSProtectionMatcher
- toString() - Method in class org.pac4j.core.profile.BasicUserProfile
- toString() - Method in class org.pac4j.core.profile.Color
- toString() - Method in class org.pac4j.core.profile.Pac4JPrincipal
- toString() - Method in class org.pac4j.core.store.GuavaStore
- toString() - Method in class org.pac4j.core.util.serializer.JavaSerializer
- TRACE - org.pac4j.core.context.HttpConstants.HTTP_METHOD
- TYPED_ID_SEPARATOR - Static variable in interface org.pac4j.core.util.Pac4jConstants
U
- unauthorized(WebContext, SessionStore, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Return an unauthorized error.
- UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
- UnauthorizedAction - Exception in org.pac4j.core.exception.http
-
An unauthorized HTTP action.
- UnauthorizedAction() - Constructor for exception org.pac4j.core.exception.http.UnauthorizedAction
- UNSPECIFIED - org.pac4j.core.profile.Gender
- update(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Update the attributes in the storage.
- update(Map<String, Object>) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
- update(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- update(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Update a profile (with the associated password) in the storage.
- URL - Static variable in class org.pac4j.core.profile.converter.Converters
- URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
- UrlConverter - Class in org.pac4j.core.profile.converter
-
URL converter.
- UrlConverter() - Constructor for class org.pac4j.core.profile.converter.UrlConverter
- urlEncode(String) - Static method in class org.pac4j.core.util.CommonHelper
-
URL encode a text using UTF-8.
- urlResolver - Variable in class org.pac4j.core.client.IndirectClient
- UrlResolver - Interface in org.pac4j.core.http.url
-
How to compute an URL.
- USER_PROFILES - Static variable in interface org.pac4j.core.util.Pac4jConstants
- USERNAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
- UsernamePasswordCredentials - Class in org.pac4j.core.credentials
-
This class represents a username and a password credentials
- UsernamePasswordCredentials(String, String) - Constructor for class org.pac4j.core.credentials.UsernamePasswordCredentials
- UserProfile - Interface in org.pac4j.core.profile
-
The contract that all user profiles must respect.
V
- validate(Credentials, WebContext, SessionStore) - Method in interface org.pac4j.core.credentials.authenticator.Authenticator
-
Validate the credentials.
- validate(Credentials, WebContext, SessionStore) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
- validate(Credentials, WebContext, SessionStore) - Method in class org.pac4j.core.profile.service.AbstractProfileService
- ValueGenerator - Interface in org.pac4j.core.util.generator
-
Value generator.
- valueOf(String) - Static method in enum org.pac4j.core.context.HttpConstants.HTTP_METHOD
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pac4j.core.profile.AttributeLocation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.pac4j.core.profile.Gender
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.pac4j.core.context.HttpConstants.HTTP_METHOD
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pac4j.core.profile.AttributeLocation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.pac4j.core.profile.Gender
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn() - Method in class org.pac4j.core.matching.matcher.PathMatcher
- WebContext - Interface in org.pac4j.core.context
-
This interface represents the web context to use HTTP request and response.
- webContextFactory - Variable in class org.pac4j.core.config.Config
- webContextFactory(WebContextFactory, Config, WebContextFactory) - Static method in class org.pac4j.core.util.FindBest
- WebContextFactory - Interface in org.pac4j.core.context
-
Build a web context from parameters.
- WebContextHelper - Class in org.pac4j.core.context
-
A helper for the web context.
- WebContextHelper() - Constructor for class org.pac4j.core.context.WebContextHelper
- WithContentAction - Interface in org.pac4j.core.exception.http
-
An action with a content.
- WithLocationAction - Interface in org.pac4j.core.exception.http
-
An action with a location.
- writeExternal(ObjectOutput) - Method in class org.pac4j.core.profile.BasicUserProfile
X
- X_CONTENT_TYPE_OPTIONS_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- X_FRAME_OPTIONS_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- XContentTypeOptionsMatcher - Class in org.pac4j.core.matching.matcher
-
XContent type options header matcher.
- XContentTypeOptionsMatcher() - Constructor for class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
- XFrameOptionsMatcher - Class in org.pac4j.core.matching.matcher
-
XFrame options header matcher.
- XFrameOptionsMatcher() - Constructor for class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
- XSS_PROTECTION_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
- XSSPROTECTION - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "xssprotection" authorizer.
- XSSProtectionMatcher - Class in org.pac4j.core.matching.matcher
-
XSS protection header matcher.
- XSSProtectionMatcher() - Constructor for class org.pac4j.core.matching.matcher.XSSProtectionMatcher
All Classes All Packages