public class IpRegexpAuthorizer extends Object implements Authorizer<CommonProfile>
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
IpRegexpAuthorizer() |
IpRegexpAuthorizer(String regexpPattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthorized(WebContext context,
List<CommonProfile> profile)
Checks if the user profiles and / or the current web context are authorized.
|
void |
setRegexpPattern(String regexpPattern) |
String |
toString() |
public IpRegexpAuthorizer()
public IpRegexpAuthorizer(String regexpPattern)
public boolean isAuthorized(WebContext context, List<CommonProfile> profile)
AuthorizerisAuthorized in interface Authorizer<CommonProfile>context - the web contextprofile - the user profilespublic void setRegexpPattern(String regexpPattern)
Copyright © 2016. All rights reserved.