@FunctionalInterface public static interface AbstractCredentialsAgent.CredentialsProvider
Modifier and Type | Method and Description |
---|---|
void |
provideCredentials(java.net.Authenticator.RequestorType requestorType,
AbstractCredentialsAgent agent,
CredentialsAgentResponse response,
java.lang.String username,
java.lang.String password,
java.lang.String host)
Fills the given response with appropriate user credentials.
|
void provideCredentials(java.net.Authenticator.RequestorType requestorType, AbstractCredentialsAgent agent, CredentialsAgentResponse response, java.lang.String username, java.lang.String password, java.lang.String host)
requestorType
- type of the entity requesting authenticationagent
- the credentials agent requesting credentialsresponse
- authentication response to fillusername
- the known username, if any. Likely to be emptypassword
- the known password, if any. Likely to be emptyhost
- the host against authentication will be performed