Package com.eka.middleware.auth.pac4j
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles) booleanisProfileAuthorized(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.ProfileAuthorizerisAllAuthorized, isAnyAuthorized
- 
Constructor Details- 
CustomAuthorizerpublic CustomAuthorizer()
 
- 
- 
Method Details- 
isAuthorizedpublic boolean isAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles) 
- 
isProfileAuthorizedpublic boolean isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile) 
 
-