Class AuthenticationTargetGenerator

  • All Implemented Interfaces:
    org.pac4j.core.authorization.generator.AuthorizationGenerator

    public class AuthenticationTargetGenerator
    extends Object
    implements org.pac4j.core.authorization.generator.AuthorizationGenerator
    Adds the authentication target to the authentication attributes of the user profile.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH, Dresden
    • Method Detail

      • generate

        public Optional<org.pac4j.core.profile.UserProfile> generate​(org.pac4j.core.context.WebContext context,
                                                                     org.pac4j.core.context.session.SessionStore sessionStore,
                                                                     org.pac4j.core.profile.UserProfile profile)
        Specified by:
        generate in interface org.pac4j.core.authorization.generator.AuthorizationGenerator