public class DefaultResourceAuthorizationManager extends Object implements MutableResourceAuthorizationManager
ResourceProxyRequestHandler. Prevent the security
issue which may occur when everything can be accessed using the proxy.| Constructor and Description |
|---|
DefaultResourceAuthorizationManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String uri)
Add a new resource uri to the set of authorized resources.
|
void |
clear()
Clear all authorized resources added previously.
|
boolean |
isAuthorized(String uri) |
Collection<String> |
list() |
public boolean isAuthorized(String uri)
isAuthorized in interface ResourceAuthorizationManageruri - of the resource to authorize.public void add(String uri)
MutableResourceAuthorizationManageradd in interface MutableResourceAuthorizationManageruri - the resource uri to authorize.public Collection<String> list()
public void clear()
MutableResourceAuthorizationManagerclear in interface MutableResourceAuthorizationManagerCopyright © 2008-2014. All Rights Reserved.