public class AuthRegistryConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static AuthRegistryConfig |
EMPTY |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<String,Map<String,String>> |
getConfigs() |
int |
hashCode() |
String |
toString() |
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 © 2016. All rights reserved.