|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContextAwareAuthScheme
This interface represents an extended authentication scheme
that requires access to HttpContext in order to
generate an authorization string.
TODO: Fix AuthScheme interface in the next major version
| Method Summary | |
|---|---|
org.apache.http.Header |
authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
Produces an authorization string for the given set of Credentials. |
| Methods inherited from interface org.apache.http.auth.AuthScheme |
|---|
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased, processChallenge |
| Method Detail |
|---|
org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.auth.AuthenticationException
Credentials.
credentials - The set of credentials to be used for athenticationrequest - The request being authenticatedcontext - HTTP context
AuthenticationException - if authorization string cannot
be generated due to an authentication failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||