Package org.pac4j.core.profile.creator
Class AuthenticatorProfileCreator
java.lang.Object
org.pac4j.core.profile.creator.AuthenticatorProfileCreator
- All Implemented Interfaces:
ProfileCreator
This profile creator retrieves the user profile attached in the
Credentials
.- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(CallContext ctx, Credentials credentials) Create a profile from a credentials.
-
Field Details
-
INSTANCE
ConstantINSTANCE
-
-
Constructor Details
-
AuthenticatorProfileCreator
public AuthenticatorProfileCreator()
-
-
Method Details
-
create
Create a profile from a credentials.- Specified by:
create
in interfaceProfileCreator
- Parameters:
ctx
- the contextcredentials
- the given credentials- Returns:
- the created profile (optional)
-