U
- Type of profilepublic class AndAuthorizer<U extends CommonProfile> extends Object implements Authorizer<U>
Constructor and Description |
---|
AndAuthorizer(List<Authorizer<U>> authorizers) |
Modifier and Type | Method and Description |
---|---|
static <U extends CommonProfile> |
and(Authorizer<U>... authorizers) |
boolean |
isAuthorized(WebContext context,
List<U> profiles)
Checks if the user profiles and / or the current web context are authorized.
|
public AndAuthorizer(List<Authorizer<U>> authorizers)
public boolean isAuthorized(WebContext context, List<U> profiles)
Authorizer
isAuthorized
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.