Package de.xima.fc.security.pac4j.client
Class ClientFactory
- java.lang.Object
-
- de.xima.fc.security.pac4j.client.ClientFactory
-
public final class ClientFactory extends Object
Factory for creating Pac4jClient
s. This factory creates general clients forIAuthenticator
s that can be used in various contexts. You will need to set the callback URL and other settings yourself.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IAuthenticatorClients
forDescriptor(IClientDescriptor clientDescriptor)
-
-
-
Method Detail
-
forDescriptor
public static IAuthenticatorClients forDescriptor(IClientDescriptor clientDescriptor)
- Parameters:
clientDescriptor
- describes the client to be created.- Returns:
- The Pac4j client for authenticating a user via the given authenticator.
-
-