Class ClientsAuthorizer

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

    public class ClientsAuthorizer
    extends org.pac4j.core.authorization.authorizer.ProfileAuthorizer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isAuthorized​(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles)  
      protected boolean isProfileAuthorized​(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)  
      • Methods inherited from class org.pac4j.core.authorization.authorizer.ProfileAuthorizer

        handleError, isAllAuthorized, isAnyAuthorized
    • Constructor Detail

      • ClientsAuthorizer

        public ClientsAuthorizer​(Function<org.pac4j.core.context.WebContext,​Set<String>> clientNamesSupplier,
                                 Function<org.pac4j.core.context.WebContext,​String> targetExtractor)
    • Method Detail

      • isProfileAuthorized

        protected boolean isProfileAuthorized​(org.pac4j.core.context.WebContext context,
                                              org.pac4j.core.context.session.SessionStore sessionStore,
                                              org.pac4j.core.profile.UserProfile profile)
        Specified by:
        isProfileAuthorized in class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
      • isAuthorized

        public boolean isAuthorized​(org.pac4j.core.context.WebContext context,
                                    org.pac4j.core.context.session.SessionStore sessionStore,
                                    List<org.pac4j.core.profile.UserProfile> profiles)