|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Credentials provider interface can be used to provide HTTP method with a means
to request authentication credentials if no credentials have been given
or given credentials are incorrect.
| Field Summary | |
static java.lang.String |
PROVIDER
Sets the credentials provider parameter. |
| Method Summary | |
Credentials |
getCredentials(AuthScheme scheme,
java.lang.String host,
int port,
boolean proxy)
Requests additional authentication credentials. |
| Field Detail |
public static final java.lang.String PROVIDER
This parameter expects a value of type CredentialsProvider.
| Method Detail |
public Credentials getCredentials(AuthScheme scheme,
java.lang.String host,
int port,
boolean proxy)
throws CredentialsNotAvailableException
authentication credentials.
scheme - the authentication schemehost - the authentication hostport - the port of the authentication hostproxy - true if authenticating with a proxy,
false otherwise
CredentialsNotAvailableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||