Interface AbstractCredentialsAgent.CredentialsProvider

    • Method Detail

      • provideCredentials

        void provideCredentials​(Authenticator.RequestorType requestorType,
                                AbstractCredentialsAgent agent,
                                CredentialsAgentResponse response,
                                String username,
                                String password,
                                String host)
        Fills the given response with appropriate user credentials.
        Parameters:
        requestorType - type of the entity requesting authentication
        agent - the credentials agent requesting credentials
        response - authentication response to fill
        username - the known username, if any. Likely to be empty
        password - the known password, if any. Likely to be empty
        host - the host against authentication will be performed