Home / Function/ getAuthConfigEntry() — spring-boot Function Reference

getAuthConfigEntry() — spring-boot Function Reference

Architecture documentation for the getAuthConfigEntry() function in DockerRegistryConfigAuthentication.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  7dcc8f85_39eb_99dc_9385_7e5a64ca01ea["getAuthConfigEntry()"]
  7f4bae60_5717_82eb_ecf7_3636be3e6b9e["getAuthentication()"]
  7f4bae60_5717_82eb_ecf7_3636be3e6b9e -->|calls| 7dcc8f85_39eb_99dc_9385_7e5a64ca01ea
  d59d57fe_e90e_fdc9_79e6_7e82665fba5c["equals()"]
  7dcc8f85_39eb_99dc_9385_7e5a64ca01ea -->|calls| d59d57fe_e90e_fdc9_79e6_7e82665fba5c
  style 7dcc8f85_39eb_99dc_9385_7e5a64ca01ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration/DockerRegistryConfigAuthentication.java lines 145–155

	private Map.@Nullable Entry<String, Auth> getAuthConfigEntry(@Nullable String serverUrl) {
		if (serverUrl == null) {
			return null;
		}
		for (Map.Entry<String, Auth> candidate : this.dockerConfig.getAuths().entrySet()) {
			if (candidate.getKey().equals(serverUrl) || candidate.getKey().endsWith("://" + serverUrl)) {
				return candidate;
			}
		}
		return null;
	}

Subdomains

Calls

Frequently Asked Questions

What does getAuthConfigEntry() do?
getAuthConfigEntry() is a function in the spring-boot codebase.
What does getAuthConfigEntry() call?
getAuthConfigEntry() calls 1 function(s): equals.
What calls getAuthConfigEntry()?
getAuthConfigEntry() is called by 1 function(s): getAuthentication.

Analyze Your Own Codebase

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

Try Supermodel Free