public class NullSecurityManager extends Object implements SecurityManager
| Constructor and Description |
|---|
NullSecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(DigestResponse digestRequest)
Authenticate a digest request
See com.bradmcevoy.http.http11.auth.DigestGenerator
|
Object |
authenticate(String user,
String password) |
boolean |
authorise(Request request,
Request.Method method,
Auth auth,
Resource resource)
Check that the authenticater user can access the given resource for the
given method.
|
String |
getRealm(String host) |
boolean |
isDigestAllowed() |
void |
setRealm(String realm) |
public Object authenticate(String user, String password)
authenticate in interface SecurityManagerpublic Object authenticate(DigestResponse digestRequest)
SecurityManagerauthenticate in interface SecurityManagerpublic boolean authorise(Request request, Request.Method method, Auth auth, Resource resource)
SecurityManagerauthorise in interface SecurityManagerrequest - - the request itselfmethod - - the request methodauth - - authentication object representing the current userresource - - the resource being operated onpublic String getRealm(String host)
getRealm in interface SecurityManagerpublic void setRealm(String realm)
public boolean isDigestAllowed()
isDigestAllowed in interface SecurityManagerCopyright © 2021 McEvoy Software Ltd. All rights reserved.