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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Credentials credentials, WebContext context, SessionStore sessionStore) Create a profile from a credentials.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AuthenticatorProfileCreator
public AuthenticatorProfileCreator()
-
-
Method Details
-
create
public Optional<UserProfile> create(Credentials credentials, WebContext context, SessionStore sessionStore) Description copied from interface:ProfileCreatorCreate a profile from a credentials.- Specified by:
createin interfaceProfileCreator- Parameters:
credentials- the given credentialscontext- the web contextsessionStore- the session store- Returns:
- the created profile (optional)
-