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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
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)
-