public interface SecurityManager
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(DigestResponse digestRequest)
Authenticate a digest request
|
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() |
Object authenticate(DigestResponse digestRequest)
digestRequest - DigestGeneratorObject authenticate(String user, String password)
user - password - boolean authorise(Request request, Request.Method method, Auth auth, Resource resource)
request - - the request itselfmethod - - the request methodauth - - authentication object representing the current userresource - - the resource being operated onString getRealm(String host)
- - host - the host name which has been requestedboolean isDigestAllowed()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.