com.imperva.shcf4j.client.CredentialsProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shcf4j-api Show documentation
Show all versions of shcf4j-api Show documentation
The Simple HTTP Client Facade for Java (SHCF4J) serves as a simple facade or abstraction for various HTTP client frameworks (e.g. java.net.HttpURLConnection, Apache HttpClient, etc.) allowing the end user to plug in the desired HTTP client framework at deployment time.
The newest version!
package com.imperva.shcf4j.client;
import com.imperva.shcf4j.auth.AuthScope;
import com.imperva.shcf4j.auth.Credentials;
import lombok.Builder;
import lombok.Singular;
import lombok.Value;
import java.util.Map;
/**
* CredentialsProvider
*
* Basic credentials provider that maintains a collection of user
* credentials.
*
*
* @author maxim.kirilov
*/
@Builder
@Value
public class CredentialsProvider {
@Singular
private final Map credentials;
}