U - Type of profilepublic class AndAuthorizer<U extends CommonProfile> extends java.lang.Object implements Authorizer<U>
| Constructor and Description |
|---|
AndAuthorizer(java.util.List<Authorizer<U>> authorizers) |
| Modifier and Type | Method and Description |
|---|---|
static <U extends CommonProfile> |
and(Authorizer<U>... authorizers) |
boolean |
isAuthorized(WebContext context,
java.util.List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
public AndAuthorizer(java.util.List<Authorizer<U>> authorizers)
public boolean isAuthorized(WebContext context, java.util.List<U> profiles)
AuthorizerisAuthorized in interface Authorizer<U extends CommonProfile>context - the web contextprofiles - the user profilespublic static <U extends CommonProfile> Authorizer<U> and(Authorizer<U>... authorizers)
Copyright © 2019. All Rights Reserved.