public class AuthRegistryConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
auth |
private Map<String,Map<String,String>> |
configs |
private String |
email |
static AuthRegistryConfig |
EMPTY |
private String |
password |
private Map<String,String> |
properties |
private String |
repository |
private String |
serverAddress |
private String |
username |
| Constructor and Description |
|---|
AuthRegistryConfig(String repository,
String username,
String password,
String email,
String serverAddress)
Wrapper to support X-Registry-Config header without auth.
|
AuthRegistryConfig(String repository,
String username,
String password,
String auth,
String email,
String serverAddress)
Wrapper to support X-Registry-Config header with auth.
|
private final String repository
private final String username
private final String password
private final String auth
private final String email
private final String serverAddress
public static final AuthRegistryConfig EMPTY
public AuthRegistryConfig(String repository, String username, String password, String auth, String email, String serverAddress)
repository - Repository name (uniquely identifies the config)username - User namepassword - Password for authenticationauth - Not used but must be suppliedemail - EMAIL address of authenticated userserverAddress - The address of the repositorypublic AuthRegistryConfig(String repository, String username, String password, String email, String serverAddress)
repository - Repository name (uniquely identifies the config)username - User namepassword - Password for authenticationemail - EMAIL address of authenticated userserverAddress - The address of the repositoryCopyright © 2015. All rights reserved.