public class NullSecurityManager extends Object implements com.bradmcevoy.http.SecurityManager
Constructor and Description |
---|
NullSecurityManager() |
Modifier and Type | Method and Description |
---|---|
Object |
authenticate(com.bradmcevoy.http.http11.auth.DigestResponse digestRequest) |
Object |
authenticate(String user,
String password) |
boolean |
authorise(com.bradmcevoy.http.Request request,
com.bradmcevoy.http.Request.Method method,
com.bradmcevoy.http.Auth auth,
com.bradmcevoy.http.Resource resource) |
String |
getRealm(String host) |
boolean |
isDigestAllowed() |
void |
setRealm(String realm) |
public Object authenticate(String user, String password)
authenticate
in interface com.bradmcevoy.http.SecurityManager
public Object authenticate(com.bradmcevoy.http.http11.auth.DigestResponse digestRequest)
authenticate
in interface com.bradmcevoy.http.SecurityManager
public boolean authorise(com.bradmcevoy.http.Request request, com.bradmcevoy.http.Request.Method method, com.bradmcevoy.http.Auth auth, com.bradmcevoy.http.Resource resource)
authorise
in interface com.bradmcevoy.http.SecurityManager
public String getRealm(String host)
getRealm
in interface com.bradmcevoy.http.SecurityManager
public void setRealm(String realm)
public boolean isDigestAllowed()
isDigestAllowed
in interface com.bradmcevoy.http.SecurityManager
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.