This commit is contained in:
Stephane Nicoll 2017-09-14 19:22:37 +02:00
parent ddde3c5695
commit 5efcbad751
3 changed files with 363 additions and 314 deletions

View File

@ -874,213 +874,228 @@
} }
}, },
{ {
"name" : "jolokia.config", "name": "jolokia.config",
"type" : "java.util.Map<java.lang.String,java.lang.String>", "type": "java.util.Map<java.lang.String,java.lang.String>",
"description" : "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.", "description": "Jolokia settings. These are traditionally set using servlet parameters. Refer to\n the documentation of Jolokia for more details.",
"deprecation" : { "deprecation": {
"replacement" : "management.jolokia.config", "replacement": "management.jolokia.config",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.security.enabled", "name": "management.security.enabled",
"type" : "java.lang.Boolean", "type": "java.lang.Boolean",
"description" : "Enable security.", "description": "Enable security.",
"defaultValue" : true, "defaultValue": true,
"deprecation" : { "deprecation": {
"reason": "A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.", "reason": "A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "management.security.roles", {
"type" : "java.util.List<java.lang.String>", "name": "management.security.roles",
"description" : "Comma-separated list of roles that can access the management endpoint.", "type": "java.util.List<java.lang.String>",
"deprecation" : { "description": "Comma-separated list of roles that can access the management endpoint.",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "management.security.sessions", {
"description" : "Session creating policy for security use (always, never, if_required,\n stateless).", "name": "management.security.sessions",
"defaultValue" : "stateless", "description": "Session creating policy for security use (always, never, if_required,\n stateless).",
"deprecation" : { "defaultValue": "stateless",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.jaas.domain", "name": "management.shell.auth.jaas.domain",
"type" : "java.lang.String", "type": "java.lang.String",
"description" : "JAAS domain.", "description": "JAAS domain.",
"defaultValue" : "my-domain", "defaultValue": "my-domain",
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.key.path", "name": "management.shell.auth.key.path",
"type" : "java.lang.String", "type": "java.lang.String",
"description" : "Path to the authentication key. This should point to a valid \".pem\" file.", "description": "Path to the authentication key. This should point to a valid \".pem\" file.",
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.simple.user.name", "name": "management.shell.auth.simple.user.name",
"type" : "java.lang.String", "type": "java.lang.String",
"description" : "Login user.", "description": "Login user.",
"defaultValue" : "user", "defaultValue": "user",
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.simple.user.password", "name": "management.shell.auth.simple.user.password",
"type" : "java.lang.String", "type": "java.lang.String",
"description" : "Login password.", "description": "Login password.",
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.spring.roles", "name": "management.shell.auth.spring.roles",
"type" : "java.lang.String[]", "type": "java.lang.String[]",
"description" : "Comma-separated list of required roles to login to the CRaSH console.", "description": "Comma-separated list of required roles to login to the CRaSH console.",
"defaultValue" : [ "ACTUATOR" ], "defaultValue": [
"deprecation" : { "ACTUATOR"
"reason" : "CRaSH support is no longer available.", ],
"level" : "error" "deprecation": {
"reason": "CRaSH support is no longer available.",
"level": "error"
} }
}, },
{ {
"name" : "management.shell.auth.type", "name": "management.shell.auth.type",
"type" : "java.lang.String", "type": "java.lang.String",
"description" : "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).", "description": "Authentication type. Auto-detected according to the environment (i.e. if Spring\n Security is available, \"spring\" is used by default).",
"defaultValue" : "simple", "defaultValue": "simple",
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.command-path-patterns", "name": "management.shell.command-path-patterns",
"type" : "java.lang.String[]", "type": "java.lang.String[]",
"description" : "Patterns to use to look for commands.", "description": "Patterns to use to look for commands.",
"defaultValue" : [ "classpath*:/commands/**", "classpath*:/crash/commands/**" ], "defaultValue": [
"deprecation" : { "classpath*:/commands/**",
"reason" : "CRaSH support is no longer available.", "classpath*:/crash/commands/**"
"level" : "error" ],
"deprecation": {
"reason": "CRaSH support is no longer available.",
"level": "error"
} }
}, },
{ {
"name" : "management.shell.command-refresh-interval", "name": "management.shell.command-refresh-interval",
"type" : "java.lang.Integer", "type": "java.lang.Integer",
"description" : "Scan for changes and update the command if necessary (in seconds).", "description": "Scan for changes and update the command if necessary (in seconds).",
"defaultValue" : -1, "defaultValue": -1,
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.config-path-patterns", "name": "management.shell.config-path-patterns",
"type" : "java.lang.String[]", "type": "java.lang.String[]",
"description" : "Patterns to use to look for configurations.", "description": "Patterns to use to look for configurations.",
"defaultValue" : [ "classpath*:/crash/*" ], "defaultValue": [
"deprecation" : { "classpath*:/crash/*"
"reason" : "CRaSH support is no longer available.", ],
"level" : "error" "deprecation": {
"reason": "CRaSH support is no longer available.",
"level": "error"
} }
}, },
{ {
"name" : "management.shell.disabled-commands", "name": "management.shell.disabled-commands",
"type" : "java.lang.String[]", "type": "java.lang.String[]",
"description" : "Comma-separated list of commands to disable.", "description": "Comma-separated list of commands to disable.",
"defaultValue" : [ "jpa*", "jdbc*", "jndi*" ], "defaultValue": [
"deprecation" : { "jpa*",
"reason" : "CRaSH support is no longer available.", "jdbc*",
"level" : "error" "jndi*"
} ],
}, { "deprecation": {
"name" : "management.shell.disabled-plugins", "reason": "CRaSH support is no longer available.",
"type" : "java.lang.String[]", "level": "error"
"description" : "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.",
"defaultValue" : [ ],
"deprecation" : {
"reason" : "CRaSH support is no longer available.",
"level" : "error"
} }
}, },
{ {
"name" : "management.shell.ssh.auth-timeout", "name": "management.shell.disabled-plugins",
"type" : "java.lang.Integer", "type": "java.lang.String[]",
"description" : "Number of milliseconds after user will be prompted to login again.", "description": "Comma-separated list of plugins to disable. Certain plugins are disabled by default\n based on the environment.",
"defaultValue" : 600000, "defaultValue": [],
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
}
}, {
"name" : "management.shell.ssh.enabled",
"type" : "java.lang.Boolean",
"description" : "Enable CRaSH SSH support.",
"defaultValue" : true,
"deprecation" : {
"reason" : "CRaSH support is no longer available.",
"level" : "error"
} }
}, },
{ {
"name" : "management.shell.ssh.idle-timeout", "name": "management.shell.ssh.auth-timeout",
"type" : "java.lang.Integer", "type": "java.lang.Integer",
"description" : "Number of milliseconds after which unused connections are closed.", "description": "Number of milliseconds after user will be prompted to login again.",
"defaultValue" : 600000, "defaultValue": 600000,
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.ssh.key-path", "name": "management.shell.ssh.enabled",
"type" : "java.lang.String", "type": "java.lang.Boolean",
"description" : "Path to the SSH server key.", "description": "Enable CRaSH SSH support.",
"deprecation" : { "defaultValue": true,
"reason" : "CRaSH support is no longer available.", "deprecation": {
"level" : "error" "reason": "CRaSH support is no longer available.",
"level": "error"
} }
}, },
{ {
"name" : "management.shell.ssh.port", "name": "management.shell.ssh.idle-timeout",
"type" : "java.lang.Integer", "type": "java.lang.Integer",
"description" : "SSH port.", "description": "Number of milliseconds after which unused connections are closed.",
"defaultValue" : 2000, "defaultValue": 600000,
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "management.shell.telnet.enabled", "name": "management.shell.ssh.key-path",
"type" : "java.lang.Boolean", "type": "java.lang.String",
"description" : "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.", "description": "Path to the SSH server key.",
"defaultValue" : false, "deprecation": {
"deprecation" : { "reason": "CRaSH support is no longer available.",
"reason" : "CRaSH support is no longer available.", "level": "error"
"level" : "error"
} }
}, },
{ {
"name" : "management.shell.telnet.port", "name": "management.shell.ssh.port",
"type" : "java.lang.Integer", "type": "java.lang.Integer",
"description" : "Telnet port.", "description": "SSH port.",
"defaultValue" : 5000, "defaultValue": 2000,
"deprecation" : { "deprecation": {
"reason" : "CRaSH support is no longer available.", "reason": "CRaSH support is no longer available.",
"level" : "error" "level": "error"
}
},
{
"name": "management.shell.telnet.enabled",
"type": "java.lang.Boolean",
"description": "Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is\n available.",
"defaultValue": false,
"deprecation": {
"reason": "CRaSH support is no longer available.",
"level": "error"
}
},
{
"name": "management.shell.telnet.port",
"type": "java.lang.Integer",
"description": "Telnet port.",
"defaultValue": 5000,
"deprecation": {
"reason": "CRaSH support is no longer available.",
"level": "error"
} }
}, },
{ {

View File

@ -1,31 +1,31 @@
{"properties": [ {"properties": [
{ {
"name" : "security.basic.enabled", "name": "security.basic.enabled",
"type" : "java.lang.Boolean", "type": "java.lang.Boolean",
"description" : "Enable basic authentication.", "description": "Enable basic authentication.",
"defaultValue" : true, "defaultValue": true,
"deprecation" : { "deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "security.filter-dispatcher-types", "name": "security.filter-dispatcher-types",
"type" : "java.util.Set<java.lang.String>", "type": "java.util.Set<java.lang.String>",
"description" : "Security filter chain dispatcher types.", "description": "Security filter chain dispatcher types.",
"deprecation" : { "deprecation": {
"replacement" : "spring.security.filter.dispatcher-types", "replacement": "spring.security.filter.dispatcher-types",
"level" : "error" "level": "error"
} }
}, },
{ {
"name" : "security.filter-order", "name": "security.filter-order",
"type" : "java.lang.Integer", "type": "java.lang.Integer",
"description" : "Security filter chain order.", "description": "Security filter chain order.",
"defaultValue" : 0, "defaultValue": 0,
"deprecation" : { "deprecation": {
"replacement" : "spring.security.filter.order", "replacement": "spring.security.filter.order",
"level" : "error" "level": "error"
} }
}, },
{ {
@ -171,7 +171,9 @@
}, },
{ {
"name": "spring.elasticsearch.jest.uris", "name": "spring.elasticsearch.jest.uris",
"defaultValue": ["http://localhost:9200"] "defaultValue": [
"http://localhost:9200"
]
}, },
{ {
"name": "spring.http.encoding.enabled", "name": "spring.http.encoding.enabled",
@ -382,7 +384,11 @@
}, },
{ {
"name": "spring.security.filter.dispatcher-types", "name": "spring.security.filter.dispatcher-types",
"defaultValue": ["async", "error", "request"] "defaultValue": [
"async",
"error",
"request"
]
}, },
{ {
"name": "spring.session.hazelcast.flush-mode", "name": "spring.session.hazelcast.flush-mode",
@ -390,7 +396,11 @@
}, },
{ {
"name": "spring.session.servlet.filter-dispatcher-types", "name": "spring.session.servlet.filter-dispatcher-types",
"defaultValue": ["async", "error", "request"] "defaultValue": [
"async",
"error",
"request"
]
}, },
{ {
"name": "spring.session.redis.flush-mode", "name": "spring.session.redis.flush-mode",
@ -403,18 +413,19 @@
"defaultValue": false "defaultValue": false
}, },
{ {
"name" : "flyway.baseline-description", "name": "flyway.baseline-description",
"type" : "java.lang.String", "type": "java.lang.String",
"deprecation" : { "deprecation": {
"replacement" : "spring.flyway.baseline-description", "replacement": "spring.flyway.baseline-description",
"level" : "error" "level": "error"
} }
}, { },
"name" : "flyway.baseline-on-migrate", {
"type" : "java.lang.Boolean", "name": "flyway.baseline-on-migrate",
"deprecation" : { "type": "java.lang.Boolean",
"replacement" : "spring.flyway.baseline-on-migrate", "deprecation": {
"level" : "error" "replacement": "spring.flyway.baseline-on-migrate",
"level": "error"
} }
}, },
{ {
@ -744,167 +755,187 @@
} }
}, },
{ {
"name" : "security.basic.authorize-mode", "name": "security.basic.authorize-mode",
"description" : "Security authorize mode to apply.", "description": "Security authorize mode to apply.",
"defaultValue" : "role", "defaultValue": "role",
"deprecation" : { "deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.basic.path", {
"type" : "java.lang.String[]", "name": "security.basic.path",
"description" : "Comma-separated list of paths to secure.", "type": "java.lang.String[]",
"defaultValue" : [ "/**" ], "description": "Comma-separated list of paths to secure.",
"deprecation" : { "defaultValue": [
"/**"
],
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.basic.realm", {
"type" : "java.lang.String", "name": "security.basic.realm",
"description" : "HTTP basic realm name.", "type": "java.lang.String",
"defaultValue" : "Spring", "description": "HTTP basic realm name.",
"deprecation" : { "defaultValue": "Spring",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.enable-csrf", {
"type" : "java.lang.Boolean", "name": "security.enable-csrf",
"description" : "Enable Cross Site Request Forgery support.", "type": "java.lang.Boolean",
"defaultValue" : false, "description": "Enable Cross Site Request Forgery support.",
"deprecation" : { "defaultValue": false,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.cache", {
"type" : "java.lang.Boolean", "name": "security.headers.cache",
"description" : "Enable cache control HTTP headers.", "type": "java.lang.Boolean",
"defaultValue" : true, "description": "Enable cache control HTTP headers.",
"deprecation" : { "defaultValue": true,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.content-security-policy", {
"type" : "java.lang.String", "name": "security.headers.content-security-policy",
"description" : "Value for content security policy header.", "type": "java.lang.String",
"deprecation" : { "description": "Value for content security policy header.",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.content-security-policy-mode", {
"description" : "Content security policy mode.", "name": "security.headers.content-security-policy-mode",
"defaultValue" : "default", "description": "Content security policy mode.",
"deprecation" : { "defaultValue": "default",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.content-type", {
"type" : "java.lang.Boolean", "name": "security.headers.content-type",
"description" : "Enable \"X-Content-Type-Options\" header.", "type": "java.lang.Boolean",
"defaultValue" : true, "description": "Enable \"X-Content-Type-Options\" header.",
"deprecation" : { "defaultValue": true,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.frame", {
"type" : "java.lang.Boolean", "name": "security.headers.frame",
"description" : "Enable \"X-Frame-Options\" header.", "type": "java.lang.Boolean",
"defaultValue" : true, "description": "Enable \"X-Frame-Options\" header.",
"deprecation" : { "defaultValue": true,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.hsts", {
"description" : "HTTP Strict Transport Security (HSTS) mode (none, domain, all).", "name": "security.headers.hsts",
"defaultValue" : "all", "description": "HTTP Strict Transport Security (HSTS) mode (none, domain, all).",
"deprecation" : { "defaultValue": "all",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.headers.xss", {
"type" : "java.lang.Boolean", "name": "security.headers.xss",
"description" : "Enable cross site scripting (XSS) protection.", "type": "java.lang.Boolean",
"defaultValue" : true, "description": "Enable cross site scripting (XSS) protection.",
"deprecation" : { "defaultValue": true,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.ignored", {
"type" : "java.util.List<java.lang.String>", "name": "security.ignored",
"description" : "Comma-separated list of paths to exclude from the default secured paths.", "type": "java.util.List<java.lang.String>",
"deprecation" : { "description": "Comma-separated list of paths to exclude from the default secured paths.",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.oauth2.resource.filter-order", {
"type" : "java.lang.Integer", "name": "security.oauth2.resource.filter-order",
"description" : "The order of the filter chain used to authenticate tokens. Default puts it after\n the actuator endpoints and before the default HTTP basic filter chain (catchall).", "type": "java.lang.Integer",
"defaultValue" : 0, "description": "The order of the filter chain used to authenticate tokens. Default puts it after\n the actuator endpoints and before the default HTTP basic filter chain (catchall).",
"deprecation" : { "defaultValue": 0,
"deprecation": {
"reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.", "reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.oauth2.sso.filter-order", {
"type" : "java.lang.Integer", "name": "security.oauth2.sso.filter-order",
"description" : "Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (in\n which case the order can be provided there instead).", "type": "java.lang.Integer",
"deprecation" : { "description": "Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (in\n which case the order can be provided there instead).",
"deprecation": {
"reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.", "reason": "The security auto-configuration does no longer provide several security configurations. Their ordering is now explicit in your own security configuration.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.require-ssl", {
"type" : "java.lang.Boolean", "name": "security.require-ssl",
"description" : "Enable secure channel for all requests.", "type": "java.lang.Boolean",
"defaultValue" : false, "description": "Enable secure channel for all requests.",
"deprecation" : { "defaultValue": false,
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.sessions", {
"type" : "org.springframework.security.config.http.SessionCreationPolicy", "name": "security.sessions",
"description" : "Session creation policy (always, never, if_required, stateless).", "type": "org.springframework.security.config.http.SessionCreationPolicy",
"defaultValue" : "stateless", "description": "Session creation policy (always, never, if_required, stateless).",
"deprecation" : { "defaultValue": "stateless",
"deprecation": {
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.", "reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.user.name", {
"type" : "java.lang.String", "name": "security.user.name",
"description" : "Default user name.", "type": "java.lang.String",
"defaultValue" : "user", "description": "Default user name.",
"deprecation" : { "defaultValue": "user",
"deprecation": {
"reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.user.password", {
"type" : "java.lang.String", "name": "security.user.password",
"description" : "Password for the default user name.", "type": "java.lang.String",
"deprecation" : { "description": "Password for the default user name.",
"deprecation": {
"reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.",
"level" : "error" "level": "error"
} }
}, { },
"name" : "security.user.role", {
"type" : "java.util.List<java.lang.String>", "name": "security.user.role",
"description" : "Granted roles for the default user name.", "type": "java.util.List<java.lang.String>",
"deprecation" : { "description": "Granted roles for the default user name.",
"deprecation": {
"reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.", "reason": "The default user is no longer customizable. You can, for instance, define a bean of type UserDetailsService.",
"level" : "error" "level": "error"
} }
}, },
{ {

View File

@ -162,7 +162,9 @@
"sourceType": "org.springframework.boot.SpringApplication", "sourceType": "org.springframework.boot.SpringApplication",
"description": "Display the banner when the application runs.", "description": "Display the banner when the application runs.",
"defaultValue": true, "defaultValue": true,
"deprecation": {"replacement": "spring.main.banner-mode"} "deprecation": {
"replacement": "spring.main.banner-mode"
}
}, },
{ {
"name": "spring.main.sources", "name": "spring.main.sources",
@ -182,7 +184,9 @@
"sourceType": "org.springframework.boot.SpringApplication", "sourceType": "org.springframework.boot.SpringApplication",
"description": "Run the application in a web environment (auto-detected by default).", "description": "Run the application in a web environment (auto-detected by default).",
"deprecated": true, "deprecated": true,
"deprecation": {"replacement": "spring.main.web-application-type"} "deprecation": {
"replacement": "spring.main.web-application-type"
}
}, },
{ {
"name": "spring.output.ansi.enabled", "name": "spring.output.ansi.enabled",
@ -260,7 +264,6 @@
{ {
"value": "off" "value": "off"
} }
], ],
"providers": [ "providers": [
{ {