Class CustomAuthorizer

java.lang.Object
org.pac4j.core.authorization.authorizer.ProfileAuthorizer
com.eka.middleware.auth.pac4j.CustomAuthorizer
All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer

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

    Constructors
    Constructor
    Description
     
  • 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)
     
    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

    isAllAuthorized, isAnyAuthorized

    Methods inherited from class java.lang.Object

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

    • CustomAuthorizer

      public CustomAuthorizer()
  • Method Details

    • isAuthorized

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

      public boolean isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile)