Class ClientsAuthorizer

java.lang.Object
org.pac4j.core.authorization.authorizer.ProfileAuthorizer
de.xima.fc.security.pac4j.authorization.authorizer.ClientsAuthorizer
All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer

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

    Constructors
    Constructor
    Description
    ClientsAuthorizer(Function<org.pac4j.core.context.WebContext, Set<String>> clientNamesSupplier, Function<org.pac4j.core.context.WebContext, String> targetExtractor)
     
  • Method Summary

    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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClientsAuthorizer

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

    • 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)