Class HasUserGroupAuthorizer
java.lang.Object
org.pac4j.core.authorization.authorizer.ProfileAuthorizer
org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
de.xima.fc.web.common.auth.authorizer.HasUserGroupAuthorizer
- All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer
public class HasUserGroupAuthorizer
extends org.pac4j.core.authorization.authorizer.AbstractCheckAuthenticationAuthorizer
Authorizer that checks if the user is part of the given user groups
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, List<org.pac4j.core.profile.UserProfile> profiles) protected 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.AbstractCheckAuthenticationAuthorizer
getRedirectionUrl, handleError, setRedirectionUrl, toStringMethods inherited from class org.pac4j.core.authorization.authorizer.ProfileAuthorizer
isAllAuthorized, isAnyAuthorized
-
Constructor Details
-
HasUserGroupAuthorizer
-
-
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
protected boolean isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.context.session.SessionStore sessionStore, org.pac4j.core.profile.UserProfile profile) - Specified by:
isProfileAuthorizedin classorg.pac4j.core.authorization.authorizer.ProfileAuthorizer
-