Class AuthenticatorProfileCreator

  • All Implemented Interfaces:
    ProfileCreator

    public class AuthenticatorProfileCreator
    extends java.lang.Object
    implements ProfileCreator
    This profile creator retrieves the user profile attached in the Credentials.
    Since:
    1.8.0
    Author:
    Jerome Leleu
    • Constructor Detail

      • AuthenticatorProfileCreator

        public AuthenticatorProfileCreator()
    • Method Detail

      • create

        public java.util.Optional<UserProfile> create​(Credentials credentials,
                                                      WebContext context,
                                                      SessionStore sessionStore)
        Description copied from interface: ProfileCreator
        Create a profile from a credentials.
        Specified by:
        create in interface ProfileCreator
        Parameters:
        credentials - the given credentials
        context - the web context
        sessionStore - the session store
        Returns:
        the created profile (optional)