Package org.apereo.cas.mgmt.authz
Class CasRoleBasedAuthorizer
- java.lang.Object
-
- org.pac4j.core.authorization.authorizer.ProfileAuthorizer<U>
-
- org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer<E,U>
-
- org.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer<java.lang.String,U>
-
- org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer<org.pac4j.core.profile.CommonProfile>
-
- org.apereo.cas.mgmt.authz.CasRoleBasedAuthorizer
-
- All Implemented Interfaces:
org.pac4j.core.authorization.authorizer.Authorizer<org.pac4j.core.profile.CommonProfile>
public class CasRoleBasedAuthorizer extends org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer<org.pac4j.core.profile.CommonProfile>This isCasRoleBasedAuthorizer.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description CasRoleBasedAuthorizer(java.util.List<java.lang.String> roles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.profile.CommonProfile profile)-
Methods inherited from class org.pac4j.core.authorization.authorizer.RequireAnyRoleAuthorizer
check, requireAnyRole, requireAnyRole, requireAnyRole
-
Methods inherited from class org.pac4j.core.authorization.authorizer.AbstractRequireElementAuthorizer
getElements, isAuthorized, setElements, setElements, setElements
-
-
-
-
Method Detail
-
isProfileAuthorized
protected boolean isProfileAuthorized(org.pac4j.core.context.WebContext context, org.pac4j.core.profile.CommonProfile profile)- Overrides:
isProfileAuthorizedin classorg.pac4j.core.authorization.authorizer.AbstractRequireAnyAuthorizer<java.lang.String,org.pac4j.core.profile.CommonProfile>
-
-