JsonEncodedDockerRegistryAuthentication Class — spring-boot Architecture
Architecture documentation for the JsonEncodedDockerRegistryAuthentication class in JsonEncodedDockerRegistryAuthentication.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/JsonEncodedDockerRegistryAuthentication.java lines 33–52
class JsonEncodedDockerRegistryAuthentication implements DockerRegistryAuthentication {
@JsonIgnore
private @Nullable String authHeader;
@Override
public @Nullable String getAuthHeader() {
return this.authHeader;
}
protected void createAuthHeader() {
try {
this.authHeader = Base64.getUrlEncoder().encodeToString(SharedJsonMapper.get().writeValueAsBytes(this));
}
catch (JacksonException ex) {
throw new IllegalStateException("Error creating Docker registry authentication header", ex);
}
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free