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

    Constructors
    Constructor
    Description
    DynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier)
     
    DynamicClients(String authTarget, Supplier<List<IClientDescriptor>> clientDescriptorSupplier, boolean useDirectClient, boolean useIndirectClient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.pac4j.core.client.Client>
     
    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, toString

    Methods inherited from class org.pac4j.core.util.InitializableObject

    afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • findClient

      public Optional<org.pac4j.core.client.Client> findClient(String name)
      Overrides:
      findClient in class org.pac4j.core.client.Clients
    • getClients

      public List<org.pac4j.core.client.Client> getClients()
      Overrides:
      getClients in class org.pac4j.core.client.Clients