Class DynamicClients
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.client.Clients
de.xima.fc.security.pac4j.client.DynamicClients
public class DynamicClients
extends org.pac4j.core.client.Clients
Extension of the
pac4j Clients, that provide the authentication clients for a dynamic list of
clients using the client cache.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier) DynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier, boolean useDirectClient, boolean useIndirectClient) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.pac4j.core.client.Client> findClient(String name) List<org.pac4j.core.client.Client> Methods inherited from class org.pac4j.core.client.Clients
addAuthorizationGenerator, addClient, findAllClients, findClient, getAjaxRequestResolver, getAuthorizationGenerators, getCallbackUrl, getCallbackUrlResolver, getDefaultSecurityClients, getUrlResolver, internalInit, setAjaxRequestResolver, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCallbackUrl, setCallbackUrlResolver, setClients, setClients, setDefaultSecurityClients, setUrlResolver, shouldInitialize, toStringMethods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds
-
Constructor Details
-
DynamicClients
public DynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier) -
DynamicClients
public DynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier, boolean useDirectClient, boolean useIndirectClient)
-
-
Method Details
-
findClient
-
getClients
- Overrides:
getClientsin classorg.pac4j.core.client.Clients
-