Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
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
-
Constructor for 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
-
Constructor for AbstractCheckAuthenticationAuthorizer.
- AbstractCheckAuthenticationAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
Constructor for AbstractCheckAuthenticationAuthorizer.
- 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> - 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.
- ACCEPT_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCEPT_HEADER="Accept"
- ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER="Access-Control-Allow-Credentials"
- ACCESS_CONTROL_ALLOW_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_ALLOW_HEADERS_HEADER="Access-Control-Allow-Headers"
- ACCESS_CONTROL_ALLOW_METHODS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_ALLOW_METHODS_HEADER="Access-Control-Allow-Methods"
- ACCESS_CONTROL_ALLOW_ORIGIN_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_ALLOW_ORIGIN_HEADER="Access-Control-Allow-Origin"
- ACCESS_CONTROL_EXPOSE_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_EXPOSE_HEADERS_HEADER="Access-Control-Expose-Headers"
- ACCESS_CONTROL_MAX_AGE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
ACCESS_CONTROL_MAX_AGE_HEADER="Access-Control-Max-Age"
- AccountNotFoundException - Exception Class in org.pac4j.core.exception
-
Exception when an account is not found.
- AccountNotFoundException(String) - Constructor for exception class org.pac4j.core.exception.AccountNotFoundException
-
Constructor for AccountNotFoundException.
- AccountNotFoundException(Throwable) - Constructor for exception class org.pac4j.core.exception.AccountNotFoundException
-
Constructor for AccountNotFoundException.
- adapt(WebContext, SessionStore, Collection<UserProfile>) - 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.
- ADD_ELEMENT - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
ADD_ELEMENT=""
- addAttribute(String, Object) - Method in class org.pac4j.core.profile.BasicUserProfile
- addAttribute(String, Object) - Method in interface org.pac4j.core.profile.UserProfile
-
addAttribute.
- 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
- addAuthenticationAttribute(String, Object) - Method in interface org.pac4j.core.profile.UserProfile
-
addAuthenticationAttribute.
- 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.
- addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
-
addAuthorizationGenerator.
- addAuthorizationGenerators(Collection<AuthorizationGenerator>) - Method in class org.pac4j.core.client.BaseClient
-
addAuthorizationGenerators.
- addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
-
addAuthorizer.
- addClient(Client) - Method in class org.pac4j.core.client.Clients
-
addClient.
- addClient(Client) - Method in class org.pac4j.core.config.Config
-
addClient.
- addMatcher(String, Matcher) - Method in class org.pac4j.core.config.Config
-
addMatcher.
- addParameter(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Add a new parameter to an url.
- 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
-
addRole.
- addRole(String) - Method in interface org.pac4j.core.profile.UserProfile
-
addRole.
- addRoles(Collection<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
addRoles.
- addRoles(Collection<String>) - Method in interface org.pac4j.core.profile.UserProfile
-
addRoles.
- addTrustedClass(Class<?>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
addTrustedClass.
- addTrustedClasses(Collection<Class<?>>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
addTrustedClasses.
- addTrustedPackage(String) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
addTrustedPackage.
- addTrustedPackages(Collection<String>) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
addTrustedPackages.
- afterInternalInit(boolean) - Method in class org.pac4j.core.client.DirectClient
-
afterInternalInit.
- afterInternalInit(boolean) - Method in class org.pac4j.core.client.IndirectClient
-
afterInternalInit.
- afterInternalInit(boolean) - Method in class org.pac4j.core.util.InitializableObject
-
afterInternalInit.
- AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
AJAX_HEADER_NAME="X-Requested-With"
- AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
AJAX_HEADER_VALUE="XMLHttpRequest"
- AjaxRequestResolver - Interface in org.pac4j.core.http.ajax
-
Compute if a HTTP request is an AJAX one and the appropriate response.
- ALL - Enum constant in enum class org.pac4j.core.credentials.extractor.FormExtractor.ExtractionMode
- ALLOW_AJAX_REQUESTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "allowAjaxRequests" matcher.
- ALWAYS_VALIDATE - Static variable in interface org.pac4j.core.credentials.authenticator.Authenticator
- and(Authorizer...) - Static method in class org.pac4j.core.authorization.authorizer.AndAuthorizer
-
and.
- AndAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
The conjunction of authorizers.
- AndAuthorizer(List<Authorizer>) - Constructor for class org.pac4j.core.authorization.authorizer.AndAuthorizer
-
Constructor for AndAuthorizer.
- AnonymousClient - Class in org.pac4j.core.client.direct
-
Anonymous client.
- AnonymousClient() - Constructor for class org.pac4j.core.client.direct.AnonymousClient
-
Constructor for 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
-
Constructor for AnonymousProfile.
- APPLICATION_FORM_ENCODED_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
APPLICATION_FORM_ENCODED_HEADER_VALUE="application/x-www-form-urlencoded"
- APPLICATION_JSON - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
APPLICATION_JSON="application/json"
- applyDefaultSettingsIfUndefined(Config) - Method in class org.pac4j.core.adapter.DefaultFrameworkAdapter
-
applyDefaultSettingsIfUndefined.
- applyDefaultSettingsIfUndefined(Config) - Method in class org.pac4j.core.adapter.FrameworkAdapter
-
applyDefaultSettingsIfUndefined.
- 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.
- asPrincipal() - Method in interface org.pac4j.core.profile.UserProfile
-
asPrincipal.
- 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
-
Constant
ATTEMPTED_AUTHENTICATION_SUFFIX="$attemptedAuthentication"
- 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 Class 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
-
Constant
AUDIENCE="aud"
- AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
AUTHENTICATE_HEADER="WWW-Authenticate"
- AUTHENTICATION_ATTRIBUTE - Enum constant in enum class 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
-
Constant
AUTHORIZATION_HEADER="Authorization"
- 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 for this user profile.
- Authorizer - Interface in org.pac4j.core.authorization.authorizer
-
Checks if an access is authorized.
- AUTHORIZERS - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
AUTHORIZERS="authorizers"
- AutomaticFormPostAction - Exception Class in org.pac4j.core.exception.http
-
This is an automatic form POST action.
- AutomaticFormPostAction(String, Map<String, String>, String) - Constructor for exception class org.pac4j.core.exception.http.AutomaticFormPostAction
B
- BACK - Enum constant in enum class org.pac4j.core.logout.LogoutType
- BAD_REQUEST - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
BAD_REQUEST=400
- BadCredentialsException - Exception Class in org.pac4j.core.exception
-
Exception for bad credentials.
- BadCredentialsException(String) - Constructor for exception class org.pac4j.core.exception.BadCredentialsException
-
Constructor for BadCredentialsException.
- BadCredentialsException(String, Throwable) - Constructor for exception class org.pac4j.core.exception.BadCredentialsException
-
Constructor for BadCredentialsException.
- BadCredentialsException(Throwable) - Constructor for exception class org.pac4j.core.exception.BadCredentialsException
-
Constructor for BadCredentialsException.
- BadRequestAction - Exception Class in org.pac4j.core.exception.http
-
A bad request action.
- BadRequestAction() - Constructor for exception class org.pac4j.core.exception.http.BadRequestAction
-
Constructor for 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
-
Constant
BASIC_HEADER_PREFIX="Basic "
- 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
-
Constructor for 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
-
Constant
BEARER_HEADER_PREFIX="Bearer "
- 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
-
Constructor for BearerAuthExtractor.
- BearerAuthExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.BearerAuthExtractor
-
Constructor for BearerAuthExtractor.
- beforeInternalInit(boolean) - Method in class org.pac4j.core.client.DirectClient
-
beforeInternalInit.
- beforeInternalInit(boolean) - Method in class org.pac4j.core.client.IndirectClient
-
beforeInternalInit.
- beforeInternalInit(boolean) - Method in class org.pac4j.core.util.InitializableObject
-
beforeInternalInit.
- BOOLEAN - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
BOOLEAN
- 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
-
Constructor for 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 a configuration.
- 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
-
build.
- buildAjaxResponse(CallContext, RedirectionActionBuilder) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
-
Build an AJAX response.
- buildAjaxResponse(CallContext, RedirectionActionBuilder) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
Build an AJAX response.
- buildConfig(SecurityEndpoint, Object...) - Static method in class org.pac4j.core.util.security.SecurityEndpointBuilder
-
buildConfig.
- buildContext(Config, FrameworkParameters) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
buildContext.
- 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 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.
- buildResourceFromPath(String) - Static method in class org.pac4j.core.resource.SpringResourceHelper
-
buildResourceFromPath.
- 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
-
Constant
CACHE_CONTROL_MATCHER
- CacheControlMatcher - Class in org.pac4j.core.matching.matcher
-
Cache control header matcher.
- CacheControlMatcher() - Constructor for class org.pac4j.core.matching.matcher.CacheControlMatcher
- 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.
- CallContext - Record Class in org.pac4j.core.context
-
The context of a call.
- CallContext(WebContext, SessionStore) - Constructor for record class org.pac4j.core.context.CallContext
- CallContext(WebContext, SessionStore, ProfileManagerFactory) - Constructor for record class org.pac4j.core.context.CallContext
-
Creates an instance of a
CallContext
record class. - CasLogoutActionBuilder - Class in org.pac4j.core.logout
-
CAS logout action builder.
- CasLogoutActionBuilder(String, String) - Constructor for class org.pac4j.core.logout.CasLogoutActionBuilder
-
Constructor for 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
-
Constructor for 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 a specific element.
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
Check a specific element.
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
Check a specific element.
- check(WebContext, SessionStore, UserProfile, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
Check a specific element.
- check(WebContext, SessionStore, UserProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
Check a specific element.
- checkCredentials(CallContext, Credentials) - Method in class org.pac4j.core.client.BaseClient
-
Check the credentials.
- checkCredentials(CallContext, Credentials) - Method in class org.pac4j.core.client.IndirectClient
-
Check the credentials.
- checkHttpMethod(List<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
checkHttpMethod.
- checkHttpMethod(Set<HttpConstants.HTTP_METHOD>) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
checkHttpMethod.
- checkHttpMethod(HttpConstants.HTTP_METHOD...) - Static method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
checkHttpMethod.
- CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks the HTTP method.
- CheckHttpMethodAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
Constructor for CheckHttpMethodAuthorizer.
- CheckHttpMethodAuthorizer(List<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
Constructor for CheckHttpMethodAuthorizer.
- CheckHttpMethodAuthorizer(Set<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
Constructor for CheckHttpMethodAuthorizer.
- CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
Constructor for CheckHttpMethodAuthorizer.
- checkProfileType(Class...) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
checkProfileType.
- checkProfileType(List<Class>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
checkProfileType.
- checkProfileType(Set<Class>) - Static method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
checkProfileType.
- CheckProfileTypeAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks the profile type.
- CheckProfileTypeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
Constructor for CheckProfileTypeAuthorizer.
- CheckProfileTypeAuthorizer(Class...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
Constructor for CheckProfileTypeAuthorizer.
- CheckProfileTypeAuthorizer(List<Class>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
Constructor for CheckProfileTypeAuthorizer.
- CheckProfileTypeAuthorizer(Set<Class>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
Constructor for CheckProfileTypeAuthorizer.
- CLASSPATH_PREFIX - Static variable in class org.pac4j.core.resource.SpringResourceHelper
-
Constant
CLASSPATH_PREFIX="classpath:"
- cleanRecord(String) - Method in class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Clean a recorded sessionId.
- cleanRecord(String) - Method in interface org.pac4j.core.logout.handler.SessionLogoutHandler
-
Clean a recorded sessionId.
- clearTrustedClasses() - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
clearTrustedClasses.
- clearTrustedPackages() - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
clearTrustedPackages.
- 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
-
Constant
CLIENT_NAME="clientName"
- ClientFinder - Interface in org.pac4j.core.client.finder
-
The way to find the client.
- Clients - Class in org.pac4j.core.client
-
This class is made to group multiple clients, generally on one callback url.
- Clients() - Constructor for class org.pac4j.core.client.Clients
-
Constructor for Clients.
- Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
-
Constructor for Clients.
- Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
-
Constructor for Clients.
- Clients(List<Client>) - Constructor for class org.pac4j.core.client.Clients
-
Constructor for Clients.
- Clients(Client...) - Constructor for class org.pac4j.core.client.Clients
-
Constructor for Clients.
- CLIENTS - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
CLIENTS="clients"
- closeConnection(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
-
closeConnection.
- code - Variable in exception class 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
-
Constructor for Color.
- COLOR - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
COLOR
- 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
-
Constructor for 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
-
Constructor for 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
-
Constructor for CommonProfileDefinition.
- CommonProfileDefinition(ProfileFactory) - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constructor for CommonProfileDefinition.
- CommunicationException - Exception Class in org.pac4j.core.exception
-
This class represents a communication exception.
- CommunicationException(String) - Constructor for exception class org.pac4j.core.exception.CommunicationException
-
Constructor for CommunicationException.
- CommunicationException(Throwable) - Constructor for exception class org.pac4j.core.exception.CommunicationException
-
Constructor for CommunicationException.
- compareManagers(Object, Object) - Method in class org.pac4j.core.adapter.DefaultFrameworkAdapter
-
compareManagers.
- compareManagers(Object, Object) - Method in class org.pac4j.core.adapter.FrameworkAdapter
-
compareManagers.
- compute(String, WebContext) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
-
Compute a new URL from the provided URL and the web context.
- 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 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.PathParameterCallbackUrlResolver
-
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.QueryParameterCallbackUrlResolver
-
Compute a callback URL from the provided URL resolver, URL, client name and web context.
- computeAuthorizers(WebContext, List<UserProfile>, String, Map<String, Authorizer>, List<Client>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
computeAuthorizers.
- computeAuthorizersFromNames(String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
computeAuthorizersFromNames.
- computeDefaultAuthorizers(WebContext, List<UserProfile>, List<Client>, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
computeDefaultAuthorizers.
- computeDefaultMatcherNames(CallContext, Iterable<Client>, Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
computeDefaultMatcherNames.
- computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
-
computeFinalCallbackUrl.
- computeMatchers(CallContext, String, Map<String, Matcher>, List<Client>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
computeMatchers.
- computeMatchersFromNames(String, Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
computeMatchersFromNames.
- computePrefixedKey(String) - Method in class org.pac4j.core.context.session.PrefixedSessionStore
- 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 configuration with clients, authorizers, matchers, etc.
- Config() - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(String, List<Client>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(String, Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(String, Client) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Client) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Client...) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Clients) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
Constructor for Config.
- CONFIG_FACTORY - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
CONFIG_FACTORY="configFactory"
- 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
-
configurePrimaryAttributes.
- containsAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
containsAttribute.
- containsAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
-
containsAttribute.
- containsAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Check to see if profile contains attribute name.
- containsClientType(Iterable<Client>, Class<? extends Client>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
containsClientType.
- CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
CONTENT_TYPE_HEADER="Content-Type"
- context - Variable in class org.pac4j.core.profile.ProfileManager
- convert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
Convert an attribute to a specific type.
- 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
-
Convert an attribute to a specific type.
- 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 class.
- Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
-
Constructor for Cookie.
- CORS_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
CORS_MATCHER
- 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(CallContext, Credentials) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
-
Create a profile from a credentials.
- create(CallContext, Credentials) - Method in class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
Create a profile from a credentials.
- create(CallContext, Credentials) - 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 a profile with the associated password in the storage.
- 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
-
Constant
CREATED=201
- Credentials - Class in org.pac4j.core.credentials
-
The credentials.
- Credentials() - Constructor for class org.pac4j.core.credentials.Credentials
- CredentialsException - Exception Class in org.pac4j.core.exception
-
This class represents an expected exception occurring during credentials retrieval.
- CredentialsException(String) - Constructor for exception class org.pac4j.core.exception.CredentialsException
-
Constructor for CredentialsException.
- CredentialsException(String, Throwable) - Constructor for exception class org.pac4j.core.exception.CredentialsException
-
Constructor for CredentialsException.
- CredentialsException(Throwable) - Constructor for exception class org.pac4j.core.exception.CredentialsException
-
Constructor for CredentialsException.
- CredentialsExtractor - Interface in org.pac4j.core.credentials.extractor
-
A credentials extractor.
- CredentialSource - Enum Class in org.pac4j.core.credentials
-
The credential source indicates how the credential was extracted.
- CSRF_AUTHORIZER - Static variable in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
Constant
CSRF_AUTHORIZER
- 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" matcher.
- CSRF_TOKEN - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
CSRF_TOKEN="pac4jCsrfToken"
- CSRF_TOKEN_EXPIRATION_DATE - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
CSRF_TOKEN_EXPIRATION_DATE="pac4jCsrfTokenExpirationDate"
- CSRF_TOKEN_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
CSRF_TOKEN_MATCHER
- CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Authorizer that checks CSRF tokens.
- CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
-
Constructor for CsrfAuthorizer.
- CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
-
Constructor for CsrfAuthorizer.
- CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
-
Constructor for 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
-
Constructor for CsrfTokenGeneratorMatcher.
D
- DATE_TZ_GENERAL - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
DATE_TZ_GENERAL
- DATE_TZ_GENERAL_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
DATE_TZ_GENERAL_FORMAT="yyyy-MM-dd'T'HH:mm:ssz"
- DATE_TZ_RFC822 - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
DATE_TZ_RFC822
- DATE_TZ_RFC822_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
DATE_TZ_RFC822_FORMAT="yyyy-MM-dd'T'HH:mm:ss'Z'"
- DateConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String (depending on a specified format) into a Date.
- DateConverter() - Constructor for class org.pac4j.core.profile.converter.DateConverter
-
Constructor for DateConverter.
- DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
-
Constructor for DateConverter.
- DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
-
Constructor for DateConverter.
- DEFAULT - Static variable in interface org.pac4j.core.profile.factory.ProfileManagerFactory
-
Constant
DEFAULT
- DEFAULT_CLIENT - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
DEFAULT_CLIENT="defaultClient"
- 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
-
Constant
DEFAULT_CONNECT_TIMEOUT=500
- 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
-
Constant
DEFAULT_HTTP_PORT=80
- DEFAULT_HTTPS_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
DEFAULT_HTTPS_PORT=443
- DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
DEFAULT_LOGOUT_URL_PATTERN_VALUE="^(\\/|\\/[^\\/].*)$"
- DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
DEFAULT_READ_TIMEOUT=5000
- DEFAULT_REALM_NAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
DEFAULT_REALM_NAME="authentication required"
- DEFAULT_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
DEFAULT_URL="defaultUrl"
- DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
DEFAULT_URL_VALUE="/"
- 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
- 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
-
Constructor for 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
-
Constructor for DefaultConfigFactory.
- DefaultCsrfTokenGenerator - Class in org.pac4j.core.matching.matcher.csrf
-
Default CSRF token generator.
- DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.matching.matcher.csrf.DefaultCsrfTokenGenerator
- DefaultFrameworkAdapter - Class in org.pac4j.core.adapter
-
Default framework adapter.
- DefaultFrameworkAdapter() - Constructor for class org.pac4j.core.adapter.DefaultFrameworkAdapter
- 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
- DefaultRolesAuthorizationGenerator - Class in org.pac4j.core.authorization.generator
-
Grant default roles to a user profile.
- DefaultRolesAuthorizationGenerator() - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesAuthorizationGenerator
-
Constructor for DefaultRolesAuthorizationGenerator.
- DefaultRolesAuthorizationGenerator(String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesAuthorizationGenerator
-
Constructor for DefaultRolesAuthorizationGenerator.
- DefaultRolesAuthorizationGenerator(Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesAuthorizationGenerator
-
Constructor for DefaultRolesAuthorizationGenerator.
- 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
- DefaultSessionLogoutHandler - Class in org.pac4j.core.logout.handler
-
Default session logout handler.
- DefaultSessionLogoutHandler() - Constructor for class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Constructor for DefaultSessionLogoutHandler.
- DefaultSessionLogoutHandler(Store<String, Object>) - Constructor for class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Constructor for DefaultSessionLogoutHandler.
- 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
-
Constructor for DefaultUrlResolver.
- DefaultUrlResolver(boolean) - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
-
Constructor for DefaultUrlResolver.
- defaultValue() - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
defaultValue.
- defaultValue() - Method in class org.pac4j.core.profile.converter.BooleanConverter
-
defaultValue.
- defineAttributesToRead() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Define the attributes to read in the storage.
- DELETE - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- DELETE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
Constant
DELETE="delete"
- DELETE_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
DELETE_MATCHER
- 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
-
Delete a profile by its identifier in the storage.
- deserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
Decode a bytes array into an object.
- 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
-
Decode a string into an object.
- deserializeFromString(String) - Method in interface org.pac4j.core.util.serializer.Serializer
-
Decode a string into an object.
- destroy(WebContext, SessionStore, ProfileManagerFactory, String) - Method in class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
destroy.
- DESTROY_SESSION - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Whether we must destroy the web session during the local logout
- destroySession(CallContext, String) - Method in class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Destroys the current web session for the given key for a front or back channel logout.
- destroySession(CallContext, String) - Method in interface org.pac4j.core.logout.handler.SessionLogoutHandler
-
Destroys the current web session for the given key for a front or back channel logout.
- destroySession(WebContext) - Method in interface org.pac4j.core.context.session.SessionStore
-
Destroy the web session.
- DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
DIGEST_HEADER_PREFIX="Digest "
- 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
-
Constant
DISABLED="disabled"
- DISPLAY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
DISPLAY_NAME="display_name"
E
- ELEMENT_SEPARATOR - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
ELEMENT_SEPARATOR=","
- elements - Variable in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
- EMAIL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
EMAIL="email"
- EMPTY_STRING - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
EMPTY_STRING=""
- ENABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
-
Constant
ENABLED="enabled"
- encode(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
-
Encode a password.
- 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 a password.
- encode(String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
-
Encode a password.
- encodeQueryParam(String, String) - Static method in class org.pac4j.core.util.HttpUtils
-
encodeQueryParam.
- enhanceRedirectUrl(CallContext, Config, Client, String) - Method in class org.pac4j.core.engine.DefaultLogoutLogic
-
enhanceRedirectUrl.
- equals(Object) - Method in record class org.pac4j.core.context.CallContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.pac4j.core.credentials.AnonymousCredentials
- escapeHtml(String) - Static method in class org.pac4j.core.util.HttpActionHelper
-
escapeHtml.
- 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
-
excludePaths.
- 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
-
Constant
EXPIRATION_TIME="exp"
- extract(CallContext) - Method in class org.pac4j.core.credentials.extractor.BasicAuthExtractor
- extract(CallContext) - Method in class org.pac4j.core.credentials.extractor.BearerAuthExtractor
-
Extract the
Credentials
from aWebContext
and returnOptional.empty()
if no credentials are present or throw aCredentialsException
if it cannot get it. - extract(CallContext) - 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(CallContext) - Method in class org.pac4j.core.credentials.extractor.FormExtractor
- extract(CallContext) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Extract the
Credentials
from aWebContext
and returnOptional.empty()
if no credentials are present or throw aCredentialsException
if it cannot get it. - extract(CallContext) - Method in class org.pac4j.core.credentials.extractor.ParameterExtractor
-
Extract the
Credentials
from aWebContext
and returnOptional.empty()
if no credentials are present or throw aCredentialsException
if it cannot get it. - 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
-
Constant
FACES_PARTIAL_AJAX_PARAMETER="javax.faces.partial.ajax"
- FAMILY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
FAMILY_NAME="family_name"
- FEMALE - Enum constant in enum class org.pac4j.core.profile.Gender
- FILE_PREFIX - Static variable in class org.pac4j.core.resource.SpringResourceHelper
-
Constant
FILE_PREFIX="file:"
- find(Clients, WebContext, String) - Method in interface org.pac4j.core.client.finder.ClientFinder
-
find.
- find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultCallbackClientFinder
-
find.
- find(Clients, WebContext, String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
-
find.
- findAllClients() - Method in class org.pac4j.core.client.Clients
-
Find all the clients (initialized).
- findById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Find a profile by its identifier.
- 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
-
Find a profile by its linked identifier.
- findByLinkedId(String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Find a profile by its linked identifier.
- findClient(String) - Method in class org.pac4j.core.client.Clients
-
Return the right client according to the specific name.
- findSessionLogoutHandler() - Method in class org.pac4j.core.client.BaseClient
- FIRST_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
FIRST_NAME="first_name"
- 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(CallContext, 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
-
Constant
FORBIDDEN=403
- ForbiddenAction - Exception Class in org.pac4j.core.exception.http
-
A forbidden HTTP action.
- ForbiddenAction() - Constructor for exception class org.pac4j.core.exception.http.ForbiddenAction
-
Constructor for ForbiddenAction.
- FORM - Enum constant in enum class org.pac4j.core.credentials.CredentialSource
- 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() - Constructor for class org.pac4j.core.credentials.extractor.FormExtractor
- FormExtractor.ExtractionMode - Enum Class in org.pac4j.core.credentials.extractor
- FOUND - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
FOUND=302
- FoundAction - Exception Class in org.pac4j.core.exception.http
-
A "Found" HTTP action.
- FoundAction(String) - Constructor for exception class org.pac4j.core.exception.http.FoundAction
-
Constructor for FoundAction.
- FrameworkAdapter - Class in org.pac4j.core.adapter
-
The framework adapter.
- FrameworkAdapter() - Constructor for class org.pac4j.core.adapter.FrameworkAdapter
- FrameworkParameters - Interface in org.pac4j.core.context
-
Specific framework/implementations parameters.
- 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
-
Constructor for FromAttributesAuthorizationGenerator.
- FromAttributesAuthorizationGenerator(String[]) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
Constructor for FromAttributesAuthorizationGenerator.
- FromAttributesAuthorizationGenerator(Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
Constructor for FromAttributesAuthorizationGenerator.
- FRONT - Enum constant in enum class org.pac4j.core.logout.LogoutType
G
- Gender - Enum Class 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
-
Constant
GENDER
- GENDER - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
GENDER="gender"
- 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
-
Constructor for GenderConverter.
- GenderConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.GenderConverter
-
Constructor for GenderConverter.
- generate(CallContext, UserProfile) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(CallContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.DefaultRolesAuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(CallContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(CallContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(CallContext, UserProfile) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generateValue(CallContext) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
-
generateValue.
- generateValue(CallContext) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
-
generateValue.
- generateValue(CallContext) - Method in interface org.pac4j.core.util.generator.ValueGenerator
-
generateValue.
- get(K) - Method in class org.pac4j.core.store.AbstractStore
-
Get a value by key.
- get(K) - Method in interface org.pac4j.core.store.Store
-
Get a value by key.
- 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 the CSRF token from the session or create it if it doesn't exist.
- GET - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- GET - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
Constant
GET="get"
- GET_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
GET_MATCHER
- getAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
getAttribute.
- getAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
-
getAttribute.
- 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
-
getAttributeAsDate.
- getAttributeAsString(String) - Method in class org.pac4j.core.profile.CommonProfile
-
getAttributeAsString.
- getAttributeAsType(String, Class<T>, T) - Method in class org.pac4j.core.profile.CommonProfile
-
getAttributeAsType.
- getAttributes() - Method in class org.pac4j.core.profile.BasicUserProfile
-
getAttributes.
- getAttributes() - Method in interface org.pac4j.core.profile.UserProfile
-
getAttributes.
- 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
- getBlue() - Method in class org.pac4j.core.profile.Color
-
Getter for the field
blue
. - getBody() - Method in exception class org.pac4j.core.exception.HttpCommunicationException
-
Getter for the field
body
. - getClientName() - Method in interface org.pac4j.core.profile.UserProfile
-
getClientName.
- getCode() - Method in exception class org.pac4j.core.exception.HttpCommunicationException
-
Getter for the field
code
. - getCodeVerifierSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
-
getCodeVerifierSessionAttributeName.
- getComment() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
comment
. - getConnectTimeout() - Static method in class org.pac4j.core.util.HttpUtils
-
Getter for the field
connectTimeout
. - getConstructor(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Get the constructor of the class.
- getContent() - Method in exception class org.pac4j.core.exception.http.NoContentAction
-
getContent.
- getContent() - Method in interface org.pac4j.core.exception.http.WithContentAction
-
getContent.
- getCookie(Iterable<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(CallContext) - Method in class org.pac4j.core.client.BaseClient
-
Get the credentials from the context.
- getCredentials(CallContext) - Method in interface org.pac4j.core.client.Client
-
Get the credentials from the context.
- getDelegate() - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
-
Getter for the field
delegate
. - getDelegate() - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
-
Getter for the field
delegate
. - 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
-
Getter for the field
domain
. - getElements() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Getter for the field
elements
. - getEmail() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the email of the user.
- getExpirationDate() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- 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 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
-
Getter for the field
green
. - getHeaderName() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Getter for the field
headerName
. - getId() - Method in interface org.pac4j.core.profile.UserProfile
-
getId.
- getIssuedAt() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getIssuer() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getLinkedId() - Method in interface org.pac4j.core.profile.UserProfile
-
getLinkedId.
- getLocale() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the locale of the user.
- getLocation() - Method in interface org.pac4j.core.exception.http.WithLocationAction
-
getLocation.
- getLocation() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the location of the user.
- getLogoutAction(CallContext, UserProfile, String) - Method in interface org.pac4j.core.client.Client
-
Return the logout action (indirect clients).
- getLogoutAction(CallContext, UserProfile, String) - Method in class org.pac4j.core.client.DirectClient
-
Return the logout action (indirect clients).
- getLogoutAction(CallContext, UserProfile, String) - Method in class org.pac4j.core.client.IndirectClient
-
Return the logout action (indirect clients).
- getLogoutAction(CallContext, UserProfile, String) - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
-
Return the
RedirectionAction
for logout. - getLogoutAction(CallContext, UserProfile, String) - Method in class org.pac4j.core.logout.GoogleLogoutActionBuilder
-
Return the
RedirectionAction
for logout. - getLogoutAction(CallContext, UserProfile, String) - Method in interface org.pac4j.core.logout.LogoutActionBuilder
-
Return the
RedirectionAction
for logout. - getLogoutAction(CallContext, UserProfile, String) - Method in class org.pac4j.core.logout.NoLogoutActionBuilder
-
Return the
RedirectionAction
for logout. - getMaxAge() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
maxAge
. - getName() - Method in class org.pac4j.core.client.BaseClient
-
Get the name of the client.
- getName() - Method in interface org.pac4j.core.client.Client
-
Get the name of the client.
- getName() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
name
. - getNbAttempts() - Method in class org.pac4j.core.util.InitializableObject
-
Getter for the field
nbAttempts
. - getNonceSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
-
getNonceSessionAttributeName.
- getNotBefore() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- getParameter(Object[], int) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
getParameter.
- getPath() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
path
. - getPath() - Method in interface org.pac4j.core.context.WebContext
-
Get the "servlet path" (in a JEE style).
- 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
-
Getter for the field
prefixHeader
. - 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
-
getProfile.
- getProfileClassPrefixes() - Static method in class org.pac4j.core.profile.ProfileHelper
-
Getter for the field
profileClassPrefixes
. - getProfileDefinition() - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
Getter for the field
profileDefinition
. - getProfiles() - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve all user profiles.
- getProfileUrl() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the url of the profile of the user.
- getProtocol() - Method in interface org.pac4j.core.context.WebContext
-
Get the protocol version.
- getQueryString() - Method in interface org.pac4j.core.context.WebContext
-
Get the query string.
- getReadTimeout() - Static method in class org.pac4j.core.util.HttpUtils
-
Getter for the field
readTimeout
. - getRed() - Method in class org.pac4j.core.profile.Color
-
Getter for the field
red
. - getRedirectionAction(CallContext) - Method in interface org.pac4j.core.client.Client
-
Return the redirection action to the authentication provider (indirect clients).
- getRedirectionAction(CallContext) - Method in class org.pac4j.core.client.DirectClient
-
Return the redirection action to the authentication provider (indirect clients).
- getRedirectionAction(CallContext) - Method in class org.pac4j.core.client.IndirectClient
-
Return the redirection action to the authentication provider (indirect clients).
- getRedirectionAction(CallContext) - Method in interface org.pac4j.core.redirect.RedirectionActionBuilder
-
Return the appropriate "redirection" action.
- getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
-
Return the remote address.
- getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request attribute.
- getRequestAttribute(String, Class<T>) - Method in interface org.pac4j.core.context.WebContext
-
Return a request attribute typed to a strong type.
- getRequestContent() - Method in interface org.pac4j.core.context.WebContext
-
Gets content body of the original request.
- getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
-
Retrieves request cookies.
- getRequestedUrl(WebContext, SessionStore) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
-
getRequestedUrl.
- getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request header.
- getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
-
Return the request method.
- getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request parameter.
- getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
-
Return all request parameters.
- getRequestURL() - Method in interface org.pac4j.core.context.WebContext
-
Return the full URL (without the query string) the client used to request the server.
- getResourceInputStream(Resource, Proxy, SSLSocketFactory, HostnameVerifier, int, int) - Static method in class org.pac4j.core.resource.SpringResourceHelper
-
getResourceInputStream.
- 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
-
getRoles.
- getRoles() - Method in interface org.pac4j.core.profile.UserProfile
-
getRoles.
- getSalt() - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
-
Getter for the field
salt
. - getSameSitePolicy() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
sameSitePolicy
. - getSaveProfileInSession(WebContext, UserProfile) - Method in class org.pac4j.core.client.BaseClient
-
Getter for the field
saveProfileInSession
. - getScheme() - Method in interface org.pac4j.core.context.WebContext
-
Return the scheme.
- getServerName() - Method in interface org.pac4j.core.context.WebContext
-
Return the server name.
- getServerPort() - Method in interface org.pac4j.core.context.WebContext
-
Return the server port.
- 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.
- getSize() - Method in class org.pac4j.core.util.generator.RandomValueGenerator
-
Getter for the field
size
. - getStateSessionAttributeName() - Method in class org.pac4j.core.client.IndirectClient
-
getStateSessionAttributeName.
- getSubject() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
- 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.
- getTypedId() - Method in class org.pac4j.core.profile.BasicUserProfile
-
getTypedId.
- getTypedId() - Method in interface org.pac4j.core.profile.UserProfile
-
getTypedId.
- getUsername() - Method in class org.pac4j.core.profile.BasicUserProfile
-
getUsername.
- getUsername() - Method in class org.pac4j.core.profile.CommonProfile
-
getUsername.
- getUsername() - Method in interface org.pac4j.core.profile.UserProfile
-
getUsername.
- getUserProfile(CallContext, Credentials) - Method in class org.pac4j.core.client.BaseClient
-
Get the user profile based on the credentials.
- getUserProfile(CallContext, Credentials) - Method in interface org.pac4j.core.client.Client
-
Get the user profile based on the credentials.
- getValue() - Method in class org.pac4j.core.context.Cookie
-
Getter for the field
value
. - getValue() - Method in class org.pac4j.core.util.generator.StaticValueGenerator
-
Getter for the field
value
. - 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
-
Constructor for GuavaStore.
- GuavaStore(int, int, TimeUnit) - Constructor for class org.pac4j.core.store.GuavaStore
-
Constructor for GuavaStore.
H
- handleError(WebContext, SessionStore) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
Handle the error.
- 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.
- hasChanged() - Method in class org.pac4j.core.resource.SpringResourceLoader
-
hasChanged.
- hashCode() - Method in record class org.pac4j.core.context.CallContext
-
Returns a hash code value for this object.
- hashCode() - Method in class org.pac4j.core.credentials.AnonymousCredentials
- hashEquals(String, String) - Method in class org.pac4j.core.authorization.authorizer.CsrfAuthorizer
-
hashEquals.
- HEAD - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- HEADER - Enum constant in enum class org.pac4j.core.credentials.CredentialSource
- HeaderExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract header value.
- HeaderExtractor() - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Constructor for HeaderExtractor.
- HeaderExtractor(String, String) - Constructor for class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Constructor for HeaderExtractor.
- HeaderMatcher - Class in org.pac4j.core.matching.matcher
-
Matching on a HTTP header.
- HeaderMatcher() - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
-
Constructor for HeaderMatcher.
- HeaderMatcher(String, String) - Constructor for class org.pac4j.core.matching.matcher.HeaderMatcher
-
Constructor for HeaderMatcher.
- HSTS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "hsts" matcher.
- HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
HTML_CONTENT_TYPE="text/html; charset=utf-8"
- HttpAction - Exception Class in org.pac4j.core.exception.http
-
The HTTP action, to perform on the web context by the appropriate
HttpActionAdapter
. - HttpAction(int) - Constructor for exception class org.pac4j.core.exception.http.HttpAction
-
Constructor for HttpAction.
- 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 Class 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 class org.pac4j.core.exception.HttpCommunicationException
-
Constructor for HttpCommunicationException.
- HttpCommunicationException(String) - Constructor for exception class org.pac4j.core.exception.HttpCommunicationException
-
Constructor for HttpCommunicationException.
- HttpCommunicationException(Throwable) - Constructor for exception class org.pac4j.core.exception.HttpCommunicationException
-
Constructor for HttpCommunicationException.
- HttpConstants - Interface in org.pac4j.core.context
-
Some HTTP constants.
- HttpConstants.HTTP_METHOD - Enum Class 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
-
Constructor for HttpMethodMatcher.
- HttpMethodMatcher(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.matching.matcher.HttpMethodMatcher
-
Constructor for HttpMethodMatcher.
- HttpUtils - Class in org.pac4j.core.util
-
This class provides utility functions to deal with opening connections, building error messages and closing connections, etc.
I
- ID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
-
Constant
ID="id"
- ifBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
ifBlank.
- includePath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
includePath.
- includePaths(String...) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
includePaths.
- 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.util.InitializableObject
-
Initialize the object.
- init(boolean) - Method in class org.pac4j.core.util.InitializableObject
-
(Re)-initialize the object.
- InitializableObject - Class in org.pac4j.core.util
-
Object that can be (re-)initialized.
- InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
- InMemoryProfileService<U> - 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
-
Constructor for InMemoryProfileService.
- InMemoryProfileService(ProfileFactory) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
-
Constructor for 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
-
Insert the attributes in the storage.
- INSTANCE - Static variable in class org.pac4j.core.adapter.FrameworkAdapter
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultCallbackLogic
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultLogoutLogic
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.engine.DefaultSecurityLogic
-
Constant
INSTANCE
- INSTANCE - Static variable in exception class org.pac4j.core.exception.http.NoContentAction
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.logout.NoLogoutActionBuilder
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.profile.AnonymousProfile
-
Constant
INSTANCE
- INSTANCE - Static variable in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
-
Constant
INSTANCE
- INTEGER - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
INTEGER
- 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
-
Constructor for IntegerConverter.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
-
internalConvert.
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.UrlConverter
-
internalConvert.
- internalDeserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
internalDeserializeFromBytes.
- internalDeserializeFromBytes(byte[]) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
internalDeserializeFromBytes.
- internalDeserializeFromString(String) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
internalDeserializeFromString.
- internalDeserializeFromString(String) - Method in class org.pac4j.core.util.serializer.JsonSerializer
-
internalDeserializeFromString.
- internalGet(K) - Method in class org.pac4j.core.store.AbstractStore
-
internalGet.
- internalGet(K) - Method in class org.pac4j.core.store.GuavaStore
-
internalGet.
- internalInit(boolean) - Method in class org.pac4j.core.client.Clients
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.client.direct.AnonymousClient
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.resource.SpringResourceLoader
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.store.AbstractStore
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.store.GuavaStore
-
Internal initialization of the object.
- internalInit(boolean) - Method in class org.pac4j.core.util.InitializableObject
-
Internal initialization of the object.
- internalLoad() - Method in class org.pac4j.core.resource.SpringResourceLoader
-
internalLoad.
- internalRemove(K) - Method in class org.pac4j.core.store.AbstractStore
-
internalRemove.
- internalRemove(K) - Method in class org.pac4j.core.store.GuavaStore
-
internalRemove.
- internalSerializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
internalSerializeToBytes.
- internalSerializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.JavaSerializer
-
internalSerializeToBytes.
- internalSerializeToString(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
internalSerializeToString.
- internalSerializeToString(Object) - Method in class org.pac4j.core.util.serializer.JsonSerializer
-
internalSerializeToString.
- internalSet(K, O) - Method in class org.pac4j.core.store.AbstractStore
-
internalSet.
- internalSet(K, O) - Method in class org.pac4j.core.store.GuavaStore
-
internalSet.
- internalValidateCredentials(CallContext, Credentials) - Method in class org.pac4j.core.client.BaseClient
-
internalValidateCredentials.
- IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
IS_AJAX_REQUEST="is_ajax_request"
- 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
-
Constant
IS_ANONYMOUS_AUTHORIZER
- 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
-
Constant
IS_AUTHENTICATED_AUTHORIZER
- 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
-
Constant
IS_FULLY_AUTHENTICATED_AUTHORIZER
- 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
-
Constant
IS_REMEMBERED_AUTHORIZER
- isAjax(CallContext) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
-
Whether it is an AJAX request.
- isAjax(CallContext) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
Whether it is an AJAX request.
- isAllAuthorized(WebContext, SessionStore, Iterable<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
-
isAlwaysUse401ForUnauthenticated.
- isAnonymous() - Static method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
isAnonymous.
- IsAnonymousAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
The user must be anonymous.
- IsAnonymousAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
Constructor for IsAnonymousAuthorizer.
- IsAnonymousAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
Constructor for IsAnonymousAuthorizer.
- isAnyAuthorized(WebContext, SessionStore, Iterable<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.
- 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
-
Constructor for IsAuthenticatedAuthorizer.
- IsAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
Constructor for IsAuthenticatedAuthorizer.
- isAuthorized(WebContext, SessionStore, List<UserProfile>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
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.AndAuthorizer
-
Checks if the user profiles and / or the current web context are authorized.
- 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
-
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.IsAnonymousAuthorizer
-
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.IsAuthenticatedAuthorizer
-
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.IsFullyAuthenticatedAuthorizer
-
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.IsRememberedAuthorizer
-
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.OrAuthorizer
-
Checks if the user profiles and / or the current web context are authorized.
- 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
-
Check whether the user is authorized.
- isAuthorized(WebContext, SessionStore, List<UserProfile>, Collection<Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
isAuthorized.
- 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
-
isCached.
- isCached(Credentials) - Method in class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
isCached.
- isDelete(WebContext) - Static method in class org.pac4j.core.context.WebContextHelper
-
Whether it is a DELETE request.
- 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.
- isExpired() - Method in class org.pac4j.core.profile.CommonProfile
- isExpired() - Method in interface org.pac4j.core.profile.UserProfile
-
isExpired.
- isForAuthentication() - Method in class org.pac4j.core.credentials.Credentials
-
isForAuthentication.
- isFullyAuthenticated() - Static method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
isFullyAuthenticated.
- 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
-
Constructor for IsFullyAuthenticatedAuthorizer.
- IsFullyAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
Constructor for 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
-
isHttpOnly.
- 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
-
isInitialized.
- isLegacyMode() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
isLegacyMode.
- isMultiProfile(WebContext, UserProfile) - Method in class org.pac4j.core.client.BaseClient
-
isMultiProfile.
- 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
-
Whether a specific profile is authorized.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
-
Whether a specific profile is authorized.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
Whether a specific profile is authorized.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
Whether a specific profile is authorized.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
Whether a specific profile is authorized.
- isProfileAuthorized(WebContext, SessionStore, UserProfile) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
Whether a specific profile is authorized.
- 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.
- isQueryStringParameter(WebContext, String) - Static method in class org.pac4j.core.context.WebContextHelper
-
Checks whether this parameter is part of the query string.
- isRemembered() - Static method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
isRemembered.
- isRemembered() - Method in interface org.pac4j.core.profile.UserProfile
-
isRemembered.
- 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
-
Constructor for IsRememberedAuthorizer.
- IsRememberedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
Constructor for IsRememberedAuthorizer.
- isSecure() - Method in class org.pac4j.core.context.Cookie
-
isSecure.
- 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
-
Constant
ISSUED_AT="iat"
- ISSUER - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
Constant
ISSUER="iss"
- isTrimValue() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
isTrimValue.
- 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
-
isUseModernHttpCodes.
J
- JavaSerializer - Class in org.pac4j.core.util.serializer
-
Java serializer.
- JavaSerializer() - Constructor for class org.pac4j.core.util.serializer.JavaSerializer
-
Constructor for 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
-
Constructor for JBCryptPasswordEncoder.
- JsonSerializer - Class in org.pac4j.core.util.serializer
-
A JSON serializer.
- JsonSerializer() - Constructor for class org.pac4j.core.util.serializer.JsonSerializer
- JsonSerializer(Class<? extends Object>) - Constructor for class org.pac4j.core.util.serializer.JsonSerializer
-
Constructor for JsonSerializer.
- JWT_ID - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
Constant
JWT_ID="jti"
- 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
-
Constant
LINKEDID="linkedid"
- load() - Method in class org.pac4j.core.resource.SpringResourceLoader
-
load.
- loaded - Variable in class org.pac4j.core.resource.SpringResourceLoader
- 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
-
Constructor for LoadLinkedUserAuthorizationGenerator.
- LoadLinkedUserAuthorizationGenerator(ProfileService) - Constructor for class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
Constructor for LoadLinkedUserAuthorizationGenerator.
- loadProfiles(CallContext, ProfileManager, 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 based on the credentials.
- LocalCachingAuthenticator() - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
Constructor for LocalCachingAuthenticator.
- LocalCachingAuthenticator(Authenticator, int, int, TimeUnit) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
Constructor for LocalCachingAuthenticator.
- LocalCachingAuthenticator(Authenticator, Store<Credentials, UserProfile>) - Constructor for class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
Constructor for LocalCachingAuthenticator.
- LocalCachingProfileCreator - Class in org.pac4j.core.profile.creator
-
A profile creator that caches the result of a profile creation based on the credentials.
- LocalCachingProfileCreator() - Constructor for class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
Constructor for LocalCachingProfileCreator.
- LocalCachingProfileCreator(ProfileCreator, int, int, TimeUnit) - Constructor for class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
Constructor for LocalCachingProfileCreator.
- LocalCachingProfileCreator(ProfileCreator, Store<Credentials, UserProfile>) - Constructor for class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
Constructor for LocalCachingProfileCreator.
- locale - Variable in class org.pac4j.core.profile.converter.DateConverter
- LOCALE - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
LOCALE
- LOCALE - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
LOCALE="locale"
- 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
-
Constructor for LocaleConverter.
- LOCATION - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
LOCATION="location"
- LOCATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
LOCATION_HEADER="Location"
- logger - Variable in class org.pac4j.core.client.BaseClient
- logger - Variable in class org.pac4j.core.profile.BasicUserProfile
- 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_URL_PATTERN - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
LOGOUT_URL_PATTERN="logoutUrlPattern"
- LogoutActionBuilder - Interface in org.pac4j.core.logout
-
The
RedirectionAction
for logout. - LogoutLogic - Interface in org.pac4j.core.engine
-
Logout logic for the application and the identity provider.
- LogoutProcessor - Interface in org.pac4j.core.logout.processor
-
Logout processor.
- logoutType - Variable in class org.pac4j.core.credentials.Credentials
- LogoutType - Enum Class in org.pac4j.core.logout
-
The logout type.
- LONG - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
LONG
- 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
-
Constructor for LongConverter.
M
- MALE - Enum constant in enum class org.pac4j.core.profile.Gender
- Matcher - Interface in org.pac4j.core.matching.matcher
-
To match requests.
- MATCHERS - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
MATCHERS="matchers"
- matches(String, String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
-
Validate if a plainPassword matches
- 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
-
Validate if a plainPassword matches
- matches(String, String) - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
-
Validate if a plainPassword matches
- 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
-
Whether the current context matches the client name.
- matches(String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
-
Whether the current context matches the client name.
- matches(String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
-
Whether the current context matches the client name.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.CacheControlMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.CorsMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.HttpMethodMatcher
-
Check if the context matches.
- matches(CallContext) - Method in interface org.pac4j.core.matching.matcher.Matcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.XContentTypeOptionsMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.XFrameOptionsMatcher
-
Check if the context matches.
- matches(CallContext) - Method in class org.pac4j.core.matching.matcher.XSSProtectionMatcher
-
Check if the context matches.
- matches(CallContext, String, Map<String, Matcher>, List<Client>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Check if the web context matches.
- matches(CallContext, String, Map<String, Matcher>, List<Client>) - Method in interface org.pac4j.core.matching.checker.MatchingChecker
-
Check if the web context matches.
- matches(CallContext, Collection<Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
matches.
- MatchingChecker - Interface in org.pac4j.core.matching.checker
-
The way to check requests matching.
- MultipleAccountsFoundException - Exception Class in org.pac4j.core.exception
-
Exception when multiple accounts are found.
- MultipleAccountsFoundException(String) - Constructor for exception class org.pac4j.core.exception.MultipleAccountsFoundException
-
Constructor for MultipleAccountsFoundException.
- MultipleAccountsFoundException(Throwable) - Constructor for exception class org.pac4j.core.exception.MultipleAccountsFoundException
-
Constructor for MultipleAccountsFoundException.
N
- NEVER_VALIDATE - Static variable in interface org.pac4j.core.credentials.authenticator.Authenticator
- newContext(FrameworkParameters) - Method in interface org.pac4j.core.context.WebContextFactory
-
newContext.
- newDate(Date) - Static method in class org.pac4j.core.util.CommonHelper
-
Copy a date.
- newDefaultCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
-
newDefaultCallbackUrlResolver.
- newProfile(Object...) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Return the new built or restored profile.
- newSessionStore(FrameworkParameters) - Method in interface org.pac4j.core.context.session.SessionStoreFactory
-
newSessionStore.
- newUrlResource(String) - Static method in class org.pac4j.core.resource.SpringResourceHelper
-
newUrlResource.
- NO_CONTENT - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
NO_CONTENT=204
- NOCACHE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "nocache" matcher.
- NoContentAction - Exception Class in org.pac4j.core.exception.http
-
A no content HTTP action.
- NoContentAction() - Constructor for exception class org.pac4j.core.exception.http.NoContentAction
-
Constructor for NoContentAction.
- NOFRAME - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "noframe" matcher.
- 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
-
Constant
NONE="none"
- NONE - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
Constant
NONE="none"
- 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" matcher.
- NOT_BEFORE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
Constant
NOT_BEFORE="nbf"
- notifySessionRenewal(CallContext, String) - 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
-
Constant
OIDC_CLAIM_SESSIONID="sid"
- OK - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
OK=200
- OkAction - Exception Class in org.pac4j.core.exception.http
-
An OK HTTP action.
- OkAction(String) - Constructor for exception class org.pac4j.core.exception.http.OkAction
-
Constructor for OkAction.
- openConnection(URL, String, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
-
openConnection.
- openDeleteConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
-
openDeleteConnection.
- openPostConnection(URL) - Static method in class org.pac4j.core.util.HttpUtils
-
openPostConnection.
- openPostConnection(URL, Map<String, String>) - Static method in class org.pac4j.core.util.HttpUtils
-
openPostConnection.
- OPTIONS - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- or(Authorizer...) - Static method in class org.pac4j.core.authorization.authorizer.OrAuthorizer
-
or.
- OrAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
The disjunction of authorizers.
- OrAuthorizer(List<Authorizer>) - Constructor for class org.pac4j.core.authorization.authorizer.OrAuthorizer
-
Constructor for OrAuthorizer.
- org.pac4j.core.adapter - package org.pac4j.core.adapter
- 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.logout.processor - package org.pac4j.core.logout.processor
- 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.resource - package org.pac4j.core.resource
- 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.security - package org.pac4j.core.util.security
- org.pac4j.core.util.serializer - package org.pac4j.core.util.serializer
- OTHER - Enum constant in enum class org.pac4j.core.credentials.CredentialSource
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
-
Constructor for 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
-
Constructor for ParameterExtractor.
- ParameterExtractor(String, boolean, boolean) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
-
Constructor for ParameterExtractor.
- PASSWORD - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
PASSWORD="password"
- PasswordEncoder - Interface in org.pac4j.core.credentials.password
-
Encode a password.
- PATCH - Enum constant in enum class 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
-
Constructor for 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(Config, String, Boolean, String, FrameworkParameters) - Method in interface org.pac4j.core.engine.CallbackLogic
-
Perform the callback logic.
- perform(Config, String, Boolean, String, FrameworkParameters) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
Perform the callback logic.
- perform(Config, String, String, Boolean, Boolean, Boolean, FrameworkParameters) - Method in class org.pac4j.core.engine.DefaultLogoutLogic
-
Perform the application logout logic.
- perform(Config, String, String, Boolean, Boolean, Boolean, FrameworkParameters) - Method in interface org.pac4j.core.engine.LogoutLogic
-
Perform the application logout logic.
- perform(Config, SecurityGrantedAccessAdapter, String, String, String, FrameworkParameters) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Perform the security logic.
- perform(Config, SecurityGrantedAccessAdapter, String, String, String, FrameworkParameters) - Method in interface org.pac4j.core.engine.SecurityLogic
-
Perform the security logic.
- PICTURE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
PICTURE_URL="picture_url"
- POST - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- POST - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
Constant
POST="post"
- POST_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
POST_MATCHER
- PrefixedSessionStore - Class in org.pac4j.core.context.session
-
Session store with prefix.
- PrefixedSessionStore() - Constructor for class org.pac4j.core.context.session.PrefixedSessionStore
- PREVIOUS_CSRF_TOKEN - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
PREVIOUS_CSRF_TOKEN="pac4jPreviousCsrfToken"
- primary(String, AttributeConverter) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a primary one and its converter.
- processLogout(CallContext, Credentials) - Method in interface org.pac4j.core.client.Client
-
Process the logout.
- processLogout(CallContext, Credentials) - Method in class org.pac4j.core.client.DirectClient
-
Process the logout.
- processLogout(CallContext, Credentials) - Method in class org.pac4j.core.client.IndirectClient
-
Process the logout.
- processLogout(CallContext, Credentials) - Method in interface org.pac4j.core.logout.processor.LogoutProcessor
-
processLogout.
- PROFILE_ATTRIBUTE - Enum constant in enum class org.pac4j.core.profile.AttributeLocation
-
Profile "basic" attribute.
- PROFILE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
Constant
PROFILE_URL="profile_url"
- 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
-
Constructor for ProfileManager.
- profileManagerFactory() - Method in record class org.pac4j.core.context.CallContext
-
Returns the value of the
profileManagerFactory
record component. - ProfileManagerFactory - Interface in org.pac4j.core.profile.factory
-
A
ProfileManager
factory based on theWebContext
. - profiles - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
- ProfileService<U> - Interface in org.pac4j.core.profile.service
-
Profile services: creation, update, delete and retrievals in the storage.
- PUT - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- PUT - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
Constant
PUT="put"
- PUT_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
PUT_MATCHER
Q
- QUERY_PARAM - Enum constant in enum class org.pac4j.core.credentials.extractor.FormExtractor.ExtractionMode
- 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
-
Constructor for QueryParameterCallbackUrlResolver.
- QueryParameterCallbackUrlResolver(Map<String, String>) - Constructor for class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
-
Constructor for 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
-
Constructor for RandomValueGenerator.
- RandomValueGenerator(int) - Constructor for class org.pac4j.core.util.generator.RandomValueGenerator
-
Constructor for 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
-
Read the list of defined attributes in the storage for key=value query.
- readBody(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
-
readBody.
- readExternal(ObjectInput) - Method in class org.pac4j.core.profile.BasicUserProfile
- recordSession(CallContext, String) - Method in class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Associates a key with the current web session.
- recordSession(CallContext, String) - Method in interface org.pac4j.core.logout.handler.SessionLogoutHandler
-
Associates a key with the current web session.
- RedirectionAction - Exception Class in org.pac4j.core.exception.http
-
A "redirection" HTTP action.
- RedirectionAction(int) - Constructor for exception class org.pac4j.core.exception.http.RedirectionAction
-
Constructor for RedirectionAction.
- RedirectionActionBuilder - Interface in org.pac4j.core.redirect
-
Return the redirection action to perform.
- redirectToIdentityProvider(CallContext, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Perform a redirection to start the login process of the first indirect client.
- redirectToOriginallyRequestedUrl(CallContext, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
redirectToOriginallyRequestedUrl.
- reinit() - Method in class org.pac4j.core.util.InitializableObject
-
Re-initialize the object.
- remove(K) - Method in class org.pac4j.core.store.AbstractStore
-
Remove the value associated to the key.
- 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
-
Rmove a profile in the storage.
- 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
-
removeAttribute.
- removeAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
-
removeAttribute.
- removeAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
removeAuthenticationAttribute.
- removeAuthenticationAttribute(String) - Method in interface org.pac4j.core.profile.UserProfile
-
removeAuthenticationAttribute.
- removeById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Remove a profile by its identifier in the storage.
- 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
-
removeFromCache.
- removeFromCache(Credentials) - Method in class org.pac4j.core.profile.creator.LocalCachingProfileCreator
-
removeFromCache.
- removeLoginData() - Method in class org.pac4j.core.profile.BasicUserProfile
-
Remove the specific data retrieved during the login process to only keep the user attributes and roles.
- removeOrRenewExpiredProfiles(LinkedHashMap<String, UserProfile>, boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
removeOrRenewExpiredProfiles.
- 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(CallContext, String) - Method in class org.pac4j.core.logout.handler.DefaultSessionLogoutHandler
-
Renew the web session.
- renewSession(CallContext, String) - Method in interface org.pac4j.core.logout.handler.SessionLogoutHandler
-
Renew the web session.
- renewSession(CallContext, Config) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
renewSession.
- renewSession(WebContext) - Method in interface org.pac4j.core.context.session.SessionStore
-
Renew the native session by copying all data to a new one.
- renewUserProfile(CallContext, UserProfile) - Method in class org.pac4j.core.client.BaseClient
-
Renew the user profile.
- renewUserProfile(CallContext, UserProfile) - Method in interface org.pac4j.core.client.Client
-
Renew the user profile.
- REQUEST_BODY - Enum constant in enum class org.pac4j.core.credentials.extractor.FormExtractor.ExtractionMode
- REQUESTED_URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
REQUESTED_URL="pac4jRequestedUrl"
- requireAllRoles(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
requireAllRoles.
- requireAllRoles(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
requireAllRoles.
- requireAllRoles(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
requireAllRoles.
- 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
-
Constructor for RequireAllRolesAuthorizer.
- RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
Constructor for RequireAllRolesAuthorizer.
- RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
Constructor for RequireAllRolesAuthorizer.
- RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
Constructor for RequireAllRolesAuthorizer.
- requireAnyAttribute(String) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
requireAnyAttribute.
- 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
-
Constructor for RequireAnyAttributeAuthorizer.
- RequireAnyAttributeAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
Constructor for RequireAnyAttributeAuthorizer.
- requireAnyRole(String...) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
requireAnyRole.
- requireAnyRole(List<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
requireAnyRole.
- requireAnyRole(Set<String>) - Static method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
requireAnyRole.
- 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
-
Constructor for RequireAnyRoleAuthorizer.
- RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
Constructor for RequireAnyRoleAuthorizer.
- RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
Constructor for RequireAnyRoleAuthorizer.
- RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
Constructor for RequireAnyRoleAuthorizer.
- resource - Variable in class org.pac4j.core.resource.SpringResourceLoader
- RESOURCE_PREFIX - Static variable in class org.pac4j.core.resource.SpringResourceHelper
-
Constant
RESOURCE_PREFIX="resource:"
- restore(CallContext, String) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
-
Restore the saved request.
- restore(CallContext, 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
-
retrieveAuthorizer.
- retrieveClientName(UserProfile) - Method in class org.pac4j.core.profile.ProfileManager
-
retrieveClientName.
- retrieveMatchers(String, Map<String, Matcher>) - Method in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
retrieveMatchers.
- 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(CallContext) - Method in class org.pac4j.core.engine.savedrequest.DefaultSavedRequestHandler
-
Saves the current web context.
- save(CallContext) - 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
-
saveAll.
- 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(CallContext, List<Client>, AjaxRequestResolver) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Save the requested url.
- saveUserProfile(CallContext, Config, UserProfile, boolean, boolean, boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
saveUserProfile.
- SCHEME_HTTP - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
SCHEME_HTTP="http"
- SCHEME_HTTPS - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
SCHEME_HTTPS="https"
- secondary(String, AttributeConverter) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a secondary one and its converter.
- SecurityEndpoint - Interface in org.pac4j.core.util.security
-
Security endpoint.
- SecurityEndpointBuilder - Class in org.pac4j.core.util.security
-
Security endpoint builder.
- SecurityEndpointBuilder() - Constructor for class org.pac4j.core.util.security.SecurityEndpointBuilder
- SecurityGrantedAccessAdapter - Interface in org.pac4j.core.engine
-
Success adapter.
- SECURITYHEADERS - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "securityheaders" matcher.
- SecurityLogic - Interface in org.pac4j.core.engine
-
Security logic to protect an url.
- SEE_OTHER - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
SEE_OTHER=303
- SeeOtherAction - Exception Class in org.pac4j.core.exception.http
-
A "See Other" HTTP action.
- SeeOtherAction(String) - Constructor for exception class org.pac4j.core.exception.http.SeeOtherAction
-
Constructor for SeeOtherAction.
- SERIALIZED_PROFILE - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
-
Constant
SERIALIZED_PROFILE="serializedprofile"
- Serializer - Interface in org.pac4j.core.util.serializer
-
The serializer contract.
- serializeToBytes(Object) - Method in class org.pac4j.core.util.serializer.AbstractSerializer
-
Encode an object into a bytes array.
- 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
-
Encode an object into a string.
- 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
-
Constant
SESSION_ID="pac4jSessionId"
- SessionKeyCredentials - Class in org.pac4j.core.credentials
-
The logout credentials with a session key.
- SessionKeyCredentials(LogoutType, String) - Constructor for class org.pac4j.core.credentials.SessionKeyCredentials
-
Constructor for SessionKeyCredentials.
- SessionLogoutHandler - Interface in org.pac4j.core.logout.handler
-
This interface defines how to handle logout requests on client side.
- sessionStore - Variable in class org.pac4j.core.profile.ProfileManager
- sessionStore() - Method in record class org.pac4j.core.context.CallContext
-
Returns the value of the
sessionStore
record component. - SessionStore - Interface in org.pac4j.core.context.session
-
To store data in session.
- SessionStoreFactory - Interface in org.pac4j.core.context.session
-
Build a session store from framework parameters.
- set(K, O) - Method in class org.pac4j.core.store.AbstractStore
-
Set a value by its key.
- set(K, O) - Method in interface org.pac4j.core.store.Store
-
Set a value by its key.
- set(WebContext, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
-
Save an object in the store by its key.
- setAlwaysUse401ForUnauthenticated(boolean) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Setter for the field
alwaysUse401ForUnauthenticated
. - setAuthenticatorIfUndefined(Authenticator) - Method in class org.pac4j.core.client.BaseClient
-
setAuthenticatorIfUndefined.
- setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.BaseClient
-
Add an authorization generator.
- setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
-
setAuthorizationGenerator.
- setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.BaseClient
-
Setter for the field
authorizationGenerators
. - setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.Clients
-
Setter for the field
authorizationGenerators
. - setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.BaseClient
-
Setter for the field
authorizationGenerators
. - setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.Clients
-
Setter for the field
authorizationGenerators
. - setAuthorizer(Authorizer) - Method in class org.pac4j.core.config.Config
-
setAuthorizer.
- setAuthorizers(String) - Method in interface org.pac4j.core.util.security.SecurityEndpoint
-
setAuthorizers.
- setAuthorizers(Map<String, Authorizer>) - Method in class org.pac4j.core.config.Config
-
Setter for the field
authorizers
. - setBlue(int) - Method in class org.pac4j.core.profile.Color
-
Setter for the field
blue
. - setCallbackLogic(CallbackLogic) - Method in class org.pac4j.core.config.Config
-
Setter for the field
callbackLogic
. - setCallbackLogicIfUndefined(CallbackLogic) - Method in class org.pac4j.core.config.Config
-
setCallbackLogicIfUndefined.
- setClientName(String) - Method in interface org.pac4j.core.profile.UserProfile
-
setClientName.
- setClients(String) - Method in interface org.pac4j.core.util.security.SecurityEndpoint
-
setClients.
- setClients(List<Client>) - Method in class org.pac4j.core.client.Clients
-
Setter for the field
clients
. - setClients(Client...) - Method in class org.pac4j.core.client.Clients
-
Setter for the field
clients
. - setClients(Clients) - Method in class org.pac4j.core.config.Config
-
Setter for the field
clients
. - setComment(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
comment
. - setConfig(Config) - Method in interface org.pac4j.core.util.security.SecurityEndpoint
-
setConfig.
- setConfigForClients() - Method in class org.pac4j.core.config.Config
- setConnectTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
-
Setter for the field
connectTimeout
. - setCredentialsExtractorIfUndefined(CredentialsExtractor) - Method in class org.pac4j.core.client.BaseClient
-
setCredentialsExtractorIfUndefined.
- setCustomProperties(Map<String, Object>) - Method in class org.pac4j.core.client.BaseClient
-
Setter for the field
customProperties
. - setDefaultRoles(String) - Method in class org.pac4j.core.authorization.generator.DefaultRolesAuthorizationGenerator
-
Setter for defaultRoles
- setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
-
Setter for the field
delegate
. - setDomain(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
domain
. - setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Setter for the field
elements
. - setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Setter for the field
elements
. - setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Setter for the field
elements
. - setExcludedPath(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
setExcludedPath.
- setExcludedPaths(Iterable<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Setter for the field
excludedPaths
. - setExcludedPattern(String) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
setExcludedPattern.
- setExcludedPatterns(Iterable<String>) - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
Setter for the field
excludedPatterns
. - setExpectedValue(String) - Method in class org.pac4j.core.matching.matcher.HeaderMatcher
-
Setter for the field
expectedValue
. - setGreen(int) - Method in class org.pac4j.core.profile.Color
-
Setter for the field
green
. - setHeaderName(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Setter for the field
headerName
. - setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
-
Setter for the field
httpActionAdapter
. - setHttpActionAdapterIfUndefined(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
-
setHttpActionAdapterIfUndefined.
- setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
-
setHttpOnly.
- setId(String) - Method in class org.pac4j.core.profile.BasicUserProfile
-
setId.
- setId(String) - Method in interface org.pac4j.core.profile.UserProfile
-
setId.
- setLinkedId(String) - Method in interface org.pac4j.core.profile.UserProfile
-
setLinkedId.
- setLogoutActionBuilderIfUndefined(LogoutActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
-
setLogoutActionBuilderIfUndefined.
- setLogoutLogic(LogoutLogic) - Method in class org.pac4j.core.config.Config
-
Setter for the field
logoutLogic
. - setLogoutLogicIfUndefined(LogoutLogic) - Method in class org.pac4j.core.config.Config
-
setLogoutLogicIfUndefined.
- setLogoutProcessorIfUndefined(LogoutProcessor) - Method in class org.pac4j.core.client.IndirectClient
-
setLogoutProcessorIfUndefined.
- setMatcher(Matcher) - Method in class org.pac4j.core.config.Config
-
setMatcher.
- setMatchers(String) - Method in interface org.pac4j.core.util.security.SecurityEndpoint
-
setMatchers.
- setMatchers(Map<String, Matcher>) - Method in class org.pac4j.core.config.Config
-
Setter for the field
matchers
. - setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
maxAge
. - setName(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
name
. - setPath(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
path
. - setPrefixHeader(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Setter for the field
prefixHeader
. - setProfileClassPrefixes(List<String>) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Setter for the field
profileClassPrefixes
. - setProfileCreatorIfUndefined(ProfileCreator) - Method in class org.pac4j.core.client.BaseClient
-
setProfileCreatorIfUndefined.
- setProfileDefinition(ProfileDefinition) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
Setter for the field
profileDefinition
. - setProfileDefinitionIfUndefined(ProfileDefinition) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
setProfileDefinitionIfUndefined.
- setProfileFactoryWhenNotAuthenticated(ProfileFactory) - Method in class org.pac4j.core.client.BaseClient
-
Setter for the field
profileFactoryWhenNotAuthenticated
. - setProfileManagerFactory(ProfileManagerFactory) - Method in class org.pac4j.core.config.Config
-
Setter for the field
profileManagerFactory
. - setProfileManagerFactoryIfUndefined(ProfileManagerFactory) - Method in class org.pac4j.core.config.Config
-
setProfileManagerFactoryIfUndefined.
- setReadTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
-
Setter for the field
readTimeout
. - setRed(int) - Method in class org.pac4j.core.profile.Color
-
Setter for the field
red
. - setRedirectionActionBuilderIfUndefined(RedirectionActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
-
setRedirectionActionBuilderIfUndefined.
- setRemembered(boolean) - Method in interface org.pac4j.core.profile.UserProfile
-
setRemembered.
- setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
-
Save a request attribute.
- setResponseContentType(String) - Method in interface org.pac4j.core.context.WebContext
-
Sets the response content type.
- setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
-
Add a header to the response.
- setRoles(Set<String>) - Method in class org.pac4j.core.profile.BasicUserProfile
-
Setter for the field
roles
. - setSalt(String) - Method in class org.pac4j.core.credentials.password.JBCryptPasswordEncoder
-
Setter for the field
salt
. - setSameSitePolicy(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
sameSitePolicy
. - setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
secure
. - setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
-
Setter for the field
securityLogic
. - setSecurityLogicIfUndefined(SecurityLogic) - Method in class org.pac4j.core.config.Config
-
setSecurityLogicIfUndefined.
- setSessionStoreFactory(SessionStoreFactory) - Method in class org.pac4j.core.config.Config
-
Setter for the field
sessionStoreFactory
. - setSessionStoreFactoryIfUndefined(SessionStoreFactory) - Method in class org.pac4j.core.config.Config
-
setSessionStoreFactoryIfUndefined.
- setSize(int) - Method in class org.pac4j.core.util.generator.RandomValueGenerator
-
Setter for the field
size
. - setTrimValue(boolean) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
Setter for the field
trimValue
. - setUseModernHttpCodes(boolean) - Static method in class org.pac4j.core.util.HttpActionHelper
-
Setter for the field
useModernHttpCodes
. - setValue(String) - Method in class org.pac4j.core.context.Cookie
-
Setter for the field
value
. - setValue(String) - Method in class org.pac4j.core.util.generator.StaticValueGenerator
-
Setter for the field
value
. - setWebContextFactory(WebContextFactory) - Method in class org.pac4j.core.config.Config
-
Setter for the field
webContextFactory
. - setWebContextFactoryIfUndefined(WebContextFactory) - Method in class org.pac4j.core.config.Config
-
setWebContextFactoryIfUndefined.
- 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
-
Constructor for ShiroPasswordEncoder.
- shouldInitialize(boolean) - Method in class org.pac4j.core.client.Clients
-
shouldInitialize.
- shouldInitialize(boolean) - Method in class org.pac4j.core.util.InitializableObject
-
shouldInitialize.
- source - Variable in class org.pac4j.core.credentials.Credentials
-
Indicates the source of the credentials.
- SpringResourceHelper - Class in org.pac4j.core.resource
-
An helper with Spring Resource.
- SpringResourceHelper() - Constructor for class org.pac4j.core.resource.SpringResourceHelper
- SpringResourceLoader<M> - Class in org.pac4j.core.resource
-
A loader based on a Spring Resource.
- SpringResourceLoader() - Constructor for class org.pac4j.core.resource.SpringResourceLoader
- 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
-
Constructor for 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
-
Constructor for SpringSecurityPropertiesAuthorizationGenerator.
- startAuthentication(CallContext, 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
-
Constructor for StaticValueGenerator.
- StaticValueGenerator(String) - Constructor for class org.pac4j.core.util.generator.StaticValueGenerator
-
Constructor for StaticValueGenerator.
- StatusAction - Exception Class in org.pac4j.core.exception.http
-
An HTTP action with just a specific status and maybe a content.
- StatusAction(int) - Constructor for exception class org.pac4j.core.exception.http.StatusAction
-
Constructor for 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
-
Constant
STRICT_TRANSPORT_MATCHER
- StrictTransportSecurityMatcher - Class in org.pac4j.core.matching.matcher
-
Strict transport security header matcher.
- StrictTransportSecurityMatcher() - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
-
Constructor for StrictTransportSecurityMatcher.
- StrictTransportSecurityMatcher(int) - Constructor for class org.pac4j.core.matching.matcher.StrictTransportSecurityMatcher
-
Constructor for StrictTransportSecurityMatcher.
- STRING - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
STRING
- StringConverter - Class in org.pac4j.core.profile.converter
-
This class only keeps String objects.
- StringConverter() - Constructor for class org.pac4j.core.profile.converter.StringConverter
-
Constructor for StringConverter.
- SUBJECT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
Constant
SUBJECT="sub"
- substringAfter(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
substringAfter.
- substringBefore(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
substringBefore.
- substringBetween(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
substringBetween.
T
- TechnicalException - Exception Class in org.pac4j.core.exception
-
This class represents the root technical exception for the library.
- TechnicalException(String) - Constructor for exception class org.pac4j.core.exception.TechnicalException
-
Constructor for TechnicalException.
- TechnicalException(String, Throwable) - Constructor for exception class org.pac4j.core.exception.TechnicalException
-
Constructor for TechnicalException.
- TechnicalException(Throwable) - Constructor for exception class org.pac4j.core.exception.TechnicalException
-
Constructor for TechnicalException.
- TEMPORARY_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
TEMPORARY_REDIRECT=307
- TokenCredentials - Class in org.pac4j.core.credentials
-
This credentials represents a token.
- TokenCredentials() - Constructor for class org.pac4j.core.credentials.TokenCredentials
- toString() - Method in class org.pac4j.core.adapter.DefaultFrameworkAdapter
- toString() - Method in record class org.pac4j.core.context.CallContext
-
Returns a string representation of this record class.
- toString() - Method in class org.pac4j.core.profile.Color
- TRACE - Enum constant in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
- TYPED_ID_SEPARATOR - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
TYPED_ID_SEPARATOR="#"
U
- unauthorized(CallContext, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Return an unauthorized error.
- UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
-
Constant
UNAUTHORIZED=401
- UnauthorizedAction - Exception Class in org.pac4j.core.exception.http
-
An unauthorized HTTP action.
- UnauthorizedAction() - Constructor for exception class org.pac4j.core.exception.http.UnauthorizedAction
-
Constructor for UnauthorizedAction.
- UNDEFINED - Enum constant in enum class org.pac4j.core.logout.LogoutType
- UNSPECIFIED - Enum constant in enum class 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 the attributes in the storage.
- update(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Update a profile (with the associated password) in the storage.
- update(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Update a profile (with the associated password) in the storage.
- URL - Static variable in class org.pac4j.core.profile.converter.Converters
-
Constant
URL
- URL - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
URL="url"
- UrlConverter - Class in org.pac4j.core.profile.converter
-
URL converter.
- UrlConverter() - Constructor for class org.pac4j.core.profile.converter.UrlConverter
-
Constructor for 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
-
Constant
USER_PROFILES="pac4jUserProfiles"
- USERNAME - Static variable in interface org.pac4j.core.util.Pac4jConstants
-
Constant
USERNAME="username"
- UsernamePasswordCredentials - Class in org.pac4j.core.credentials
-
This class represents a username and a password credentials
- UsernamePasswordCredentials() - 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(CallContext, Credentials) - Method in interface org.pac4j.core.credentials.authenticator.Authenticator
-
Validate the credentials.
- validate(CallContext, Credentials) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
Validate the credentials.
- validate(CallContext, Credentials) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Validate the credentials.
- validateCredentials(CallContext, Credentials) - Method in class org.pac4j.core.client.BaseClient
-
Validate the credentials.
- validateCredentials(CallContext, Credentials) - Method in interface org.pac4j.core.client.Client
-
Validate the credentials.
- ValueGenerator - Interface in org.pac4j.core.util.generator
-
Value generator.
- valueOf(String) - Static method in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pac4j.core.credentials.CredentialSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pac4j.core.credentials.extractor.FormExtractor.ExtractionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pac4j.core.logout.LogoutType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pac4j.core.profile.AttributeLocation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.pac4j.core.profile.Gender
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.pac4j.core.context.HttpConstants.HTTP_METHOD
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pac4j.core.credentials.CredentialSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pac4j.core.credentials.extractor.FormExtractor.ExtractionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pac4j.core.logout.LogoutType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pac4j.core.profile.AttributeLocation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.pac4j.core.profile.Gender
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warnInclude() - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
warnInclude.
- warnRegexp() - Method in class org.pac4j.core.matching.matcher.PathMatcher
-
warnRegexp.
- webContext() - Method in record class org.pac4j.core.context.CallContext
-
Returns the value of the
webContext
record component. - WebContext - Interface in org.pac4j.core.context
-
This interface represents the web context to use HTTP request and response.
- 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
-
Constant
X_CONTENT_TYPE_OPTIONS_MATCHER
- X_FRAME_OPTIONS_MATCHER - Static variable in class org.pac4j.core.matching.checker.DefaultMatchingChecker
-
Constant
X_FRAME_OPTIONS_MATCHER
- 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
-
Constant
XSS_PROTECTION_MATCHER
- XSSPROTECTION - Static variable in interface org.pac4j.core.matching.matcher.DefaultMatchers
-
The "xssprotection" matcher.
- XSSProtectionMatcher - Class in org.pac4j.core.matching.matcher
-
XSS protection header matcher.
- XSSProtectionMatcher() - Constructor for class org.pac4j.core.matching.matcher.XSSProtectionMatcher
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form