All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jolokia.client.J4pAuthenticator Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.jolokia.client;

import org.apache.http.impl.client.HttpClientBuilder;

/**
 * Authenticator which is called during construction and which can perform
 * a different login than Basic-Authentication against the plain JolokiaUrl
 *
 * @author roland
 * @since 23.05.14
 */
public interface J4pAuthenticator {

    /**
     * Hook called before the HTTP client has been build in order to prepare
     * for authentication
     *
     * @param pBuilder the HTTP client builder
     * @param pUser user to authenticate
     * @param pPassword her password
     */
    void authenticate(HttpClientBuilder pBuilder,String pUser, String pPassword);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy