|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bradmcevoy.http.http11.auth.DigestAuthenticationHandler
public class DigestAuthenticationHandler
| Constructor Summary | |
|---|---|
DigestAuthenticationHandler()
|
|
DigestAuthenticationHandler(NonceProvider nonceProvider)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
authenticate(Resource r,
Request request)
Authenticate the details in the request for access to the given resource. |
java.lang.String |
getChallenge(Resource resource,
Request request)
Create a challenge for this authentication method. |
boolean |
isCompatible(Resource resource)
Returns true if this authentication handler is compatible with the given resource This is used when authorisation has failed, in generating challenge responses If you don't want to add a challenge response, return false |
boolean |
supports(Resource r,
Request request)
Returns true if this supports authenticating with the given Auth data on the given resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DigestAuthenticationHandler(NonceProvider nonceProvider)
public DigestAuthenticationHandler()
| Method Detail |
|---|
public boolean supports(Resource r,
Request request)
AuthenticationHandler
supports in interface AuthenticationHandler
public java.lang.Object authenticate(Resource r,
Request request)
AuthenticationHandler
authenticate in interface AuthenticationHandler
public java.lang.String getChallenge(Resource resource,
Request request)
AuthenticationHandler
getChallenge in interface AuthenticationHandlerpublic boolean isCompatible(Resource resource)
AuthenticationHandler
isCompatible in interface AuthenticationHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||