U - the user profilepublic class RequireAnyRoleAuthorizer<U extends UserProfile> extends AbstractRequireAnyAuthorizer<String,U>
elements| Constructor and Description |
|---|
RequireAnyRoleAuthorizer() |
RequireAnyRoleAuthorizer(List<String> roles) |
RequireAnyRoleAuthorizer(Set<String> roles) |
RequireAnyRoleAuthorizer(String... roles) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
check(WebContext context,
U profile,
String element) |
isAuthorizedgetElements, setElements, setElements, setElementspublic RequireAnyRoleAuthorizer()
public RequireAnyRoleAuthorizer(String... roles)
protected boolean check(WebContext context, U profile, String element)
check in class AbstractRequireElementAuthorizer<String,U extends UserProfile>Copyright © 2016. All Rights Reserved.