Uses of Interface
org.pac4j.core.client.Client
-
Packages that use Client Package Description org.pac4j.core.client org.pac4j.core.client.direct org.pac4j.core.client.finder org.pac4j.core.config org.pac4j.core.engine org.pac4j.core.engine.decision -
-
Uses of Client in org.pac4j.core.client
Classes in org.pac4j.core.client that implement Client Modifier and Type Class Description class
BaseClient<C extends Credentials>
This class is the default implementation of an authentication client (whatever the mechanism).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.Methods in org.pac4j.core.client with type parameters of type Client Modifier and Type Method Description <C extends Client>
Optional<C>Clients. findClient(Class<C> clazz)
Return the right client according to the specific class.Methods in org.pac4j.core.client that return types with arguments of type Client Modifier and Type Method Description List<Client>
Clients. findAllClients()
Find all the clients.Optional<Client>
Clients. findClient(String name)
Return the right client according to the specific name.List<Client>
Clients. getClients()
Methods in org.pac4j.core.client with parameters of type Client Modifier and Type Method Description void
Clients. setClients(Client... clients)
Method parameters in org.pac4j.core.client with type arguments of type Client Modifier and Type Method Description void
Clients. setClients(List<Client> clients)
Constructors in org.pac4j.core.client with parameters of type Client Constructor Description Clients(String callbackUrl, Client client)
Clients(String callbackUrl, Client... clients)
Clients(Client client)
Clients(Client... clients)
Constructor parameters in org.pac4j.core.client with type arguments of type Client Constructor Description Clients(String callbackUrl, List<Client> clients)
Clients(List<Client> clients)
-
Uses of Client in org.pac4j.core.client.direct
Classes in org.pac4j.core.client.direct that implement Client Modifier and Type Class Description class
AnonymousClient
Anonymous client. -
Uses of Client in org.pac4j.core.client.finder
Methods in org.pac4j.core.client.finder that return types with arguments of type Client Modifier and Type Method Description List<Client>
ClientFinder. find(Clients clients, WebContext context, String clientNames)
List<Client>
DefaultCallbackClientFinder. find(Clients clients, WebContext context, String clientNames)
List<Client>
DefaultSecurityClientFinder. find(Clients clients, WebContext context, String clientNames)
-
Uses of Client in org.pac4j.core.config
Constructors in org.pac4j.core.config with parameters of type Client Constructor Description Config(String callbackUrl, Map<String,Authorizer> authorizers, Client... clients)
Config(String callbackUrl, Client client)
Config(String callbackUrl, Client... clients)
Config(String callbackUrl, Client client, Map<String,Authorizer> authorizers)
Config(Map<String,Authorizer> authorizers, Client... clients)
Config(Client client)
Config(Client... clients)
Config(Client client, Map<String,Authorizer> authorizers)
Constructor parameters in org.pac4j.core.config with type arguments of type Client Constructor Description Config(String callbackUrl, List<Client> clients)
Config(List<Client> clients)
-
Uses of Client in org.pac4j.core.engine
Method parameters in org.pac4j.core.engine with type arguments of type Client Modifier and Type Method Description protected HttpAction
DefaultSecurityLogic. forbidden(C context, List<Client> currentClients, List<UserProfile> profiles, String authorizers)
Return a forbidden error.protected HttpAction
DefaultSecurityLogic. redirectToIdentityProvider(C context, List<Client> currentClients)
Perform a redirection to start the login process of the first indirect client.protected void
DefaultSecurityLogic. saveRequestedUrl(C context, List<Client> currentClients, AjaxRequestResolver ajaxRequestResolver)
Save the requested url.protected boolean
DefaultSecurityLogic. startAuthentication(C context, List<Client> 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> currentClients)
Return an unauthorized error. -
Uses of Client in org.pac4j.core.engine.decision
Method parameters in org.pac4j.core.engine.decision with type arguments of type Client Modifier and Type Method Description boolean
AlwaysUseSessionProfileStorageDecision. mustLoadProfilesFromSession(C context, List<Client> currentClients)
boolean
DefaultProfileStorageDecision. mustLoadProfilesFromSession(C context, List<Client> currentClients)
Load the profiles from the web session if no clients are defined or if the first client is an indirect one or if the first client is the anonymous one.boolean
ProfileStorageDecision. mustLoadProfilesFromSession(C context, List<Client> currentClients)
Whether we must load the profiles from the web session.boolean
AlwaysUseSessionProfileStorageDecision. mustSaveProfileInSession(C context, List<Client> currentClients, DirectClient directClient, UserProfile profile)
boolean
DefaultProfileStorageDecision. mustSaveProfileInSession(C context, List<Client> currentClients, DirectClient directClient, UserProfile profile)
Never save the profile in session after a direct client authentication.boolean
ProfileStorageDecision. mustSaveProfileInSession(C context, List<Client> currentClients, DirectClient directClient, UserProfile profile)
Whether we must save the profile in session after the authentication of direct clients.
-