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

A

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
 
addAttribute(String, AttributeConverter<? extends Object>) - Method in class org.pac4j.core.profile.AttributesDefinition
Add an attribute as a primary one and its converter to this attributes definition.
addAttribute(String, AttributeConverter<? extends Object>, boolean) - Method in class org.pac4j.core.profile.AttributesDefinition
Add an attribute, its primary aspect and its converter to this attributes definition.
addAttribute(String, Object) - Method in class org.pac4j.core.profile.UserProfile
Add an attribute and perform conversion if necessary.
addAttributes(Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
Add attributes.
addAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
 
addAuthorizer(String, Authorizer) - 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(List<String>) - Method in class org.pac4j.core.profile.UserProfile
Add permissions.
addResponseCookie(Cookie) - Method in class org.pac4j.core.context.BaseResponseContext
 
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(List<String>) - Method in class org.pac4j.core.profile.UserProfile
Add roles.
AJAX_HEADER_NAME - Static variable in interface org.pac4j.core.context.HttpConstants
 
AJAX_HEADER_VALUE - Static variable in interface org.pac4j.core.context.HttpConstants
 
AjaxRequestResolver - Interface in org.pac4j.core.http
Compute if a HTTP request is an AJAX one.
allAttributesNames - Variable in class org.pac4j.core.profile.AttributesDefinition
 
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).
areNotEquals(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Compare two String to see if they are not equals.
assertNotBlank(String, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a String is not blank otherwise throw an TechnicalException.
assertNotNull(String, Object) - Static method in class org.pac4j.core.util.CommonHelper
Verify that an Object is not null otherwise throw an TechnicalException.
assertTrue(boolean, String) - Static method in class org.pac4j.core.util.CommonHelper
Verify that a boolean is true otherwise throw an TechnicalException.
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.
attributesConverters - Variable in class org.pac4j.core.profile.AttributesDefinition
 
AttributesDefinition - Class in org.pac4j.core.profile
This class is the definition of the attributes of a profile.
AttributesDefinition() - Constructor for class org.pac4j.core.profile.AttributesDefinition
 
AUTHENTICATE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AUTHORIZATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
AuthorizationChecker - Interface in org.pac4j.core.authorization
The way to check authorizations.
AuthorizationGenerator<U extends CommonProfile> - Interface in org.pac4j.core.authorization
Generate the authorization roles and permissions for this user profile.
Authorizer<U extends UserProfile> - Interface in org.pac4j.core.authorization
Checks if an access is authorized.
AUTHORIZER_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
authorizers - Variable in class org.pac4j.core.config.Config
 

B

BadCredentialsException - Exception in org.pac4j.core.exception
Exception for bad credentials.
BadCredentialsException(String) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BadCredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.BadCredentialsException
 
BaseClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default implementation of an authentication client (whatever the protocol).
BaseClient() - Constructor for class org.pac4j.core.client.BaseClient
 
BaseConfig - Class in org.pac4j.core.context
Deprecated. 
BaseConfig() - Constructor for class org.pac4j.core.context.BaseConfig
Deprecated.
 
BaseResponseContext - Class in org.pac4j.core.context
This class implements the methods related to the response as a POJO.
BaseResponseContext() - Constructor for class org.pac4j.core.context.BaseResponseContext
 
BooleanConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Boolean or returns the Boolean in input.
BooleanConverter() - Constructor for class org.pac4j.core.profile.converter.BooleanConverter
 
booleanConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
build(Object) - Method in interface org.pac4j.core.client.ClientsFactory
Deprecated.
Build clients from env.
build(String) - Static method in class org.pac4j.core.config.ConfigBuilder
 
build() - Method in interface org.pac4j.core.config.ConfigFactory
Build a configuration.
build() - Method in class org.pac4j.core.config.DefaultConfigFactory
Build a configuration.
build(Object, Map<String, Object>) - Method in class org.pac4j.core.profile.UserProfile
Build a profile from user identifier and attributes.
buildProfile(String, Map<String, Object>) - Static method in class org.pac4j.core.profile.ProfileHelper
Build a profile from a typed id and a map of attributes.

C

callbackUrl - Variable in class org.pac4j.core.client.IndirectClient
 
clear() - Method in interface org.pac4j.core.Clearable
Removes any sensitive or unnecessary information held in the object.
clear() - Method in class org.pac4j.core.profile.UserProfile
 
Clearable - Interface in org.pac4j.core
Implementing classes have the ability to clear out sensitive or unnecessary information.
Client<C extends Credentials,U extends UserProfile> - Interface in org.pac4j.core.client
This interface is the core of pac4j.
CLIENT_NAME - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
ClientFinder - Interface in org.pac4j.core.client
The way to find the client.
Clients - Class in org.pac4j.core.client
This class is made to group multiple clients using a specific parameter to distinguish them, generally on one callback url.
Clients() - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, List<Client>) - Constructor for class org.pac4j.core.client.Clients
 
Clients(String, Client...) - Constructor for class org.pac4j.core.client.Clients
 
Clients(List<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
 
ClientsFactory - Interface in org.pac4j.core.client
Deprecated. 
ClientType - Enum in org.pac4j.core.client
This enum lists all available client types.
clone() - Method in class org.pac4j.core.client.BaseClient
Clone the current client.
code - Variable in exception org.pac4j.core.exception.RequiresHttpAction
 
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
 
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
 
colorConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
ColorSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for Color.
ColorSerializer() - Constructor for class org.pac4j.core.kryo.ColorSerializer
 
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
 
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
 
Config - Class in org.pac4j.core.config
A basic configuration with clients and authorizers.
Config() - Constructor for class org.pac4j.core.config.Config
 
Config(Clients) - 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 - 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
 
CONTENT_TYPE_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
context - Variable in class org.pac4j.core.profile.ProfileManager
 
convert(String, Object) - Method in class org.pac4j.core.profile.AttributesDefinition
Convert an attribute into the right type.
convert(Object) - Method in interface org.pac4j.core.profile.converter.AttributeConverter
Convert an attribute to a specific type T.
convert(Object) - Method in class org.pac4j.core.profile.converter.BooleanConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.ColorConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.DateConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.FormattedDateConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.GenderConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.GenderIntegerConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.IntegerConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.LocaleConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.LongConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.StringConverter
 
convert(Object) - Method in class org.pac4j.core.profile.converter.StringReplaceConverter
 
Converters - Class in org.pac4j.core.profile.converter
This class defines the default converters.
Converters() - Constructor for class org.pac4j.core.profile.converter.Converters
 
Cookie - Class in org.pac4j.core.context
 
Cookie(String, String) - Constructor for class org.pac4j.core.context.Cookie
 
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 exception occuring during credentials retrieval.
CredentialsException(String) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CredentialsException(Throwable) - Constructor for exception org.pac4j.core.exception.CredentialsException
 
CSRK_TOKEN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 

D

data - Variable in class org.pac4j.core.profile.RawDataObject
 
dateConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
DateConverter - Class in org.pac4j.core.profile.converter
This class converts a String (depending on a specified format) into a Date.
DateConverter(String) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.DateConverter
 
DEFAULT_CLIENT_NAME_PARAMETER - Static variable in class org.pac4j.core.client.Clients
 
DEFAULT_LOGOUT_URL_PATTERN_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_PORT - Static variable in interface org.pac4j.core.context.HttpConstants
 
DEFAULT_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DEFAULT_URL_VALUE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
DefaultAjaxRequestResolver - Class in org.pac4j.core.http
Default way to compute if a HTTP request is an AJAX one.
DefaultAjaxRequestResolver() - Constructor for class org.pac4j.core.http.DefaultAjaxRequestResolver
 
DefaultAuthorizationChecker - Class in org.pac4j.core.authorization
Default way to check the authorizations.
DefaultAuthorizationChecker() - Constructor for class org.pac4j.core.authorization.DefaultAuthorizationChecker
 
DefaultClientFinder - Class in org.pac4j.core.client
Find the right clients based on regular parameters.
DefaultClientFinder() - Constructor for class org.pac4j.core.client.DefaultClientFinder
 
DefaultConfigFactory - Class in org.pac4j.core.config
A default configuration factory.
DefaultConfigFactory(Config) - Constructor for class org.pac4j.core.config.DefaultConfigFactory
 
DefaultRolesPermissionsAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization
Grant default roles and/or permissions to a user profile.
DefaultRolesPermissionsAuthorizationGenerator(List<String>, List<String>) - Constructor for class org.pac4j.core.authorization.DefaultRolesPermissionsAuthorizationGenerator
 
DefaultRolesPermissionsAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.DefaultRolesPermissionsAuthorizationGenerator
 
DirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default direct (stateless) implementation of an authentication client (whatever the protocol).
DirectClient() - Constructor for class org.pac4j.core.client.DirectClient
 

E

ELEMENT_SEPRATOR - Static variable in interface org.pac4j.core.context.Pac4jConstants
 

F

find(Clients, WebContext, String) - Method in interface org.pac4j.core.client.ClientFinder
 
find(Clients, WebContext, String) - Method in class org.pac4j.core.client.DefaultClientFinder
 
findAllClients() - Method in class org.pac4j.core.client.Clients
Find all the clients.
findClient(WebContext) - Method in class org.pac4j.core.client.Clients
Return the right client according to the web context.
findClient(String) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific name.
findClient(Class<C>) - Method in class org.pac4j.core.client.Clients
Return the right client according to the specific class.
FORBIDDEN - Static variable in interface org.pac4j.core.context.HttpConstants
 
forbidden(String, WebContext) - Static method in exception org.pac4j.core.exception.RequiresHttpAction
Build a forbidden response.
format - Variable in class org.pac4j.core.profile.converter.DateConverter
 
FormattedDate - Class in org.pac4j.core.profile
This class represents a formatted date.
FormattedDate() - Constructor for class org.pac4j.core.profile.FormattedDate
 
FormattedDate(Date, String, Locale) - Constructor for class org.pac4j.core.profile.FormattedDate
 
FormattedDateConverter - Class in org.pac4j.core.profile.converter
This class converts a String (depending on a specified format) into a FormattedDate.
FormattedDateConverter(String) - Constructor for class org.pac4j.core.profile.converter.FormattedDateConverter
 
FormattedDateConverter(String, Locale) - Constructor for class org.pac4j.core.profile.converter.FormattedDateConverter
 
FormattedDateSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for FormattedDate.
FormattedDateSerializer() - Constructor for class org.pac4j.core.kryo.FormattedDateSerializer
 
FromAttributesAuthorizationGenerator<U extends CommonProfile> - Class in org.pac4j.core.authorization
Generate the authorization information by inspecting attributes.
FromAttributesAuthorizationGenerator(String[], String[]) - Constructor for class org.pac4j.core.authorization.FromAttributesAuthorizationGenerator
 

G

Gender - Enum in org.pac4j.core.profile
This enumeration is the gender of a user : male, female or unspecified.
genderConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
GenderConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Gender.
GenderConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.GenderConverter
 
GenderIntegerConverter - Class in org.pac4j.core.profile.converter
This class converts an Integer to a Gender.
GenderIntegerConverter(Integer, Integer) - Constructor for class org.pac4j.core.profile.converter.GenderIntegerConverter
 
generate(U) - Method in interface org.pac4j.core.authorization.AuthorizationGenerator
Generate the authorization information from and for the user profile.
generate(U) - Method in class org.pac4j.core.authorization.DefaultRolesPermissionsAuthorizationGenerator
 
generate(U) - Method in class org.pac4j.core.authorization.FromAttributesAuthorizationGenerator
 
get(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Retrieve the current user profile (from request first and then from the session if not found and requested).
getAjaxRequestResolver() - Method in class org.pac4j.core.client.IndirectClient
 
getAllAttributes() - Method in class org.pac4j.core.profile.AttributesDefinition
Return all the attributes names.
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.UserProfile
Get attributes as immutable map.
getAttributesDefinition() - Method in class org.pac4j.core.profile.UserProfile
Return the attributes definition for this user profile.
getAuthorizationGenerators() - Method in class org.pac4j.core.client.BaseClient
 
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
 
getCallbackUrl() - Method in class org.pac4j.core.client.Clients
 
getCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
 
getClientName() - Method in class org.pac4j.core.credentials.Credentials
 
getClientNameParameter() - Method in class org.pac4j.core.client.Clients
 
getClients() - Method in class org.pac4j.core.config.Config
 
getClientType() - Method in class org.pac4j.core.client.BaseClient
Return the client type.
getCode() - Method in exception org.pac4j.core.exception.HttpCommunicationException
 
getCode() - Method in exception org.pac4j.core.exception.RequiresHttpAction
Return the HTTP code.
getComment() - Method in class org.pac4j.core.context.Cookie
 
getConfig() - Static method in class org.pac4j.core.config.ConfigSingleton
 
getContent() - Method in class org.pac4j.core.client.RedirectAction
 
getContextualCallbackUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
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.IndirectClient
Get the credentials from the web context.
getDefaultLogoutUrl() - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
getDefaultSuccessUrl() - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
getDisplayName() - Method in class org.pac4j.core.profile.CommonProfile
Return the displayed name of the user.
getDomain() - Method in class org.pac4j.core.context.Cookie
 
getEmail() - Method in class org.pac4j.core.profile.CommonProfile
Return the email of the user.
getErrorPage401() - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
getErrorPage403() - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
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.
getFormat() - Method in class org.pac4j.core.profile.FormattedDate
 
getFullRequestURL() - Method in class org.pac4j.core.context.J2EContext
Return the full URL (with query string) the client used to request the server.
getFullRequestURL() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the full URL (with query string) the client used to request the server.
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
 
getId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier.
getInputStreamFromName(String) - Static method in class org.pac4j.core.util.CommonHelper
Returns an InputStream from given name depending on its format: - loads from the classloader if name starts with "resource:" - loads as FileInputStream otherwise
getLocale() - Method in class org.pac4j.core.profile.CommonProfile
Return the locale of the user.
getLocale() - Method in class org.pac4j.core.profile.FormattedDate
 
getLocation() - Method in class org.pac4j.core.client.RedirectAction
 
getLocation() - Method in class org.pac4j.core.profile.CommonProfile
Return the location of the user.
getLogoutUrlPattern() - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
getMaxAge() - Method in class org.pac4j.core.context.Cookie
 
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
 
getOtherAttributes() - Method in class org.pac4j.core.profile.AttributesDefinition
Return the other attributes names.
getPath() - Method in class org.pac4j.core.context.Cookie
 
getPermissions() - Method in class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
getPermissions() - Method in class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
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.
getPrincipalAttributes() - Method in class org.pac4j.core.profile.AttributesDefinition
Return the principal attributes names.
getProfileUrl() - Method in class org.pac4j.core.profile.CommonProfile
Return the url of the profile of the user.
getRed() - Method in class org.pac4j.core.profile.Color
 
getRedirectAction(WebContext, boolean) - Method in class org.pac4j.core.client.IndirectClient
Get the redirectAction computed for this client.
getRedirectionUrl(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Return the redirection url to the provider, requested from an anonymous page.
getRemoteAddr() - Method in class org.pac4j.core.context.J2EContext
Return the remote address.
getRemoteAddr() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the remote address.
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.
getRequest() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the HTTP request.
getRequestAttribute(String) - Method in class org.pac4j.core.context.J2EContext
Return a request attribute.
getRequestAttribute(String) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return a request attribute.
getRequestAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Return a request attribute.
getRequestCookies() - Method in class org.pac4j.core.context.J2EContext
 
getRequestCookies() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
 
getRequestCookies() - Method in interface org.pac4j.core.context.WebContext
Retrieves request cookies.
getRequestHeader(String) - Method in class org.pac4j.core.context.J2EContext
Return a request header.
getRequestHeader(String) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return a request header.
getRequestHeader(String) - Method in interface org.pac4j.core.context.WebContext
Return a request header.
getRequestMethod() - Method in class org.pac4j.core.context.J2EContext
Return the request method.
getRequestMethod() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the request method.
getRequestMethod() - Method in interface org.pac4j.core.context.WebContext
Return the request method.
getRequestParameter(String) - Method in class org.pac4j.core.context.J2EContext
Return a request parameter.
getRequestParameter(String) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return a request parameter.
getRequestParameter(String) - Method in interface org.pac4j.core.context.WebContext
Return a request parameter.
getRequestParameters() - Method in class org.pac4j.core.context.J2EContext
Return all request parameters.
getRequestParameters() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return all request parameters.
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.
getResponseContent() - Method in class org.pac4j.core.context.BaseResponseContext
 
getResponseContentType() - Method in class org.pac4j.core.context.BaseResponseContext
 
getResponseEncoding() - Method in class org.pac4j.core.context.BaseResponseContext
 
getResponseHeaders() - Method in class org.pac4j.core.context.BaseResponseContext
 
getResponseLocation() - Method in class org.pac4j.core.context.BaseResponseContext
 
getResponseStatus() - Method in class org.pac4j.core.context.BaseResponseContext
 
getRoles() - Method in class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
getRoles() - Method in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
getRoles() - Method in class org.pac4j.core.profile.UserProfile
Get the roles of the user.
getScheme() - Method in class org.pac4j.core.context.J2EContext
Return the scheme.
getScheme() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the scheme.
getScheme() - Method in interface org.pac4j.core.context.WebContext
Return the scheme.
getServerName() - Method in class org.pac4j.core.context.J2EContext
Return the server name.
getServerName() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the server name.
getServerName() - Method in interface org.pac4j.core.context.WebContext
Return the server name.
getServerPort() - Method in class org.pac4j.core.context.J2EContext
Return the server port.
getServerPort() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Return the server port.
getServerPort() - Method in interface org.pac4j.core.context.WebContext
Return the server port.
getSessionAttribute(String) - Method in class org.pac4j.core.context.J2EContext
Get an attribute from session.
getSessionAttribute(String) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Get an attribute from session.
getSessionAttribute(String) - Method in interface org.pac4j.core.context.WebContext
Get an attribute from session.
getSessionIdentifier() - Method in class org.pac4j.core.context.J2EContext
 
getSessionIdentifier() - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
 
getSessionIdentifier() - Method in interface org.pac4j.core.context.WebContext
Gets the session id for this context.
getSplitChar() - Method in class org.pac4j.core.authorization.FromAttributesAuthorizationGenerator
 
getStateParameter(WebContext) - Method in class org.pac4j.core.client.IndirectClient
Return the state parameter required by some security protocols like SAML or OAuth.
getType() - Method in class org.pac4j.core.client.RedirectAction
 
getTypedId() - Method in class org.pac4j.core.profile.UserProfile
Get the user identifier with a prefix which is the profile type.
getUsername() - Method in class org.pac4j.core.profile.CommonProfile
Return the username of the user.
getUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
Get the user profile based on the provided credentials.
getUserProfile(C, WebContext) - Method in interface org.pac4j.core.client.Client
Get the user profile based on the provided credentials.
getValue() - Method in class org.pac4j.core.context.Cookie
 

H

HTML_CONTENT_TYPE - Static variable in interface org.pac4j.core.context.HttpConstants
 
HttpCommunicationException - Exception in org.pac4j.core.exception
This class represents an exception which can happen during HTTP communication (with status code and message body).
HttpCommunicationException(int, String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(Throwable) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpCommunicationException(String) - Constructor for exception org.pac4j.core.exception.HttpCommunicationException
 
HttpConstants - Interface in org.pac4j.core.context
Some HTTP constants.

I

IndirectClient<C extends Credentials,U extends CommonProfile> - Class in org.pac4j.core.client
This class is the default indirect (with redirection, stateful) implementation of an authentication client (whatever the protocol).
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
This class is an object that can be (re-)initialized through the InitializableObject.init() and the InitializableObject.reinit() methods, the InitializableObject.internalInit() must be implemented in sub-classes.
InitializableObject() - Constructor for class org.pac4j.core.util.InitializableObject
 
integerConverter - 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
 
internalInit() - Method in class org.pac4j.core.client.Clients
Initialize all clients by computing callback urls if necessary.
internalInit() - Method in class org.pac4j.core.util.InitializableObject
Internal initialization of the object.
IS_AJAX - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
IS_AJAX_REQUEST - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
isAjax(WebContext) - Method in interface org.pac4j.core.http.AjaxRequestResolver
Whether it is an AJAX request.
isAjax(WebContext) - Method in class org.pac4j.core.http.DefaultAjaxRequestResolver
Whether it is an AJAX request.
isAuthenticated() - Method in class org.pac4j.core.profile.ProfileManager
Tests if the current is authenticated (meaning a user profile exists).
isAuthorized(WebContext, UserProfile, String, Map<String, Authorizer>) - Method in interface org.pac4j.core.authorization.AuthorizationChecker
 
isAuthorized(WebContext, UserProfile, List<Authorizer>) - Method in interface org.pac4j.core.authorization.AuthorizationChecker
 
isAuthorized(WebContext, U) - Method in interface org.pac4j.core.authorization.Authorizer
Checks if the user profile is authorized for the current web context.
isAuthorized(WebContext, UserProfile, String, Map<String, Authorizer>) - Method in class org.pac4j.core.authorization.DefaultAuthorizationChecker
 
isAuthorized(WebContext, UserProfile, List<Authorizer>) - Method in class org.pac4j.core.authorization.DefaultAuthorizationChecker
 
isAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
Checks if the user profile is authorized for the current web context.
isAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.RequireAllRolesAuthorizer
Checks if the user profile is authorized for the current web context.
isAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
Checks if the user profile is authorized for the current web context.
isAuthorized(WebContext, U) - Method in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
Checks if the user profile is authorized for the current web context.
isBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
Return if the String is blank.
isDirectRedirection() - Method in class org.pac4j.core.client.IndirectClient
Define if this client has a direct redirection.
isEnableContextualRedirects() - Method in class org.pac4j.core.client.IndirectClient
Returns if contextual redirects are enabled for this client
isEnforceProfileDefinition() - Static method in class org.pac4j.core.profile.ProfileHelper
 
isHttpOnly() - Method in class org.pac4j.core.context.Cookie
 
isIncludeClientNameInCallbackUrl() - Method in class org.pac4j.core.client.IndirectClient
Returns if the client name should be implicitly added to the callback url if it is not already specified
isNotBlank(String) - Static method in class org.pac4j.core.util.CommonHelper
Return if the String is not blank.
isRemembered() - Method in class org.pac4j.core.profile.UserProfile
Is the user remembered?
isRootObject() - Method in class org.pac4j.core.profile.RawDataObject
 
isSecure() - Method in class org.pac4j.core.context.Cookie
 
isTypedIdOf(String, Class<? extends UserProfile>) - Static method in class org.pac4j.core.profile.ProfileHelper
Indicate if the user identifier matches this kind of profile.

J

J2EContext - Class in org.pac4j.core.context
This implementation uses the J2E request and session.
J2EContext(HttpServletRequest, HttpServletResponse) - Constructor for class org.pac4j.core.context.J2EContext
Build a J2E context from the current HTTP request.
J2ERequestContext - Class in org.pac4j.core.context
Deprecated. 
J2ERequestContext(HttpServletRequest) - Constructor for class org.pac4j.core.context.J2ERequestContext
Deprecated.
 

K

keepRawData - Static variable in class org.pac4j.core.profile.RawDataObject
 

L

locale - Variable in class org.pac4j.core.profile.converter.DateConverter
 
localeConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
LocaleConverter - Class in org.pac4j.core.profile.converter
This class converts a String to a Locale.
LocaleConverter() - Constructor for class org.pac4j.core.profile.converter.LocaleConverter
 
LocaleSerializer - Class in org.pac4j.core.kryo
This class is a Kryo serializer for Locale.
LocaleSerializer() - Constructor for class org.pac4j.core.kryo.LocaleSerializer
 
LOCATION_HEADER - Static variable in interface org.pac4j.core.context.HttpConstants
 
logger - Variable in class org.pac4j.core.client.BaseClient
 
logger - Static variable in class org.pac4j.core.profile.converter.DateConverter
 
logger - Static variable in class org.pac4j.core.profile.UserProfile
 
logout() - Method in class org.pac4j.core.profile.ProfileManager
Perform a logout by removing the current user profile from the session as well.
LOGOUT_URL_PATTERN - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
longConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
LongConverter - Class in org.pac4j.core.profile.converter
This class converts a String into a Long or returns the Long (or Integer) in input.
LongConverter() - Constructor for class org.pac4j.core.profile.converter.LongConverter
 

M

MultipleAccountsFoundException - Exception in org.pac4j.core.exception
Exception when multiple accounts are found.
MultipleAccountsFoundException(String) - Constructor for exception org.pac4j.core.exception.MultipleAccountsFoundException
 
MultipleAccountsFoundException(Throwable) - Constructor for exception org.pac4j.core.exception.MultipleAccountsFoundException
 

N

NEEDS_CLIENT_REDIRECTION_PARAMETER - Static variable in class org.pac4j.core.client.IndirectClient
 
newClient() - Method in class org.pac4j.core.client.BaseClient
Create a new instance of the client.

O

OK - Static variable in interface org.pac4j.core.context.HttpConstants
 
ok(String, WebContext) - Static method in exception org.pac4j.core.exception.RequiresHttpAction
Build an HTTP Ok.
ok(String, WebContext, String) - Static method in exception org.pac4j.core.exception.RequiresHttpAction
Build an HTTP Ok.
org.pac4j.core - package org.pac4j.core
 
org.pac4j.core.authorization - package org.pac4j.core.authorization
 
org.pac4j.core.client - package org.pac4j.core.client
 
org.pac4j.core.config - package org.pac4j.core.config
 
org.pac4j.core.context - package org.pac4j.core.context
 
org.pac4j.core.credentials - package org.pac4j.core.credentials
 
org.pac4j.core.exception - package org.pac4j.core.exception
 
org.pac4j.core.http - package org.pac4j.core.http
 
org.pac4j.core.kryo - package org.pac4j.core.kryo
 
org.pac4j.core.profile - package org.pac4j.core.profile
 
org.pac4j.core.profile.converter - package org.pac4j.core.profile.converter
 
org.pac4j.core.util - package org.pac4j.core.util
 
otherAttributesNames - Variable in class org.pac4j.core.profile.AttributesDefinition
 

P

Pac4jConstants - Interface in org.pac4j.core.context
Common constants.
prependHostToUrlIfNotPresent(String, WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
principalAttributesNames - Variable in class org.pac4j.core.profile.AttributesDefinition
 
ProfileHelper - Class in org.pac4j.core.profile
This class is an helper for profiles.
ProfileHelper() - Constructor for class org.pac4j.core.profile.ProfileHelper
 
ProfileManager<U extends UserProfile> - Class in org.pac4j.core.profile
This class is a generic way to manage the current user profile, i.e.
ProfileManager(WebContext) - Constructor for class org.pac4j.core.profile.ProfileManager
 

R

RawDataObject - Class in org.pac4j.core.profile
This class is an object which can build from some raw data input (JSON, XML...)
RawDataObject() - Constructor for class org.pac4j.core.profile.RawDataObject
 
read(Kryo, Input, Class<Color>) - Method in class org.pac4j.core.kryo.ColorSerializer
 
read(Kryo, Input, Class<FormattedDate>) - Method in class org.pac4j.core.kryo.FormattedDateSerializer
 
read(Kryo, Input, Class<Locale>) - Method in class org.pac4j.core.kryo.LocaleSerializer
 
readExternal(ObjectInput) - Method in class org.pac4j.core.profile.UserProfile
 
redirect(WebContext, boolean) - Method in interface org.pac4j.core.client.Client
Redirect to the authentication provider for an indirect client.
redirect(WebContext, boolean) - Method in class org.pac4j.core.client.DirectClient
 
redirect(WebContext, boolean) - Method in class org.pac4j.core.client.IndirectClient
Redirect to the authentication provider by updating the WebContext accordingly.
redirect(String) - Static method in class org.pac4j.core.client.RedirectAction
 
redirect(String, WebContext, String) - Static method in exception org.pac4j.core.exception.RequiresHttpAction
Build a redirection.
RedirectAction - Class in org.pac4j.core.client
Indicates the action when the Client requires a redirection to achieve user authentication.
RedirectAction.RedirectType - Enum in org.pac4j.core.client
 
reinit() - Method in class org.pac4j.core.util.InitializableObject
Force (again) the initialization of the object.
remove(boolean) - Method in class org.pac4j.core.profile.ProfileManager
Remove the current user profile.
REQUESTED_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
REQUIRE_ALL_ROLES - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
REQUIRE_ANY_ROLE - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
RequireAllPermissionsAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization
Checks an access if the user profile has all the permissions.
RequireAllPermissionsAuthorizer() - Constructor for class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
RequireAllPermissionsAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
RequireAllRolesAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization
Checks an access if the user profile has all the roles.
RequireAllRolesAuthorizer() - Constructor for class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
RequireAllRolesAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
RequireAnyPermissionAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization
Checks an access if the user profile has any of the permissions.
RequireAnyPermissionAuthorizer() - Constructor for class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
RequireAnyPermissionAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
RequireAnyRoleAuthorizer<U extends UserProfile> - Class in org.pac4j.core.authorization
Checks an access if the user profile has any of the roles.
RequireAnyRoleAuthorizer() - Constructor for class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(String...) - Constructor for class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(List<String>) - Constructor for class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
RequireAnyRoleAuthorizer(Set<String>) - Constructor for class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
RequiresHttpAction - Exception in org.pac4j.core.exception
This exception is thrown when an additionnal HTTP action (redirect, basic auth...) is required.
RequiresHttpAction(String, int) - Constructor for exception org.pac4j.core.exception.RequiresHttpAction
 
RESOURCE_PREFIX - Static variable in class org.pac4j.core.util.CommonHelper
 
responseContent - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseContentType - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseCookies - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseEncoding - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseHeaders - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseLocation - Variable in class org.pac4j.core.context.BaseResponseContext
 
responseStatus - Variable in class org.pac4j.core.context.BaseResponseContext
 
retrieveCredentials(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
retrieveRedirectAction(WebContext) - Method in class org.pac4j.core.client.IndirectClient
 
retrieveUserProfile(C, WebContext) - Method in class org.pac4j.core.client.BaseClient
 

S

save(boolean, U) - Method in class org.pac4j.core.profile.ProfileManager
Save the given user profile as the current one.
SEPARATOR - Static variable in class org.pac4j.core.profile.UserProfile
 
SESSION_ID - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
setAjaxRequestResolver(AjaxRequestResolver) - Method in class org.pac4j.core.client.IndirectClient
 
setAuthorizationGenerator(AuthorizationGenerator<U>) - Method in class org.pac4j.core.client.BaseClient
Deprecated.
setAuthorizationGenerators(List<AuthorizationGenerator<U>>) - Method in class org.pac4j.core.client.BaseClient
 
setAuthorizers(Map<String, Authorizer>) - 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
 
setClientName(String) - Method in class org.pac4j.core.credentials.Credentials
 
setClientNameParameter(String) - 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
 
setClientsList(List<Client>) - Method in class org.pac4j.core.client.Clients
 
setComment(String) - Method in class org.pac4j.core.context.Cookie
 
setConfig(Config) - Static method in class org.pac4j.core.config.ConfigSingleton
 
setDefaultLogoutUrl(String) - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
setDefaultSuccessUrl(String) - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
setDomain(String) - Method in class org.pac4j.core.context.Cookie
 
setEnableContextualRedirects(boolean) - Method in class org.pac4j.core.client.IndirectClient
Sets whether contextual redirects are enabled for this client
setEnforceProfileDefinition(boolean) - Static method in class org.pac4j.core.profile.ProfileHelper
Set whether the profile definition (= attributes definition) should be enforced (= undefined attributes are ignored).
setErrorPage401(String) - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
setErrorPage403(String) - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
setFormat(String) - Method in class org.pac4j.core.profile.FormattedDate
 
setHttpOnly(boolean) - Method in class org.pac4j.core.context.Cookie
 
setId(Object) - Method in class org.pac4j.core.profile.UserProfile
Set the identifier and convert it if necessary.
setIncludeClientNameInCallbackUrl(boolean) - Method in class org.pac4j.core.client.IndirectClient
Sets whether the client name should be implicitly added to the callback url for this client.
setKeepRawData(boolean) - Static method in class org.pac4j.core.profile.ProfileHelper
Set whether the input data should be stored in object to be restored for CAS serialization when toString() is called.
setLocale(Locale) - Method in class org.pac4j.core.profile.FormattedDate
 
setLogoutUrlPattern(String) - Static method in class org.pac4j.core.context.BaseConfig
Deprecated.
 
setMaxAge(int) - Method in class org.pac4j.core.context.Cookie
 
setName(String) - Method in class org.pac4j.core.client.BaseClient
 
setName(String) - Method in class org.pac4j.core.context.Cookie
 
setPath(String) - Method in class org.pac4j.core.context.Cookie
 
setPermissions(Set<String>) - Method in class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
setPermissions(List<String>) - Method in class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
setPermissions(String...) - Method in class org.pac4j.core.authorization.RequireAllPermissionsAuthorizer
 
setPermissions(Set<String>) - Method in class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
setPermissions(List<String>) - Method in class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
setPermissions(String...) - Method in class org.pac4j.core.authorization.RequireAnyPermissionAuthorizer
 
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
Save a request attribute.
setRequestAttribute(String, Object) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Save a request attribute.
setRequestAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save a request attribute.
setResponseCharacterEncoding(String) - Method in class org.pac4j.core.context.BaseResponseContext
 
setResponseCharacterEncoding(String) - Method in class org.pac4j.core.context.J2EContext
 
setResponseCharacterEncoding(String) - Method in interface org.pac4j.core.context.WebContext
Sets the response encoding type.
setResponseContentType(String) - Method in class org.pac4j.core.context.BaseResponseContext
 
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.BaseResponseContext
 
setResponseHeader(String, String) - Method in class org.pac4j.core.context.J2EContext
Add a header to the response.
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.BaseResponseContext
 
setResponseStatus(int) - Method in class org.pac4j.core.context.J2EContext
Set the response status.
setResponseStatus(int) - Method in interface org.pac4j.core.context.WebContext
Set the response status.
setRoles(Set<String>) - Method in class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
setRoles(List<String>) - Method in class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
setRoles(String...) - Method in class org.pac4j.core.authorization.RequireAllRolesAuthorizer
 
setRoles(Set<String>) - Method in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
setRoles(List<String>) - Method in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
setRoles(String...) - Method in class org.pac4j.core.authorization.RequireAnyRoleAuthorizer
 
setSecure(boolean) - Method in class org.pac4j.core.context.Cookie
 
setSessionAttribute(String, Object) - Method in class org.pac4j.core.context.J2EContext
Save an attribute in session.
setSessionAttribute(String, Object) - Method in class org.pac4j.core.context.J2ERequestContext
Deprecated.
Save an attribute in session.
setSessionAttribute(String, Object) - Method in interface org.pac4j.core.context.WebContext
Save an attribute in session.
setSplitChar(String) - Method in class org.pac4j.core.authorization.FromAttributesAuthorizationGenerator
 
setValue(String) - Method in class org.pac4j.core.context.Cookie
 
STATELESS - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
stringConverter - 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
 
StringReplaceConverter - Class in org.pac4j.core.profile.converter
This class makes replacements in a String.
StringReplaceConverter(String, String) - Constructor for class org.pac4j.core.profile.converter.StringReplaceConverter
 
success(String) - Static method in class org.pac4j.core.client.RedirectAction
 

T

TARGET_URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
Deprecated.
TechnicalException - Exception in org.pac4j.core.exception
This class represents the root technical exception for the library.
TechnicalException(String) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TechnicalException(String, Throwable) - Constructor for exception org.pac4j.core.exception.TechnicalException
 
TEMP_REDIRECT - Static variable in interface org.pac4j.core.context.HttpConstants
 
toString() - Method in class org.pac4j.core.client.BaseClient
 
toString() - Method in class org.pac4j.core.client.Clients
 
toString() - Method in exception org.pac4j.core.exception.RequiresHttpAction
 
toString() - Method in class org.pac4j.core.profile.Color
 
toString() - Method in class org.pac4j.core.profile.FormattedDate
 
toString() - Method in class org.pac4j.core.profile.RawDataObject
 
toString() - Method in class org.pac4j.core.profile.UserProfile
 
toString(Class<?>, Object...) - Static method in class org.pac4j.core.util.CommonHelper
Build a normalized "toString" text for an object.

U

UNAUTHORIZED - Static variable in interface org.pac4j.core.context.HttpConstants
 
unauthorized(String, WebContext, String) - Static method in exception org.pac4j.core.exception.RequiresHttpAction
Build a basic auth popup credentials.
URL - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
urlConverter - Static variable in class org.pac4j.core.profile.converter.Converters
 
USER_PROFILE - Static variable in interface org.pac4j.core.context.Pac4jConstants
 
USERNAME - Static variable in class org.pac4j.core.profile.CommonProfile
 
UserProfile - Class in org.pac4j.core.profile
This class is the user profile retrieved from a provider after successful authentication : it's an identifier (string) and attributes (objects).
UserProfile() - Constructor for class org.pac4j.core.profile.UserProfile
 

V

valueOf(String) - Static method in enum org.pac4j.core.client.ClientType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pac4j.core.client.RedirectAction.RedirectType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.pac4j.core.profile.Gender
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.pac4j.core.client.ClientType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pac4j.core.client.RedirectAction.RedirectType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.pac4j.core.profile.Gender
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebContext - Interface in org.pac4j.core.context
This interface represents the web context to use HTTP request and session.
write(Kryo, Output, Color) - Method in class org.pac4j.core.kryo.ColorSerializer
 
write(Kryo, Output, FormattedDate) - Method in class org.pac4j.core.kryo.FormattedDateSerializer
 
write(Kryo, Output, Locale) - Method in class org.pac4j.core.kryo.LocaleSerializer
 
writeExternal(ObjectOutput) - Method in class org.pac4j.core.profile.UserProfile
 
writeResponseContent(String) - Method in class org.pac4j.core.context.BaseResponseContext
 
writeResponseContent(String) - Method in class org.pac4j.core.context.J2EContext
Write some content in the response.
writeResponseContent(String) - Method in interface org.pac4j.core.context.WebContext
Write some content in the response.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2015. All Rights Reserved.