Exploit databaseDownload repository ZIP
GH-e1c0cf823e5eb992b65e398b6c242700
shoucheng3/codecentric__spring-boot-admin_cve-2022-46166_2-6-9
Sources for CVE-2022-46166
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files8
shoucheng3/codecentric__spring-boot-admin_cve-2022-46166_2-6-9Revision 446f1d3c1a2d
- ↑..Parent directory
- ClientProperties.java
- CloudFoundryApplicationProperties.java
- InstanceProperties.java
- ServiceHostType.java
- SpringBootAdminClientAutoConfiguration.java
- SpringBootAdminClientCloudFoundryAutoConfiguration.java
- SpringBootAdminClientEnabledCondition.java
- package-info.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
spring-boot-admin-client/src/main/java/de/codecentric/boot/admin/client/config/InstanceProperties.java
Java · 2,805 bytes/*
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package de.codecentric.boot.admin.client.config;
import java.util.LinkedHashMap;
import java.util.Map;
import javax.annotation.Nullable;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
@lombok.Data
@ConfigurationProperties(prefix = "spring.boot.admin.client.instance")
public class InstanceProperties {
/**
* Management-url to register with. Inferred at runtime, can be overridden in case the
* reachable URL is different (e.g. Docker).
*/
@Nullable
private String managementUrl;
/**
* Base url for computing the management-url to register with. The path is inferred at
* runtime, and appended to the base url.
*/
@Nullable
private String managementBaseUrl;
/**
* Client-service-URL register with. Inferred at runtime, can be overridden in case
* the reachable URL is different (e.g. Docker).
*/
@Nullable
private String serviceUrl;
/**
* Base url for computing the service-url to register with. The path is inferred at
* runtime, and appended to the base url.
*/
@Nullable
private String serviceBaseUrl;
/**
* Path for computing the service-url to register with. If not specified, defaults to
* "/"
*/
@Nullable
private String servicePath;
/**
* Client-health-URL to register with. Inferred at runtime, can be overridden in case
* the reachable URL is different (e.g. Docker). Must be unique all services registry.
*/
@Nullable
private String healthUrl;
/**
* Name to register with. Defaults to ${spring.application.name}
*/
@Value("${spring.application.name:spring-boot-application}")
private String name = "spring-boot-application";
/**
* Should the registered urls be built with server.address or with hostname.
* @deprecated Use serviceHostType instead.
*/
@Deprecated
private boolean preferIp = false;
/**
* Should the registered urls be built with server.address or with hostname.
*/
private ServiceHostType serviceHostType = ServiceHostType.CANONICAL_HOST_NAME;
/**
* Metadata that should be associated with this application
*/
private Map<String, String> metadata = new LinkedHashMap<>();
}