Package de.xima.fc.security.pac4j.client
Class DirectClientFactory
- java.lang.Object
-
- de.xima.fc.security.pac4j.client.DirectClientFactory
-
public class DirectClientFactory extends Object
This factory creates generaldirect clients
forIAuthenticator
s with sensible defaults that can be used in various contexts.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEST_SIGNATURE_KEY
Deprecated.This is only used for test purposes.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<org.pac4j.core.client.Client>
forDescriptor(IClientDescriptor clientDescriptor)
-
-
-
Field Detail
-
TEST_SIGNATURE_KEY
@Deprecated public static final String TEST_SIGNATURE_KEY
Deprecated.This is only used for test purposes. Needs to be replaced by a generated/configurable secret in production *- See Also:
- Constant Field Values
-
-
Method Detail
-
forDescriptor
public static List<org.pac4j.core.client.Client> forDescriptor(IClientDescriptor clientDescriptor)
- Parameters:
clientDescriptor
- describes the client to be created.- Returns:
- The Pac4j client for authenticating a user via the given authenticator.
-
-