Uses of Class
org.pac4j.core.credentials.Credentials
-
-
Uses of Credentials in org.pac4j.core.authorization.checker
Method parameters in org.pac4j.core.authorization.checker with type arguments of type Credentials Modifier and Type Method Description protected String
DefaultAuthorizationChecker. computeDefaultAuthorizers(List<Client<? extends Credentials>> clients)
-
Uses of Credentials in org.pac4j.core.client
Classes in org.pac4j.core.client with type parameters of type Credentials Modifier and Type Class Description class
BaseClient<C extends Credentials>
This class is the default implementation of an authentication client (whatever the mechanism).interface
Client<C extends Credentials>
This interface is the core class of the library.class
DirectClient<C extends Credentials>
Direct client: credentials are passed and authentication occurs for every HTTP request.class
IndirectClient<C extends Credentials>
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. -
Uses of Credentials in org.pac4j.core.client.finder
Methods in org.pac4j.core.client.finder that return types with arguments of type Credentials Modifier and Type Method Description List<Client<? extends Credentials>>
ClientFinder. find(Clients clients, WebContext context, String clientNames)
List<Client<? extends Credentials>>
DefaultCallbackClientFinder. find(Clients clients, WebContext context, String clientNames)
List<Client<? extends Credentials>>
DefaultSecurityClientFinder. find(Clients clients, WebContext context, String clientNames)
-
Uses of Credentials in org.pac4j.core.credentials
Subclasses of Credentials in org.pac4j.core.credentials Modifier and Type Class Description class
AnonymousCredentials
Anonymous credentials.class
TokenCredentials
This credentials represents a token.class
UsernamePasswordCredentials
This class represents a username and a password credentials -
Uses of Credentials in org.pac4j.core.credentials.authenticator
Classes in org.pac4j.core.credentials.authenticator with type parameters of type Credentials Modifier and Type Interface Description interface
Authenticator<C extends Credentials>
An authenticator is responsible for validatingCredentials
and should throw aCredentialsException
if the authentication fails.class
LocalCachingAuthenticator<T extends Credentials>
An authenticator that caches the result of an authentication event locally. -
Uses of Credentials in org.pac4j.core.credentials.extractor
Classes in org.pac4j.core.credentials.extractor with type parameters of type Credentials Modifier and Type Interface Description interface
CredentialsExtractor<C extends Credentials>
A credentials extractor. -
Uses of Credentials in org.pac4j.core.engine
Method parameters in org.pac4j.core.engine with type arguments of type Credentials Modifier and Type Method Description protected HttpAction
DefaultSecurityLogic. forbidden(C context, List<Client<? extends Credentials>> currentClients, List<UserProfile> profiles, String authorizers)
Return a forbidden error.protected HttpAction
DefaultSecurityLogic. redirectToIdentityProvider(C context, List<Client<? extends Credentials>> currentClients)
Perform a redirection to start the login process of the first indirect client.protected void
DefaultSecurityLogic. saveRequestedUrl(C context, List<Client<? extends Credentials>> currentClients, AjaxRequestResolver ajaxRequestResolver)
Save the requested url.protected boolean
DefaultSecurityLogic. startAuthentication(C context, List<Client<? extends Credentials>> currentClients)
Return whether we must start a login process if the first client is an indirect one.protected HttpAction
DefaultSecurityLogic. unauthorized(C context, List<Client<? extends Credentials>> currentClients)
Return an unauthorized error. -
Uses of Credentials in org.pac4j.core.matching.checker
Method parameters in org.pac4j.core.matching.checker with type arguments of type Credentials Modifier and Type Method Description protected String
DefaultMatchingChecker. computeDefaultMatchers(List<Client<? extends Credentials>> clients)
boolean
DefaultMatchingChecker. matches(WebContext context, String matchersValue, Map<String,Matcher> matchersMap, List<Client<? extends Credentials>> clients)
boolean
MatchingChecker. matches(WebContext context, String matcherNames, Map<String,Matcher> matchersMap, List<Client<? extends Credentials>> clients)
Check if the web context matches. -
Uses of Credentials in org.pac4j.core.profile.creator
Classes in org.pac4j.core.profile.creator with type parameters of type Credentials Modifier and Type Class Description class
AuthenticatorProfileCreator<C extends Credentials>
This profile creator retrieves the user profile attached in theCredentials
.interface
ProfileCreator<C extends Credentials>
This interface is responsible to create aUserProfile
from aCredentials
.
-