Class FormAccessAuthorizer

  • All Implemented Interfaces:
    org.pac4j.core.authorization.authorizer.Authorizer

    @Deprecated
    public class FormAccessAuthorizer
    extends Object
    implements org.pac4j.core.authorization.authorizer.Authorizer
    Deprecated.
    An authorizer which checks if the user has access to the form by checking the appropriate user groups, the project password or if any external client allows the access. Also the given profile types are checked against the configured authorisators.
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • FormAccessAuthorizer

        public FormAccessAuthorizer​(List<org.pac4j.core.client.Client> clients,
                                    Projekt project)
        Deprecated.
        Constructor
        Parameters:
        clients - List of allowed Clients
        project - Projekt the check the access against
    • Method Detail

      • isAuthorized

        public boolean isAuthorized​(org.pac4j.core.context.WebContext context,
                                    org.pac4j.core.context.session.SessionStore sessionStore,
                                    List<org.pac4j.core.profile.UserProfile> profiles)
        Deprecated.
        Specified by:
        isAuthorized in interface org.pac4j.core.authorization.authorizer.Authorizer