public class BasicAuthRegistryAuthorizer extends Object implements RegistryAuthorizer
| Constructor and Description |
|---|
BasicAuthRegistryAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
getAuthorizationHeaders(ContainerImage containerImage,
RegistryConfiguration registryConfiguration) |
RegistryConfiguration.AuthorizationType |
getType() |
public RegistryConfiguration.AuthorizationType getType()
getType in interface RegistryAuthorizerpublic org.springframework.http.HttpHeaders getAuthorizationHeaders(ContainerImage containerImage, RegistryConfiguration registryConfiguration)
getAuthorizationHeaders in interface RegistryAuthorizercontainerImage - Container Image for which authorization is required.registryConfiguration - configuration such as credentials and additional information required to obtain the
authorized headers.Copyright © 2020 Pivotal Software, Inc.. All rights reserved.