@ConfigurationProperties(prefix="management", ignoreUnknownFields=true) public class ManagementServerProperties extends Object implements SecurityPrerequisite
ServerProperties
Modifier and Type | Class and Description |
---|---|
static class |
ManagementServerProperties.Security
Security configuration.
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_OVERRIDE_ORDER
Order after the basic authentication access control provided automatically for the
management endpoints.
|
static int |
BASIC_AUTH_ORDER
Order applied to the WebSecurityConfigurerAdapter that is used to configure basic
authentication for management endpoints.
|
Constructor and Description |
---|
ManagementServerProperties() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddApplicationContextHeader() |
InetAddress |
getAddress() |
String |
getContextPath()
Return the context path with no trailing slash (i.e.
|
Integer |
getPort()
Returns the management port or
null if the
server port should be used. |
ManagementServerProperties.Security |
getSecurity() |
void |
setAddApplicationContextHeader(boolean addApplicationContextHeader) |
void |
setAddress(InetAddress address) |
void |
setContextPath(String contextPath) |
void |
setPort(Integer port)
Sets the port of the management server, use
null if the
server port should be used. |
public static final int BASIC_AUTH_ORDER
public static final int ACCESS_OVERRIDE_ORDER
public Integer getPort()
null
if the
server port
should be used.setPort(Integer)
public void setPort(Integer port)
null
if the
server port
should be used. To disable use 0.port
- the portpublic InetAddress getAddress()
public void setAddress(InetAddress address)
public String getContextPath()
public void setContextPath(String contextPath)
public ManagementServerProperties.Security getSecurity()
public boolean getAddApplicationContextHeader()
public void setAddApplicationContextHeader(boolean addApplicationContextHeader)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.