Utility class to get credentials information from extension of type {
| Constructor and description | 
|---|
| RegistryAuthLocator
                                (File configFile, String commandPathPrefix) | 
| RegistryAuthLocator
                                (File configFile) | 
| RegistryAuthLocator
                                ()Creates new instance | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | com.github.dockerjava.api.model.AuthConfigurations | lookupAllAuthConfigs()Gets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an empty AuthConfigurations object is returned | 
|  | com.github.dockerjava.api.model.AuthConfigurations | lookupAllAuthConfigs(DockerRegistryCredentials registryCredentials)Gets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an AuthConfigurations object containing only the passed registryCredentials is returned | 
|  | com.github.dockerjava.api.model.AuthConfigurations | lookupAllAuthConfigs(com.github.dockerjava.api.model.AuthConfig additionalAuthConfig)Gets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an AuthConfigurations object containing only the passed additionalAuthConfig is returned | 
|  | com.github.dockerjava.api.model.AuthConfig | lookupAuthConfig(String image, DockerRegistryCredentials registryCredentials)Gets authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, gets the information from the registryCredentials object | 
Creates new instance
defaultAuthConfig -  the auth config object to return
 in case not credentials foundGets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an empty AuthConfigurations object is returned
Gets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an AuthConfigurations object containing only the passed registryCredentials is returned
registryCredentials -  extension of type registryCredentialsGets all authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, an AuthConfigurations object containing only the passed additionalAuthConfig is returned
additionalAuthConfig -  An additional AuthConfig object to add to the discovered authorization information.Gets authorization information using $DOCKER_CONFIG/.docker/config.json file If missing, gets the information from the registryCredentials object
registryCredentials -  extension of type registryCredentialsimage -  the name of docker image the action to be authorized for