Home / Class/ DockerRegistryUserAuthentication Class — spring-boot Architecture

DockerRegistryUserAuthentication Class — spring-boot Architecture

Architecture documentation for the DockerRegistryUserAuthentication class in DockerRegistryUserAuthentication.java from the spring-boot codebase.

Entity Profile

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerRegistryUserAuthentication.java lines 28–66

class DockerRegistryUserAuthentication extends JsonEncodedDockerRegistryAuthentication {

	@JsonProperty
	private final String username;

	@JsonProperty
	private final String password;

	@JsonProperty("serveraddress")
	private final @Nullable String url;

	@JsonProperty
	private final @Nullable String email;

	DockerRegistryUserAuthentication(String username, String password, @Nullable String url, @Nullable String email) {
		this.username = username;
		this.password = password;
		this.url = url;
		this.email = email;
		createAuthHeader();
	}

	String getUsername() {
		return this.username;
	}

	String getPassword() {
		return this.password;
	}

	@Nullable String getUrl() {
		return this.url;
	}

	@Nullable String getEmail() {
		return this.email;
	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free