|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticationHandler
Implementations of this interface are authentication methods for use with HTTP. These include basic, digest, ntlm etc
| Method Summary | |
|---|---|
java.lang.Object |
authenticate(Resource resource,
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. |
| Method Detail |
|---|
boolean supports(Resource r,
Request request)
r - auth -
java.lang.Object authenticate(Resource resource,
Request request)
resource - request -
java.lang.String getChallenge(Resource resource,
Request request)
resource - request -
boolean isCompatible(Resource resource)
resource -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||