- AbstractAttributeConverter<T> - Class in org.pac4j.core.profile.converter
-
This abstract attribute converter handles some common behaviors for simple type converters.
- AbstractAttributeConverter(Class<T>) - Constructor for class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
- AbstractCheckAuthenticationAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Check the authentication of the user.
- AbstractCheckAuthenticationAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
- AbstractCheckAuthenticationAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
- AbstractExceptionAwareLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
-
Abstract logic to handle exceptions:
if it's a
HttpAction
, the HTTP action (which has already been performed on the web context) is "adapted"
else if an
AbstractExceptionAwareLogic.errorUrl
is defined, the user is redirected to this error URL
otherwise the exception is thrown again
- AbstractExceptionAwareLogic() - Constructor for class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
- AbstractJwtProfile - Class in org.pac4j.core.profile.jwt
-
Abstract JWT profile.
- AbstractJwtProfile() - Constructor for class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- AbstractProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
-
Abstract implementation of the
ProfileService
for the storage: LDAP, SQL and MongoDB.
- AbstractProfileService() - Constructor for class org.pac4j.core.profile.service.AbstractProfileService
-
- AbstractRequireAllAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
An authorizer to require all the elements.
- AbstractRequireAllAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
-
- AbstractRequireAnyAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
An authorizer to require any of the elements.
- AbstractRequireAnyAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
-
- AbstractRequireElementAuthorizer<E,U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
An authorizer to require elements.
- AbstractRequireElementAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- AbstractStore<K,O> - Class in org.pac4j.core.store
-
Abstract store.
- AbstractStore() - Constructor for class org.pac4j.core.store.AbstractStore
-
- accept(String) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
- ACCEPT_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_ALLOW_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_ALLOW_METHODS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_ALLOW_ORIGIN_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_EXPOSE_HEADERS_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- ACCESS_CONTROL_MAX_AGE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- AccountNotFoundException - Exception in org.pac4j.core.exception
-
Exception when an account is not found.
- AccountNotFoundException(String) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
-
- AccountNotFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.AccountNotFoundException
-
- adapt(C, Collection<CommonProfile>, Object...) - Method in interface org.pac4j.core.engine.SecurityGrantedAccessAdapter
-
Adapt the current successful action as the expected result.
- adapt(int, C) - Method in interface org.pac4j.core.http.adapter.HttpActionAdapter
-
Adapt the HTTP action.
- adapt(int, J2EContext) - Method in class org.pac4j.core.http.adapter.J2ENopHttpActionAdapter
-
- addAttribute(String, Object) - Method in class org.pac4j.core.profile.UserProfile
-
Add an attribute.
- addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
-
Add attributes.
- addAuthenticationAttribute(String, Object) - Method in class org.pac4j.core.profile.UserProfile
-
Add an authentication-related attribute
- addAuthenticationAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
-
Add authentication attributes.
- addAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
-
- addAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
-
- addAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
-
- addAuthorizer(String, Authorizer) - Method in class org.pac4j.core.config.Config
-
- addMatcher(String, Matcher) - Method in class org.pac4j.core.config.Config
-
- addParameter(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Add a new parameter to an url.
- addPermission(String) - Method in class org.pac4j.core.profile.UserProfile
-
Add a permission.
- addPermissions(Collection<String>) - Method in class org.pac4j.core.profile.UserProfile
-
Add permissions.
- addResponseCookie(Cookie) - Method in class org.pac4j.core.context.J2EContext
-
- addResponseCookie(Cookie) - Method in interface org.pac4j.core.context.WebContext
-
Adds cookies to the response
- addRole(String) - Method in class org.pac4j.core.profile.UserProfile
-
Add a role.
- addRoles(Collection<String>) - Method in class org.pac4j.core.profile.UserProfile
-
Add roles.
- addRoles(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
-
Add roles.
- AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
-
- AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
-
- AjaxRequestResolver - Interface in org.pac4j.core.http.ajax
-
Compute if a HTTP request is an AJAX one.
- ALLOW_AJAX_REQUESTS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "allowAjaxRequests" authorizer.
- AlwaysUseSessionProfileStorageDecision<C extends WebContext> - Class in org.pac4j.core.engine.decision
-
A decision class where the session is always used, generally when indirect and direct clients are mixed in the same web application.
- AlwaysUseSessionProfileStorageDecision() - Constructor for class org.pac4j.core.engine.decision.AlwaysUseSessionProfileStorageDecision
-
- AnonymousClient - Class in org.pac4j.core.client.direct
-
Anonymous client.
- AnonymousClient() - Constructor for class org.pac4j.core.client.direct.AnonymousClient
-
- AnonymousCredentials - Class in org.pac4j.core.credentials
-
Anonymous credentials.
- AnonymousCredentials() - Constructor for class org.pac4j.core.credentials.AnonymousCredentials
-
- AnonymousProfile - Class in org.pac4j.core.profile
-
Anonymous profile.
- AnonymousProfile() - Constructor for class org.pac4j.core.profile.AnonymousProfile
-
- APPLICATION_FORM_ENCODED_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
-
- APPLICATION_JSON - Static variable in interface org.pac4j.core.context.HttpConstants
-
- areEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are equals (both null is ok).
- areEqualsIgnoreCaseAndTrim(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are equals ignoring the case and the blank spaces (both null is ok).
- areNotEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
Compare two String to see if they are not equals.
- asPrincipal() - Method in class org.pac4j.core.profile.CommonProfile
-
- assertNotBlank(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- assertNotNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
-
- assertNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
-
- assertTrue(boolean, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- asURI(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Convert a string into an URI.
- ATTEMPTED_AUTHENTICATION_SUFFIX - Static variable in class org.pac4j.core.client.IndirectClient
-
- AttributeConverter<T> - Interface in org.pac4j.core.profile.converter
-
This interface is the contract for an attribute converter.
- AttributeLocation - Enum in org.pac4j.core.profile
-
Denotes where an attribute is placed in a profile.
- attributeNames - Variable in class org.pac4j.core.profile.service.AbstractProfileService
-
- AUDIENCE - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
- AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- Authenticator<C extends Credentials> - Interface in org.pac4j.core.credentials.authenticator
-
- AuthenticatorProfileCreator<C extends Credentials,P extends CommonProfile> - Class in org.pac4j.core.profile.creator
-
This profile creator retrieves the user profile attached in the
Credentials
.
- AuthenticatorProfileCreator() - Constructor for class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
-
- AUTHORIZATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- AuthorizationChecker - Interface in org.pac4j.core.authorization.checker
-
The way to check authorizations.
- AuthorizationGenerator<U extends CommonProfile> - Interface in org.pac4j.core.authorization.generator
-
Generate the authorization roles and permissions for this user profile.
- Authorizer<U extends CommonProfile> - Interface in org.pac4j.core.authorization.authorizer
-
Checks if an access is authorized.
- authorizers - Variable in class org.pac4j.core.config.Config
-
- AUTHORIZERS - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- CacheControlHeader - Class in org.pac4j.core.authorization.authorizer
-
Cache control header.
- CacheControlHeader() - Constructor for class org.pac4j.core.authorization.authorizer.CacheControlHeader
-
- callbackLogic - Variable in class org.pac4j.core.config.Config
-
- CallbackLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
-
Callback logic to finish the login process for an indirect client.
- callbackUrl - Variable in class org.pac4j.core.client.IndirectClient
-
- callbackUrlResolver - Variable in class org.pac4j.core.client.IndirectClient
-
- CallbackUrlResolver - Interface in org.pac4j.core.http.callback
-
How to compute a callback URL and match a client.
- CasLogoutActionBuilder<U extends CommonProfile> - Class in org.pac4j.core.logout
-
CAS logout action builder.
- CasLogoutActionBuilder(String, String) - Constructor for class org.pac4j.core.logout.CasLogoutActionBuilder
-
- CENTRAL_LOGOUT - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
Whether a central logout must be performed
- check(WebContext, U, E) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
Check a specific element.
- check(WebContext, CommonProfile, HttpConstants.HTTP_METHOD) - Method in class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
- check(WebContext, U, Class<U>) - Method in class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
- check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
-
- check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
- check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
- check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
-
- check(WebContext, U, String) - Method in class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
- CheckHttpMethodAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Checks the HTTP method.
- CheckHttpMethodAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
- CheckHttpMethodAuthorizer(HttpConstants.HTTP_METHOD...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
- CheckHttpMethodAuthorizer(List<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
- CheckHttpMethodAuthorizer(Set<HttpConstants.HTTP_METHOD>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckHttpMethodAuthorizer
-
- CheckProfileTypeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Checks the profile type.
- CheckProfileTypeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
- CheckProfileTypeAuthorizer(Class<U>...) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
- CheckProfileTypeAuthorizer(List<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
- CheckProfileTypeAuthorizer(Set<Class<U>>) - Constructor for class org.pac4j.core.authorization.authorizer.CheckProfileTypeAuthorizer
-
- clearSensitiveData() - Method in class org.pac4j.core.profile.UserProfile
-
- Client<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.client
-
This interface is the core class of the library.
- ClientFinder - Interface in org.pac4j.core.client.finder
-
The way to find the client.
- clientInit() - Method in class org.pac4j.core.client.direct.AnonymousClient
-
- clientInit() - Method in class org.pac4j.core.client.DirectClient
-
Initialize the client.
- clientInit() - Method in class org.pac4j.core.client.IndirectClient
-
Initialize the client.
- Clients - Class in org.pac4j.core.client
-
This class is made to group multiple clients, generally on one callback url.
- Clients() - Constructor for class org.pac4j.core.client.Clients
-
- Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
-
- Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
-
- Clients(String, Client) - Constructor for class org.pac4j.core.client.Clients
-
- Clients(List<Client>) - Constructor for class org.pac4j.core.client.Clients
-
- Clients(Client...) - Constructor for class org.pac4j.core.client.Clients
-
- Clients(Client) - Constructor for class org.pac4j.core.client.Clients
-
- clients - Variable in class org.pac4j.core.config.Config
-
- CLIENTS - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- closeConnection(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
-
- code - Variable in exception org.pac4j.core.exception.HttpAction
-
- Color - Class in org.pac4j.core.profile
-
This class is a simple RGB color values holder.
- Color(int, int, int) - Constructor for class org.pac4j.core.profile.Color
-
- COLOR - Static variable in class org.pac4j.core.profile.converter.Converters
-
- ColorConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into a Color.
- ColorConverter() - Constructor for class org.pac4j.core.profile.converter.ColorConverter
-
- CommonHelper - Class in org.pac4j.core.util
-
This class gathers all the utilities methods.
- CommonHelper() - Constructor for class org.pac4j.core.util.CommonHelper
-
- CommonProfile - Class in org.pac4j.core.profile
-
This class is the base implementation with the default attribute getters which can be retrieved for most profiles.
- CommonProfile() - Constructor for class org.pac4j.core.profile.CommonProfile
-
- CommonProfileDefinition<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
-
Profile definition with the common attributes.
- CommonProfileDefinition() - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- CommonProfileDefinition(Function<Object[], P>) - Constructor for class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- CommunicationException - Exception in org.pac4j.core.exception
-
This class represents a communication exception.
- CommunicationException(String) - Constructor for exception org.pac4j.core.exception.CommunicationException
-
- CommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.CommunicationException
-
- compute(UrlResolver, String, String, WebContext) - Method in interface org.pac4j.core.http.callback.CallbackUrlResolver
-
Compute a callback URL from the provided URL resolver, URL, client name and web context.
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.NoParameterCallbackUrlResolver
-
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.PathParameterCallbackUrlResolver
-
- compute(UrlResolver, String, String, WebContext) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
-
- compute(String, WebContext) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
-
- compute(String, WebContext) - Method in interface org.pac4j.core.http.url.UrlResolver
-
Compute a new URL from the provided URL and the web context.
- computeFinalCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
-
- Config - Class in org.pac4j.core.config
-
The default configuration with clients, authorizers and matchers.
- Config() - Constructor for class org.pac4j.core.config.Config
-
- Config(Client) - Constructor for class org.pac4j.core.config.Config
-
- Config(Clients) - Constructor for class org.pac4j.core.config.Config
-
- Config(List<Client>) - Constructor for class org.pac4j.core.config.Config
-
- Config(Client...) - Constructor for class org.pac4j.core.config.Config
-
- Config(String, Client) - Constructor for class org.pac4j.core.config.Config
-
- Config(String, Client...) - Constructor for class org.pac4j.core.config.Config
-
- Config(String, List<Client>) - Constructor for class org.pac4j.core.config.Config
-
- Config(Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
- Config(Clients, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
- Config(Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
- Config(Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
-
- Config(String, Map<String, Authorizer>, Client...) - Constructor for class org.pac4j.core.config.Config
-
- Config(String, Client, Map<String, Authorizer>) - Constructor for class org.pac4j.core.config.Config
-
- config - Variable in class org.pac4j.core.config.DefaultConfigFactory
-
- CONFIG_FACTORY - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- ConfigBuilder - Class in org.pac4j.core.config
-
To build a configuration from a factory.
- ConfigBuilder() - Constructor for class org.pac4j.core.config.ConfigBuilder
-
- ConfigFactory - Interface in org.pac4j.core.config
-
A factory to build the configuration.
- ConfigSingleton - Class in org.pac4j.core.config
-
A singleton of the configuration.
- ConfigSingleton() - Constructor for class org.pac4j.core.config.ConfigSingleton
-
- containsAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Check to see if profile contains attribute name.
- containsAuthenicationAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Check to see if profile contains attribute name.
- CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
-
- context - Variable in class org.pac4j.core.profile.ProfileManager
-
- ContextHelper - Class in org.pac4j.core.context
-
A helper for the web context.
- ContextHelper() - Constructor for class org.pac4j.core.context.ContextHelper
-
- convert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
- convert(Object) - Method in interface org.pac4j.core.profile.converter.AttributeConverter
-
Convert an attribute to a specific type T.
- convertAndAdd(CommonProfile, 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.
- convertAndAdd(CommonProfile, Map<String, Object>, Map<String, Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Convert the profile and authentication attributes, if necessary, and add them to the profile.
- convertAttributesToProfile(List<Map<String, Object>>, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Convert the list of map of attributes from the storage into a profile.
- Converters - Class in org.pac4j.core.profile.converter
-
This class defines the default converters.
- Converters() - Constructor for class org.pac4j.core.profile.converter.Converters
-
- convertProfileAndPasswordToAttributes(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Convert a profile and a password into a map of attributes for the storage.
- Cookie - Class in org.pac4j.core.context
-
- Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
-
- CorsAuthorizer - Class in org.pac4j.core.authorization.authorizer
-
Define how the CORS requests are authorized.
- CorsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- create(C, WebContext) - Method in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
-
- create(C, WebContext) - Method in interface org.pac4j.core.profile.creator.ProfileCreator
-
Create a profile from a credentials.
- create(U, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- create(U, String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Create a profile with the associated password in the storage.
- CREATED - Static variable in interface org.pac4j.core.context.HttpConstants
-
- Credentials - Class in org.pac4j.core.credentials
-
This class represents the base credentials.
- Credentials() - Constructor for class org.pac4j.core.credentials.Credentials
-
- CredentialsException - Exception in org.pac4j.core.exception
-
This class represents an expected exception occurring during credentials retrieval.
- CredentialsException(String) - Constructor for exception org.pac4j.core.exception.CredentialsException
-
- CredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
-
- CredentialsException(String, Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
-
- CredentialsExtractor<C extends Credentials> - Interface in org.pac4j.core.credentials.extractor
-
- CSRF - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "csrf" authorizer.
- CSRF_CHECK - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "csrfCheck" authorizer.
- CSRF_TOKEN - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "csrfToken" authorizer.
- CSRF_TOKEN - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- CsrfAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
-
Authorizer that checks CSRF tokens.
- CsrfAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- CsrfAuthorizer(String, String) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- CsrfAuthorizer(String, String, boolean) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- CsrfTokenGenerator - Interface in org.pac4j.core.authorization.authorizer.csrf
-
CSRF token generator.
- CsrfTokenGeneratorAuthorizer - Class in org.pac4j.core.authorization.authorizer.csrf
-
Authorizer which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
- CsrfTokenGeneratorAuthorizer(CsrfTokenGenerator) - Constructor for class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- DATE_TZ_GENERAL - Static variable in class org.pac4j.core.profile.converter.Converters
-
- DATE_TZ_GENERAL_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
-
- DATE_TZ_RFC822 - Static variable in class org.pac4j.core.profile.converter.Converters
-
- DATE_TZ_RFC822_FORMAT - Static variable in class org.pac4j.core.profile.converter.Converters
-
- DateConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String (depending on a specified format) into a Date.
- DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
-
- DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
-
- DEFAULT_CLIENT - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DEFAULT_CLIENT_NAME_PARAMETER - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DEFAULT_CONNECT_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
-
- DEFAULT_HTTP_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
-
- DEFAULT_HTTPS_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
-
- DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DEFAULT_READ_TIMEOUT - Static variable in interface org.pac4j.core.context.HttpConstants
-
- DEFAULT_REALM_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DEFAULT_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- DefaultAjaxRequestResolver - Class in org.pac4j.core.http.ajax
-
Default way to compute if a HTTP request is an AJAX one.
- DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
- defaultAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.BaseClient
-
- DefaultAuthorizationChecker - Class in org.pac4j.core.authorization.checker
-
Default way to check the authorizations (with default authorizers).
- DefaultAuthorizationChecker() - Constructor for class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
- DefaultAuthorizers - Interface in org.pac4j.core.context
-
Constants for authorizers.
- DefaultCallbackClientFinder - Class in org.pac4j.core.client.finder
-
Find the right client on the callback.
- DefaultCallbackClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultCallbackClientFinder
-
- DefaultCallbackLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
-
Default callback logic:
The credentials are extracted from the current request to fetch the user profile (from the identity provider) which is then saved in
the web session.
- DefaultCallbackLogic() - Constructor for class org.pac4j.core.engine.DefaultCallbackLogic
-
- DefaultConfigFactory - Class in org.pac4j.core.config
-
A default configuration factory.
- DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
-
- defaultCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
-
- DefaultCsrfTokenGenerator - Class in org.pac4j.core.authorization.authorizer.csrf
-
Default CSRF token generator.
- DefaultCsrfTokenGenerator() - Constructor for class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
-
- defaultLogoutActionBuilder(LogoutActionBuilder<U>) - Method in class org.pac4j.core.client.IndirectClient
-
- DefaultLogoutLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
-
Default logout logic:
If the localLogout
property is true
, the pac4j profiles are removed from the web session
(and the web session is destroyed if the destroySession
property is true
).
- DefaultLogoutLogic() - Constructor for class org.pac4j.core.engine.DefaultLogoutLogic
-
- defaultProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.BaseClient
-
- defaultProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- DefaultProfileStorageDecision<C extends WebContext> - Class in org.pac4j.core.engine.decision
-
Default decision class where the indirect clients are handled separately from the direct clients.
- DefaultProfileStorageDecision() - Constructor for class org.pac4j.core.engine.decision.DefaultProfileStorageDecision
-
- defaultRedirectActionBuilder(RedirectActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
-
- DefaultRolesPermissionsAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
-
Grant default roles and/or permissions to a user profile.
- DefaultRolesPermissionsAuthorizationGenerator(Collection<String>, Collection<String>) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
-
- DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
-
- DefaultSecurityClientFinder - Class in org.pac4j.core.client.finder
-
Find the right clients based on the query parameter for the
SecurityLogic
.
- DefaultSecurityClientFinder() - Constructor for class org.pac4j.core.client.finder.DefaultSecurityClientFinder
-
- DefaultSecurityLogic<R,C extends WebContext> - Class in org.pac4j.core.engine
-
Default security logic:
If the HTTP request matches the matchers
configuration (or no matchers
are defined),
the security is applied.
- DefaultSecurityLogic() - Constructor for class org.pac4j.core.engine.DefaultSecurityLogic
-
- DefaultUrlResolver - Class in org.pac4j.core.http.url
-
Default URL resolver: use the provided URL as is or append the server and port for relative URLs.
- DefaultUrlResolver() - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
-
- DefaultUrlResolver(boolean) - Constructor for class org.pac4j.core.http.url.DefaultUrlResolver
-
- defaultValue() - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
- defaultValue() - Method in class org.pac4j.core.profile.converter.BooleanConverter
-
- defineAttributesToRead() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Define the attributes to read in the storage.
- 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
-
- DESTROY_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
Whether we must destroy the web session during the local logout
- destroySession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- destroySession(C) - Method in interface org.pac4j.core.context.session.SessionStore
-
Destroy the web session.
- DIGEST_HEADER_PREFIX - Static variable in interface org.pac4j.core.context.HttpConstants
-
- DirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
-
Direct client: credentials are passed and authentication occurs for every HTTP request.
- DirectClient() - Constructor for class org.pac4j.core.client.DirectClient
-
- DISABLED - Static variable in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
-
- DISPLAY_NAME - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- GENDER - Static variable in class org.pac4j.core.profile.converter.Converters
-
- GENDER - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- Gender - Enum in org.pac4j.core.profile
-
This enumeration is the gender of a user : male, female or unspecified.
- GenderConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String to a Gender.
- GenderConverter() - Constructor for class org.pac4j.core.profile.converter.GenderConverter
-
- generate(WebContext, U) - Method in interface org.pac4j.core.authorization.generator.AuthorizationGenerator
-
Generate the authorization information from and for the user profile.
- generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.DefaultRolesPermissionsAuthorizationGenerator
-
- generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
- generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- generate(WebContext, U) - Method in class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
-
- get(WebContext) - Method in interface org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGenerator
-
Get the CSRF token from the session or create it if it doesn't exist.
- get(WebContext) - Method in class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
-
- get(J2EContext, String) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- get(C, String) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get the object from its key in store.
- get(boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve the first user profile if it exists, ignoring any
AnonymousProfile
if possible.
- get(K) - Method in class org.pac4j.core.store.AbstractStore
-
- get(K) - Method in interface org.pac4j.core.store.Store
-
Get a value by key.
- getAjaxRequestResolver() - Method in class org.pac4j.core.client.Clients
-
- getAjaxRequestResolver() - Method in class org.pac4j.core.client.IndirectClient
-
- getAjaxRequestResolver() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- getAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve all user profiles.
- getAllowCredentials() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getAllowHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getAllowMethods() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getAllowOrigin() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Return the attribute with name.
- getAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.UserProfile
-
Return the attribute with name.
- getAttributes() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getAttributes() - Method in class org.pac4j.core.profile.UserProfile
-
Get all attributes as immutable map.
- getAudience() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Return the authentication attribute with name.
- getAuthenticationAttribute(String, Class<T>) - Method in class org.pac4j.core.profile.UserProfile
-
Return authentication attribute with name
- getAuthenticationAttributes() - Method in class org.pac4j.core.profile.UserProfile
-
Get all authentication attributes as an immutable map
- getAuthenticator() - Method in class org.pac4j.core.client.BaseClient
-
- getAuthorizationChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- getAuthorizationGenerators() - Method in class org.pac4j.core.client.BaseClient
-
- getAuthorizationGenerators() - Method in class org.pac4j.core.client.Clients
-
- getAuthorizers() - Method in class org.pac4j.core.config.Config
-
- getBlue() - Method in class org.pac4j.core.profile.Color
-
- getBody() - Method in exception org.pac4j.core.exception.HttpCommunicationException
-
- getCache() - Method in class org.pac4j.core.store.GuavaStore
-
- getCacheSize() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- getCallbackLogic() - Method in class org.pac4j.core.config.Config
-
- getCallbackUrl() - Method in class org.pac4j.core.client.Clients
-
- getCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
-
- getCallbackUrlResolver() - Method in class org.pac4j.core.client.Clients
-
- getCallbackUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
-
- getClientFinder() - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- getClientFinder() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- getClientName() - Method in class org.pac4j.core.profile.UserProfile
-
- getClientNameParameter() - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
-
- getClientNameParameter() - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
-
- getClients() - Method in class org.pac4j.core.client.Clients
-
- getClients() - Method in class org.pac4j.core.config.Config
-
- getCode() - Method in exception org.pac4j.core.exception.HttpAction
-
Return the HTTP code.
- getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
-
- getComment() - Method in class org.pac4j.core.context.Cookie
-
- getConfig() - Static method in class org.pac4j.core.config.ConfigSingleton
-
- getConnectTimeout() - Static method in class org.pac4j.core.util.HttpUtils
-
- getContent() - Method in class org.pac4j.core.redirect.RedirectAction
-
- getConverters() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
- getCookie(Collection<Cookie>, String) - Static method in class org.pac4j.core.context.ContextHelper
-
Get a specific cookie by its name.
- getCookie(WebContext, String) - Static method in class org.pac4j.core.context.ContextHelper
-
Get a specific cookie by its name.
- getCredentials(WebContext) - Method in interface org.pac4j.core.client.Client
-
Get the credentials from the web context.
- getCredentials(WebContext) - Method in class org.pac4j.core.client.DirectClient
-
- getCredentials(WebContext) - Method in class org.pac4j.core.client.IndirectClient
-
Get the credentials from the web context.
- getCredentialsExtractor() - Method in class org.pac4j.core.client.BaseClient
-
- getCsrfTokenGenerator() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- getCustomProperties() - Method in class org.pac4j.core.client.BaseClient
-
- getDefaultSecurityClients() - Method in class org.pac4j.core.client.Clients
-
- getDelegate() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- getDelegate() - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
-
- getDelegate() - Method in class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
-
- getDisplayName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the displayed name of the user.
- getDomain() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- getDomain() - Method in class org.pac4j.core.context.Cookie
-
- getElements() - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- getEmail() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the email of the user.
- getErrorUrl() - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
- getExcludedPaths() - Method in class org.pac4j.core.matching.PathMatcher
-
- getExcludedPatterns() - Method in class org.pac4j.core.matching.PathMatcher
-
- getExpectedValue() - Method in class org.pac4j.core.matching.HeaderMatcher
-
- getExpirationDate() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getExposeHeaders() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getFamilyName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the family name of the user.
- getFirstName() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the first name of the user.
- getFullRequestURL() - Method in class org.pac4j.core.context.J2EContext
-
- getFullRequestURL() - Method in interface org.pac4j.core.context.WebContext
-
Return the full URL (with query string) the client used to request the server.
- getGender() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the gender of the user.
- getGreen() - Method in class org.pac4j.core.profile.Color
-
- getHeaderName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- getHeaderName() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- getHeaderName() - Method in class org.pac4j.core.matching.HeaderMatcher
-
- getHttpActionAdapter() - Method in class org.pac4j.core.config.Config
-
- getHttpOnly() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- getHttpSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- getId() - Method in class org.pac4j.core.profile.UserProfile
-
Get the user identifier.
- getIdAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getInternalAttributeHandler() - Static method in class org.pac4j.core.profile.ProfileHelper
-
- getIssuedAt() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getIssuer() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getJavaSerializationHelper() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getLinkedId() - Method in class org.pac4j.core.profile.UserProfile
-
- getLocale() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the locale of the user.
- getLocation() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the location of the user.
- getLocation() - Method in class org.pac4j.core.redirect.RedirectAction
-
- getLogoutAction(WebContext, U, String) - Method in interface org.pac4j.core.client.Client
-
Return the logout action (indirect clients).
- getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.client.DirectClient
-
- getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.client.IndirectClient
-
- getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.logout.CasLogoutActionBuilder
-
- getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.logout.GoogleLogoutActionBuilder
-
- getLogoutAction(WebContext, U, String) - Method in interface org.pac4j.core.logout.LogoutActionBuilder
-
- getLogoutAction(WebContext, U, String) - Method in class org.pac4j.core.logout.NoLogoutActionBuilder
-
- getLogoutActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
-
- getLogoutLogic() - Method in class org.pac4j.core.config.Config
-
- getMatchers() - Method in class org.pac4j.core.config.Config
-
- getMatchingChecker() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- getMaxAge() - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- getMaxAge() - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
-
- getMaxAge() - Method in class org.pac4j.core.context.Cookie
-
- getMethods() - Method in class org.pac4j.core.matching.HttpMethodMatcher
-
- getName() - Method in class org.pac4j.core.client.BaseClient
-
- getName() - Method in interface org.pac4j.core.client.Client
-
Get the name of the client.
- getName() - Method in class org.pac4j.core.context.Cookie
-
- getName() - Method in class org.pac4j.core.profile.Pac4JPrincipal
-
- getNotBefore() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getOrCreateSessionId(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- getOrCreateSessionId(C) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get or create the session identifier and initialize the session with it if necessary.
- getParameterName() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- getPassword() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
-
- getPasswordAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getPasswordEncoder() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getPasswordParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
-
- getPath() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- getPath() - Method in class org.pac4j.core.context.Cookie
-
- getPath() - Method in class org.pac4j.core.context.J2EContext
-
This is not implemented using HttpServletRequest.getServletPath()
or
HttpServletRequest.getPathInfo()
because they both have strange behaviours
in different contexts (inside servlets, inside filters, various container implementation, etc)
- getPath() - Method in interface org.pac4j.core.context.WebContext
-
Get the "servlet path" (in a J2E style).
- getPermissions() - Method in class org.pac4j.core.profile.UserProfile
-
Get the permissions of the user.
- getPictureUrl() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the url of the picture of the user.
- getPrefixHeader() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- getPrimaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
- getProfileCreator() - Method in class org.pac4j.core.client.BaseClient
-
- getProfileDefinition() - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- getProfileId() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
- getProfileManager(C, Config) - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
-
Given a webcontext generate a profileManager for it.
- getProfileManagerFactory() - Method in class org.pac4j.core.config.Config
-
- getProfileManagerFactory() - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
-
- getProfileService() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- getProfileStorageDecision() - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- getProfileUrl() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the url of the profile of the user.
- getProtocol() - Method in class org.pac4j.core.context.J2EContext
-
- getProtocol() - Method in interface org.pac4j.core.context.WebContext
-
Get the protocol version.
- getReadTimeout() - Static method in class org.pac4j.core.util.HttpUtils
-
- getRed() - Method in class org.pac4j.core.profile.Color
-
- getRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
-
Get the redirectAction computed for this client.
- getRedirectActionBuilder() - Method in class org.pac4j.core.client.IndirectClient
-
- getRedirectionUrl() - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
- getRemoteAddr() - Method in class org.pac4j.core.context.J2EContext
-
- getRemoteAddr() - Method in interface org.pac4j.core.context.WebContext
-
Return the remote address.
- getRequest() - Method in class org.pac4j.core.context.J2EContext
-
Return the HTTP request.
- getRequestAttribute(String) - Method in class org.pac4j.core.context.J2EContext
-
- getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request attribute.
- getRequestContent() - Method in class org.pac4j.core.context.J2EContext
-
- getRequestContent() - Method in interface org.pac4j.core.context.WebContext
-
Gets content body of the original request.
- getRequestCookies() - Method in class org.pac4j.core.context.J2EContext
-
- getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
-
Retrieves request cookies.
- getRequestHeader(String) - Method in class org.pac4j.core.context.J2EContext
-
- getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request header.
- getRequestMethod() - Method in class org.pac4j.core.context.J2EContext
-
- getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
-
Return the request method.
- getRequestParameter(String) - Method in class org.pac4j.core.context.J2EContext
-
- getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
-
Return a request parameter.
- getRequestParameters() - Method in class org.pac4j.core.context.J2EContext
-
- getRequestParameters() - Method in interface org.pac4j.core.context.WebContext
-
Return all request parameters.
- getResponse() - Method in class org.pac4j.core.context.J2EContext
-
Return the HTTP response.
- getRoles() - Method in class org.pac4j.core.profile.UserProfile
-
Get the roles of the user.
- getScheme() - Method in class org.pac4j.core.context.J2EContext
-
- getScheme() - Method in interface org.pac4j.core.context.WebContext
-
Return the scheme.
- getSecondaryAttributes() - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
- getSecure() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- getSecurityLogic() - Method in class org.pac4j.core.config.Config
-
- getSerializationHelper() - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
- getServerName() - Method in class org.pac4j.core.context.J2EContext
-
- getServerName() - Method in interface org.pac4j.core.context.WebContext
-
Return the server name.
- getServerPort() - Method in class org.pac4j.core.context.J2EContext
-
- getServerPort() - Method in interface org.pac4j.core.context.WebContext
-
Return the server port.
- getSessionStore() - Method in class org.pac4j.core.config.Config
-
- getSessionStore() - Method in class org.pac4j.core.context.J2EContext
-
- getSessionStore() - Method in interface org.pac4j.core.context.WebContext
-
Get the session store.
- getSize() - Method in class org.pac4j.core.store.GuavaStore
-
- getSplitChar() - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
- getStore() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- getSubject() - Method in class org.pac4j.core.profile.jwt.AbstractJwtProfile
-
- getTimeout() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- getTimeout() - Method in class org.pac4j.core.store.GuavaStore
-
- getTimeUnit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- getTimeUnit() - Method in class org.pac4j.core.store.GuavaStore
-
- getToken() - Method in class org.pac4j.core.credentials.TokenCredentials
-
- getTokenFromSession(WebContext) - Method in class org.pac4j.core.authorization.authorizer.csrf.DefaultCsrfTokenGenerator
-
- getTrackableSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- getTrackableSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
-
Get the native session as a trackable object.
- getTrustedPackages() - Method in class org.pac4j.core.util.JavaSerializationHelper
-
- getType() - Method in class org.pac4j.core.redirect.RedirectAction
-
- getTypedId() - Method in class org.pac4j.core.profile.UserProfile
-
Get the user identifier with a prefix which is the profile type (full class name with package).
- getUrlResolver() - Method in class org.pac4j.core.client.Clients
-
- getUrlResolver() - Method in class org.pac4j.core.client.IndirectClient
-
- getUsername() - Method in class org.pac4j.core.credentials.UsernamePasswordCredentials
-
- getUsername() - Method in class org.pac4j.core.profile.CommonProfile
-
Return the username of the user.
- getUsernameAttribute() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- getUsernameParameter() - Method in class org.pac4j.core.credentials.extractor.FormExtractor
-
- getUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
-
- getUserProfile(C, WebContext) - Method in interface org.pac4j.core.client.Client
-
Get the user profile based on the provided credentials.
- getUserProfile() - Method in class org.pac4j.core.credentials.Credentials
-
- getValue() - Method in class org.pac4j.core.context.Cookie
-
- getVersion() - Method in class org.pac4j.core.context.Cookie
-
- GoogleLogoutActionBuilder<U extends CommonProfile> - Class in org.pac4j.core.logout
-
Google logout action builder.
- GoogleLogoutActionBuilder() - Constructor for class org.pac4j.core.logout.GoogleLogoutActionBuilder
-
- GuavaStore<K,O> - Class in org.pac4j.core.store
-
Store data in a Guava cache.
- GuavaStore() - Constructor for class org.pac4j.core.store.GuavaStore
-
- GuavaStore(int, int, TimeUnit) - Constructor for class org.pac4j.core.store.GuavaStore
-
- ID - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
-
- IndirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
-
Indirect client: the requested protected URL is saved, the user is redirected to the identity provider for login and
back to the application after the sucessful authentication and finally to the originally requested URL.
- IndirectClient() - Constructor for class org.pac4j.core.client.IndirectClient
-
- init() - Method in class org.pac4j.core.util.InitializableObject
-
Initialize the object.
- InitializableObject - Class in org.pac4j.core.util
-
Object that can be (re-)initialized.
- InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
-
- InMemoryProfileService<U extends CommonProfile> - Class in org.pac4j.core.profile.service
-
In-memory profile service.
- InMemoryProfileService(Function<Object[], U>) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
-
- InMemoryProfileService(Map<String, Map<String, Object>>, Function<Object[], U>) - Constructor for class org.pac4j.core.profile.service.InMemoryProfileService
-
- insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Insert the attributes in the storage.
- insert(Map<String, Object>) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
-
- INSTANCE - Static variable in class org.pac4j.core.client.direct.AnonymousClient
-
- INSTANCE - Static variable in class org.pac4j.core.credentials.AnonymousCredentials
-
- INSTANCE - Static variable in class org.pac4j.core.http.adapter.J2ENopHttpActionAdapter
-
- INSTANCE - Static variable in class org.pac4j.core.logout.NoLogoutActionBuilder
-
- INSTANCE - Static variable in class org.pac4j.core.profile.AnonymousProfile
-
- INSTANCE - Static variable in class org.pac4j.core.profile.creator.AuthenticatorProfileCreator
-
- INTEGER - Static variable in class org.pac4j.core.profile.converter.Converters
-
- IntegerConverter - Class in org.pac4j.core.profile.converter
-
This class converts a String into an Integer or returns the Integer in input.
- IntegerConverter() - Constructor for class org.pac4j.core.profile.converter.IntegerConverter
-
- InternalAttributeHandler - Class in org.pac4j.core.profile
-
Internally handles attributes (set / get).
- InternalAttributeHandler() - Constructor for class org.pac4j.core.profile.InternalAttributeHandler
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.AbstractAttributeConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
-
- internalConvert(Object) - Method in class org.pac4j.core.profile.converter.UrlConverter
-
- internalGet(K) - Method in class org.pac4j.core.store.AbstractStore
-
- internalGet(K) - Method in class org.pac4j.core.store.GuavaStore
-
- internalInit() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- internalInit() - Method in class org.pac4j.core.client.Clients
-
- internalInit() - Method in class org.pac4j.core.client.DirectClient
-
- internalInit() - Method in class org.pac4j.core.client.IndirectClient
-
- internalInit() - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- internalInit() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- internalInit() - Method in class org.pac4j.core.profile.service.InMemoryProfileService
-
- internalInit() - Method in class org.pac4j.core.store.AbstractStore
-
- internalInit() - Method in class org.pac4j.core.store.GuavaStore
-
- internalInit() - Method in class org.pac4j.core.util.InitializableObject
-
Internal initialization of the object.
- internalRemove(K) - Method in class org.pac4j.core.store.AbstractStore
-
- internalRemove(K) - Method in class org.pac4j.core.store.GuavaStore
-
- internalSet(K, O) - Method in class org.pac4j.core.store.AbstractStore
-
- internalSet(K, O) - Method in class org.pac4j.core.store.GuavaStore
-
- IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- IS_ANONYMOUS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "isAnonymous" authorizer.
- IS_AUTHENTICATED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "isAuthenticated" authorizer.
- IS_FULLY_AUTHENTICATED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "isFullyAuthenticated" authorizer.
- IS_REMEMBERED - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "isRemembered" authorizer.
- isAjax(WebContext) - Method in interface org.pac4j.core.http.ajax.AjaxRequestResolver
-
Whether it is an AJAX request.
- isAjax(WebContext) - Method in class org.pac4j.core.http.ajax.DefaultAjaxRequestResolver
-
- isAllAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
If all profiles are authorized.
- IsAnonymousAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
The user must be anonymous.
- IsAnonymousAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
- IsAnonymousAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
- isAnyAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
If any of the profiles is authorized.
- isAuthenticated() - Method in class org.pac4j.core.profile.ProfileManager
-
Tests if the current user is authenticated (meaning a user profile exists which is not an
AnonymousProfile
).
- IsAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
The user must be authenticated.
- IsAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
- IsAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in interface org.pac4j.core.authorization.authorizer.Authorizer
-
Checks if the user profiles and / or the current web context are authorized.
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CacheControlHeader
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
- isAuthorized(WebContext, List<U>) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XContentTypeOptionsHeader
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XFrameOptionsHeader
-
- isAuthorized(WebContext, List<CommonProfile>) - Method in class org.pac4j.core.authorization.authorizer.XSSProtectionHeader
-
- isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in interface org.pac4j.core.authorization.checker.AuthorizationChecker
-
Check whether the user is authorized.
- isAuthorized(WebContext, List<CommonProfile>, String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
- isAuthorized(WebContext, List<CommonProfile>, List<Authorizer>) - Method in class org.pac4j.core.authorization.checker.DefaultAuthorizationChecker
-
- isBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if the String is blank.
- isCached(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- isCompleteRelativeUrl() - Method in class org.pac4j.core.http.url.DefaultUrlResolver
-
- isEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if a collection is empty.
- isExpired() - Method in class org.pac4j.core.profile.CommonProfile
-
- isFailIfLinkedUserNotFound() - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- IsFullyAuthenticatedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
The user must be fully authenticated (not remembered).
- IsFullyAuthenticatedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
- IsFullyAuthenticatedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
- isGet(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
-
Whether it is a GET request.
- isHttp(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
-
Whether the request is HTTP.
- isHttpOnly() - Method in class org.pac4j.core.context.Cookie
-
- isHttps(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
-
Whether the request is HTTPS.
- isHttpsOrSecure(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
-
Whether the request is HTTPS or secure.
- isLegacyMode() - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- isNotBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if the String is not blank.
- isNotEmpty(Collection<?>) - Static method in class org.pac4j.core.util.CommonHelper
-
Return if a collection is not empty.
- isOnlyCheckPostRequest() - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- isPost(WebContext) - Static method in class org.pac4j.core.context.ContextHelper
-
Whether it is a POST request.
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAllAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAnonymousAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsAuthenticatedAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsFullyAuthenticatedAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
- isProfileAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
Whether a specific profile is authorized.
- isRemembered() - Method in class org.pac4j.core.profile.UserProfile
-
Is the user remembered?
- IsRememberedAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
The user must be authenticated and remembered.
- IsRememberedAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
- IsRememberedAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.IsRememberedAuthorizer
-
- isSecure() - Method in class org.pac4j.core.context.Cookie
-
- isSecure() - Method in class org.pac4j.core.context.J2EContext
-
- isSecure() - Method in interface org.pac4j.core.context.WebContext
-
Return whether the request is secure.
- isStringify() - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
- ISSUED_AT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
- ISSUER - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
- isTrimValue() - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- isTypedIdOf(String, Class<? extends CommonProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Indicate if the user identifier matches this kind of profile.
- Pac4jConstants - Interface in org.pac4j.core.context
-
Common constants.
- Pac4JPrincipal - Class in org.pac4j.core.profile
-
Default implementation for
Principal
based on a pac4j
UserProfile
.
- Pac4JPrincipal(CommonProfile) - Constructor for class org.pac4j.core.profile.Pac4JPrincipal
-
- ParameterExtractor - Class in org.pac4j.core.credentials.extractor
-
To extract a parameter value.
- ParameterExtractor(String) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
-
- ParameterExtractor(String, boolean, boolean) - Constructor for class org.pac4j.core.credentials.extractor.ParameterExtractor
-
- PASSWORD - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- PasswordEncoder - Interface in org.pac4j.core.credentials.password
-
Encode a password.
- PathMatcher - Class in org.pac4j.core.matching
-
Matches all request paths except whitelisted (excluded) paths.
- PathMatcher() - Constructor for class org.pac4j.core.matching.PathMatcher
-
- PathMatcher(String) - Constructor for class org.pac4j.core.matching.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.HeaderMatcher
-
- perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean, Boolean, String) - Method in interface org.pac4j.core.engine.CallbackLogic
-
Perform the callback logic.
- perform(C, Config, HttpActionAdapter<R, C>, String, Boolean, Boolean, Boolean, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- perform(C, Config, HttpActionAdapter<R, C>, String, String, Boolean, Boolean, Boolean) - Method in class org.pac4j.core.engine.DefaultLogoutLogic
-
- perform(C, Config, SecurityGrantedAccessAdapter<R, C>, HttpActionAdapter<R, C>, String, String, String, Boolean, Object...) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- perform(C, Config, HttpActionAdapter<R, C>, String, String, Boolean, Boolean, Boolean) - Method in interface org.pac4j.core.engine.LogoutLogic
-
Perform the application logout logic.
- perform(C, Config, SecurityGrantedAccessAdapter<R, C>, HttpActionAdapter<R, C>, String, String, String, Boolean, Object...) - Method in interface org.pac4j.core.engine.SecurityLogic
-
Perform the security logic.
- perform(WebContext) - Method in class org.pac4j.core.redirect.RedirectAction
-
- PICTURE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- post(String, Map<String, String>) - Static method in class org.pac4j.core.redirect.RedirectAction
-
- PREFIX - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_BOOLEAN - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_DATE - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_INT - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_LONG - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_SB64 - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- PREFIX_URI - Static variable in class org.pac4j.core.profile.InternalAttributeHandler
-
- prepare(Object) - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
Before saving the attribute into the attributes map.
- primary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a primary one and its converter.
- PROFILE_URL - Static variable in class org.pac4j.core.profile.definition.CommonProfileDefinition
-
- ProfileAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Authorizer which is valid if one of the profiles is authorized or all the profiles are authorized.
- ProfileAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
-
- ProfileCreator<C extends Credentials,U extends CommonProfile> - Interface in org.pac4j.core.profile.creator
-
- ProfileDefinition<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
-
Define a profile (its class and attributes).
- ProfileDefinition() - Constructor for class org.pac4j.core.profile.definition.ProfileDefinition
-
- ProfileDefinitionAware<P extends CommonProfile> - Class in org.pac4j.core.profile.definition
-
For classes that can set the profile definition.
- ProfileDefinitionAware() - Constructor for class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- profileFactory - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
-
- ProfileHelper - Class in org.pac4j.core.profile
-
This class is an helper for profiles.
- ProfileManager<U extends CommonProfile> - Class in org.pac4j.core.profile
-
This class is a generic way to manage the current user profile(s), i.e. the one(s) of the current authenticated user.
- ProfileManager(WebContext) - Constructor for class org.pac4j.core.profile.ProfileManager
-
- ProfileManager(WebContext, SessionStore) - Constructor for class org.pac4j.core.profile.ProfileManager
-
- profileManagerFactory - Variable in class org.pac4j.core.config.Config
-
- ProfileManagerFactoryAware<C extends WebContext> - Class in org.pac4j.core.profile
-
For classes that can set the profile manager factory.
- ProfileManagerFactoryAware() - Constructor for class org.pac4j.core.profile.ProfileManagerFactoryAware
-
- profiles - Variable in class org.pac4j.core.profile.service.InMemoryProfileService
-
- ProfileService<U extends CommonProfile> - Interface in org.pac4j.core.profile.service
-
Profile services: creation, update, delete and retrievals in the storage.
- ProfileStorageDecision<C extends WebContext> - Interface in org.pac4j.core.engine.decision
-
Defines the decisions related to load/save the profile(s) from/into the session store.
- randomString(int) - Static method in class org.pac4j.core.util.CommonHelper
-
Return a random string of a certain size.
- read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Read the list of defined attributes in the storage for key=value query.
- read(List<String>, String, String) - Method in class org.pac4j.core.profile.service.InMemoryProfileService
-
- readBody(HttpURLConnection) - Static method in class org.pac4j.core.util.HttpUtils
-
- readExternal(ObjectInput) - Method in class org.pac4j.core.profile.UserProfile
-
- redirect(WebContext) - Method in interface org.pac4j.core.client.Client
-
Redirect to the authentication provider for an indirect client.
- redirect(WebContext) - Method in class org.pac4j.core.client.DirectClient
-
- redirect(WebContext) - Method in class org.pac4j.core.client.IndirectClient
-
- redirect(WebContext, String) - Static method in exception org.pac4j.core.exception.HttpAction
-
Build a redirection.
- redirect(String) - Static method in class org.pac4j.core.redirect.RedirectAction
-
- redirect(WebContext) - Method in interface org.pac4j.core.redirect.RedirectActionBuilder
-
Return a redirect action for the web context.
- RedirectAction - Class in org.pac4j.core.redirect
-
Indicates the action when the
Client
requires a redirection to achieve user authentication.
- RedirectAction.RedirectType - Enum in org.pac4j.core.redirect
-
- RedirectActionBuilder - Interface in org.pac4j.core.redirect
-
Return a redirection to perfom.
- redirectToIdentityProvider(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Perform a redirection to start the login process of the first indirect client.
- redirectToOriginallyRequestedUrl(C, String) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- remove(boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Remove the current user profile(s).
- remove(U) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- remove(U) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Rmove a profile in the storage.
- remove(K) - Method in class org.pac4j.core.store.AbstractStore
-
- remove(K) - Method in interface org.pac4j.core.store.Store
-
Remove the value associated to the key.
- removeAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Remove an attribute by its key.
- removeAuthenticationAttribute(String) - Method in class org.pac4j.core.profile.UserProfile
-
Remove an authentication attribute by its key
- removeById(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- removeById(String) - Method in interface org.pac4j.core.profile.service.ProfileService
-
Remove a profile by its identifier in the storage.
- removeFromCache(T) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- RENEW_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
Whether the session must be renewed after login.
- renewSession(J2EContext) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- renewSession(C) - Method in interface org.pac4j.core.context.session.SessionStore
-
Renew the native session by copying all data to a new one.
- renewSession(C, Config) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- REQUESTED_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- RequireAllMatchersChecker - Class in org.pac4j.core.matching
-
Check that all matchers are satisfied.
- RequireAllMatchersChecker() - Constructor for class org.pac4j.core.matching.RequireAllMatchersChecker
-
- RequireAllPermissionsAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has all the permissions.
- RequireAllPermissionsAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
-
- RequireAllPermissionsAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
-
- RequireAllPermissionsAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
-
- RequireAllPermissionsAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllPermissionsAuthorizer
-
- RequireAllRolesAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has all the roles.
- RequireAllRolesAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
- RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
- RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
- RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAllRolesAuthorizer
-
- RequireAnyAttributeAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
This is
RequireAnyAttributeAuthorizer
which checks profile
attributes for the specified element, and optionally
may pattern-check the configured value.
- RequireAnyAttributeAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
- RequireAnyAttributeAuthorizer(String) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyAttributeAuthorizer
-
- RequireAnyPermissionAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has any of the permissions.
- RequireAnyPermissionAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
-
- RequireAnyPermissionAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
-
- RequireAnyPermissionAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
-
- RequireAnyPermissionAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyPermissionAuthorizer
-
- RequireAnyRoleAuthorizer<U extends CommonProfile> - Class in org.pac4j.core.authorization.authorizer
-
Checks an access if the user profile has any of the roles.
- RequireAnyRoleAuthorizer() - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
- RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
- RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
- RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
-
- restore(Object) - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
After retrieving the attribute from the attributes map.
- restoreOrBuildProfile(ProfileDefinition<? extends CommonProfile>, String, Map<String, Object>, Map<String, Object>, Object...) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Restore or build a profile.
- retrieveAll(boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Retrieve the map of profiles from the session or the request.
- retrieveClientName(U) - Method in class org.pac4j.core.profile.ProfileManager
-
- retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.BaseClient
-
Retrieve the credentials.
- retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
-
Retrieve a user userprofile.
- runtimeException(Exception) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
Wrap an Exception into a RuntimeException.
- sanitizeIdentifier(UserProfile, Object) - Static method in class org.pac4j.core.profile.ProfileHelper
-
Sanitize into a string identifier.
- save(boolean, U, boolean) - Method in class org.pac4j.core.profile.ProfileManager
-
Save the given user profile (replace the current one if multi profiles are not supported, add it otherwise).
- SAVE_IN_SESSION - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- saveRequestedUrl(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Save the requested url.
- saveUserProfile(C, Config, CommonProfile, boolean, boolean, boolean) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- SCHEME_HTTP - Static variable in interface org.pac4j.core.context.HttpConstants
-
- SCHEME_HTTPS - Static variable in interface org.pac4j.core.context.HttpConstants
-
- secondary(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Add an attribute as a secondary one and its converter.
- SecurityGrantedAccessAdapter<R,C extends WebContext> - Interface in org.pac4j.core.engine
-
Success adapter.
- SECURITYHEADERS - Static variable in interface org.pac4j.core.context.DefaultAuthorizers
-
The "securityheaders" authorizer.
- securityLogic - Variable in class org.pac4j.core.config.Config
-
- SecurityLogic<R,C extends WebContext> - Interface in org.pac4j.core.engine
-
Security logic to protect an url.
- SEPARATOR - Static variable in class org.pac4j.core.profile.UserProfile
-
- SERIALIZED_PROFILE - Static variable in class org.pac4j.core.profile.service.AbstractProfileService
-
- serializeToBase64(Serializable) - Method in class org.pac4j.core.util.JavaSerializationHelper
-
Serialize a Java object into a base64 String.
- serializeToBytes(Serializable) - Method in class org.pac4j.core.util.JavaSerializationHelper
-
Serialize a Java object into a bytes array.
- SESSION_ID - Static variable in interface org.pac4j.core.context.Pac4jConstants
-
- sessionStore - Variable in class org.pac4j.core.config.Config
-
- SessionStore<C extends WebContext> - Interface in org.pac4j.core.context.session
-
To store data in session.
- sessionStore - Variable in class org.pac4j.core.profile.ProfileManager
-
- set(J2EContext, String, Object) - Method in class org.pac4j.core.context.session.J2ESessionStore
-
- set(C, String, Object) - Method in interface org.pac4j.core.context.session.SessionStore
-
Save an object in the store by its key.
- set(K, O) - Method in class org.pac4j.core.store.AbstractStore
-
- set(K, O) - Method in interface org.pac4j.core.store.Store
-
Set a value by its key.
- setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.Clients
-
- setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.IndirectClient
-
- setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- setAllowCredentials(Boolean) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setAllowHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setAllowMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setAllowOrigin(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setAttributes(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
Since version 2.0 of pac4j, the profile can be saved, updated and deleted in the storage
by serializing the profile (in the serializedprofile
attribute).
- setAuthenticator(Authenticator<C>) - Method in class org.pac4j.core.client.BaseClient
-
- setAuthorizationChecker(AuthorizationChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- setAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
-
Add an authorization generator.
- setAuthorizationGenerator(AuthorizationGenerator) - Method in class org.pac4j.core.client.Clients
-
- setAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
-
- setAuthorizationGenerators(AuthorizationGenerator<U>...) - Method in class org.pac4j.core.client.BaseClient
-
- setAuthorizationGenerators(List<AuthorizationGenerator>) - Method in class org.pac4j.core.client.Clients
-
- setAuthorizationGenerators(AuthorizationGenerator...) - Method in class org.pac4j.core.client.Clients
-
- setAuthorizer(Authorizer) - Method in class org.pac4j.core.config.Config
-
- setAuthorizers(Map<String, Authorizer>) - Method in class org.pac4j.core.config.Config
-
- setCacheSize(int) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- setCallbackLogic(CallbackLogic) - Method in class org.pac4j.core.config.Config
-
- setCallbackUrl(String) - Method in class org.pac4j.core.client.Clients
-
- setCallbackUrl(String) - Method in class org.pac4j.core.client.IndirectClient
-
- setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.Clients
-
- setCallbackUrlResolver(CallbackUrlResolver) - Method in class org.pac4j.core.client.IndirectClient
-
- setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultCallbackLogic
-
- setClientFinder(ClientFinder) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- setClientName(String) - Method in class org.pac4j.core.profile.UserProfile
-
- setClientNameParameter(String) - Method in class org.pac4j.core.client.finder.DefaultSecurityClientFinder
-
- setClientNameParameter(String) - Method in class org.pac4j.core.http.callback.QueryParameterCallbackUrlResolver
-
- setClients(List<Client>) - Method in class org.pac4j.core.client.Clients
-
- setClients(Client...) - Method in class org.pac4j.core.client.Clients
-
- setClients(Clients) - Method in class org.pac4j.core.config.Config
-
- setComment(String) - Method in class org.pac4j.core.context.Cookie
-
- setCompleteRelativeUrl(boolean) - Method in class org.pac4j.core.http.url.DefaultUrlResolver
-
- setConfig(Config) - Static method in class org.pac4j.core.config.ConfigSingleton
-
- setConnectTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
-
- setCredentialsExtractor(CredentialsExtractor<C>) - Method in class org.pac4j.core.client.BaseClient
-
- setCsrfTokenGenerator(CsrfTokenGenerator) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- setCustomProperties(Map<String, Object>) - Method in class org.pac4j.core.client.BaseClient
-
- setDefaultSecurityClients(String) - Method in class org.pac4j.core.client.Clients
-
- setDelegate(Authenticator<T>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- setDelegate(PasswordService) - Method in class org.pac4j.core.credentials.password.ShiroPasswordEncoder
-
- setDomain(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- setDomain(String) - Method in class org.pac4j.core.context.Cookie
-
- setElements(Set<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- setElements(List<E>) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- setElements(E...) - Method in class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
-
- setErrorUrl(String) - Method in class org.pac4j.core.engine.AbstractExceptionAwareLogic
-
Define on which error URL the user will be redirected in case of an exception.
- setExcludedPaths(Collection<String>) - Method in class org.pac4j.core.matching.PathMatcher
-
- setExcludedPatterns(Collection<String>) - Method in class org.pac4j.core.matching.PathMatcher
-
- setExpectedValue(String) - Method in class org.pac4j.core.matching.HeaderMatcher
-
- setExposeHeaders(String) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setFailIfLinkedUserNotFound(boolean) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- setHeaderName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- setHeaderName(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- setHeaderName(String) - Method in class org.pac4j.core.matching.HeaderMatcher
-
- setHttpActionAdapter(HttpActionAdapter) - Method in class org.pac4j.core.config.Config
-
- setHttpOnly(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
-
- setId(String) - Method in class org.pac4j.core.profile.UserProfile
-
Set the identifier.
- setIdAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- setInternalAttributeHandler(InternalAttributeHandler) - Static method in class org.pac4j.core.profile.ProfileHelper
-
- setJavaSerializationHelper(JavaSerializationHelper) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- setLinkedId(String) - Method in class org.pac4j.core.profile.UserProfile
-
- setLogoutActionBuilder(LogoutActionBuilder<U>) - Method in class org.pac4j.core.client.IndirectClient
-
- setLogoutLogic(LogoutLogic) - Method in class org.pac4j.core.config.Config
-
- setMatcher(Matcher) - Method in class org.pac4j.core.config.Config
-
- setMatchers(Map<String, Matcher>) - Method in class org.pac4j.core.config.Config
-
- setMatchingChecker(MatchingChecker) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- setMaxAge(int) - Method in class org.pac4j.core.authorization.authorizer.CorsAuthorizer
-
- setMaxAge(int) - Method in class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
-
- setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
-
- setMethods(Set<HttpConstants.HTTP_METHOD>) - Method in class org.pac4j.core.matching.HttpMethodMatcher
-
- setName(String) - Method in class org.pac4j.core.client.BaseClient
-
- setName(String) - Method in class org.pac4j.core.context.Cookie
-
- setOnlyCheckPostRequest(boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- setParameterName(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfAuthorizer
-
- setPasswordAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- setPasswordEncoder(PasswordEncoder) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- setPath(String) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- setPath(String) - Method in class org.pac4j.core.context.Cookie
-
- setPermissionAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
- setPermissions(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
-
- setPrefixHeader(String) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- setProfileCreator(ProfileCreator<C, U>) - Method in class org.pac4j.core.client.BaseClient
-
- setProfileDefinition(ProfileDefinition<P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinitionAware
-
- setProfileFactory(Function<Object[], P>) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
Define the way to build the profile.
- setProfileId(String) - Method in class org.pac4j.core.profile.definition.ProfileDefinition
-
- setProfileManagerFactory(Function<WebContext, ProfileManager>) - Method in class org.pac4j.core.config.Config
-
- setProfileManagerFactory(Function<C, ProfileManager>) - Method in class org.pac4j.core.profile.ProfileManagerFactoryAware
-
- setProfileService(ProfileService<U>) - Method in class org.pac4j.core.authorization.generator.LoadLinkedUserAuthorizationGenerator
-
- setProfileStorageDecision(ProfileStorageDecision) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
- setReadTimeout(int) - Static method in class org.pac4j.core.util.HttpUtils
-
- setRedirectActionBuilder(RedirectActionBuilder) - Method in class org.pac4j.core.client.IndirectClient
-
- setRedirectionUrl(String) - Method in class org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
-
- setRemembered(boolean) - Method in class org.pac4j.core.profile.UserProfile
-
Define if this profile is remembered.
- setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.J2EContext
-
- setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
-
Save a request attribute.
- setResponseContentType(String) - Method in class org.pac4j.core.context.J2EContext
-
- setResponseContentType(String) - Method in interface org.pac4j.core.context.WebContext
-
Sets the response content type.
- setResponseHeader(String, String) - Method in class org.pac4j.core.context.J2EContext
-
- setResponseHeader(String, String) - Method in interface org.pac4j.core.context.WebContext
-
Add a header to the response.
- setResponseStatus(int) - Method in class org.pac4j.core.context.J2EContext
-
- setResponseStatus(int) - Method in interface org.pac4j.core.context.WebContext
-
Set the response status.
- setRoleAttributes(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
- setRoles(Set<String>) - Method in class org.pac4j.core.profile.UserProfile
-
- setSecure(Boolean) - Method in class org.pac4j.core.authorization.authorizer.csrf.CsrfTokenGeneratorAuthorizer
-
- setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
-
- setSecurityLogic(SecurityLogic) - Method in class org.pac4j.core.config.Config
-
- setSerializationHelper(JavaSerializationHelper) - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
- setSessionStore(SessionStore) - Method in class org.pac4j.core.config.Config
-
- setSize(int) - Method in class org.pac4j.core.store.GuavaStore
-
- setSplitChar(String) - Method in class org.pac4j.core.authorization.generator.FromAttributesAuthorizationGenerator
-
- setStore(Store<T, CommonProfile>) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- setStringify(boolean) - Method in class org.pac4j.core.profile.InternalAttributeHandler
-
Define if we need to turn all attributes into strings, to properly work with CAS
(regarding Kryo serialization or service ticket validation).
- setTimeout(int) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- setTimeout(int) - Method in class org.pac4j.core.store.GuavaStore
-
- setTimeUnit(TimeUnit) - Method in class org.pac4j.core.credentials.authenticator.LocalCachingAuthenticator
-
- setTimeUnit(TimeUnit) - Method in class org.pac4j.core.store.GuavaStore
-
- setTrimValue(boolean) - Method in class org.pac4j.core.credentials.extractor.HeaderExtractor
-
- setTrustedPackages(List<String>) - Method in class org.pac4j.core.util.JavaSerializationHelper
-
- setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.Clients
-
- setUrlResolver(UrlResolver) - Method in class org.pac4j.core.client.IndirectClient
-
- setUsernameAttribute(String) - Method in class org.pac4j.core.profile.service.AbstractProfileService
-
- setUserProfile(CommonProfile) - Method in class org.pac4j.core.credentials.Credentials
-
- setValue(String) - Method in class org.pac4j.core.context.Cookie
-
- setVersion(int) - Method in class org.pac4j.core.context.Cookie
-
- ShiroPasswordEncoder - Class in org.pac4j.core.credentials.password
-
A password encoder based on PasswordService
from Apache Shiro
Add the shiro-core
dependency to use this class.
- ShiroPasswordEncoder(PasswordService) - Constructor for class org.pac4j.core.credentials.password.ShiroPasswordEncoder
-
- SpringSecurityPasswordEncoder - Class in org.pac4j.core.credentials.password
-
A password encoder based on PasswordEncoder
from the Spring
Security Crypto package.
- SpringSecurityPasswordEncoder(PasswordEncoder) - Constructor for class org.pac4j.core.credentials.password.SpringSecurityPasswordEncoder
-
- SpringSecurityPropertiesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization.generator
-
Authorization generator based on a properties file in Spring security format:
username=password,grantedAuthority[,grantedAuthority][,enabled|disabled]
- SpringSecurityPropertiesAuthorizationGenerator(Properties) - Constructor for class org.pac4j.core.authorization.generator.SpringSecurityPropertiesAuthorizationGenerator
-
- startAuthentication(C, List<Client>) - Method in class org.pac4j.core.engine.DefaultSecurityLogic
-
Return whether we must start a login process if the first client is an indirect one.
- status(int, WebContext) - Static method in exception org.pac4j.core.exception.HttpAction
-
Build a response with status.
- Store<K,O> - Interface in org.pac4j.core.store
-
Store data.
- StrictTransportSecurityHeader - Class in org.pac4j.core.authorization.authorizer
-
Strict transport security header.
- StrictTransportSecurityHeader() - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
-
- StrictTransportSecurityHeader(int) - Constructor for class org.pac4j.core.authorization.authorizer.StrictTransportSecurityHeader
-
- STRING - Static variable in class org.pac4j.core.profile.converter.Converters
-
- StringConverter - Class in org.pac4j.core.profile.converter
-
This class only keeps String objects.
- StringConverter() - Constructor for class org.pac4j.core.profile.converter.StringConverter
-
- SUBJECT - Static variable in interface org.pac4j.core.profile.jwt.JwtClaims
-
- substringAfter(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- substringBefore(String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- substringBetween(String, String, String) - Static method in class org.pac4j.core.util.CommonHelper
-
- success(String) - Static method in class org.pac4j.core.redirect.RedirectAction
-