Skip to content

Commit 2b2eb73

Browse files
committed
Remove security properties
1 parent 9e366f0 commit 2b2eb73

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -477,32 +477,17 @@ content into your application; rather pick only the properties that you need.
477477
# ----------------------------------------
478478
# SECURITY ({sc-spring-boot-autoconfigure}/security/SecurityProperties.{sc-ext}[SecurityProperties])
479479
security.basic.authorize-mode=role # Security authorize mode to apply.
480-
security.basic.enabled=true # Enable basic authentication.
481-
security.basic.path=/** # Comma-separated list of paths to secure.
482-
security.basic.realm=Spring # HTTP basic realm name.
483-
security.enable-csrf=false # Enable Cross Site Request Forgery support.
484-
security.filter-order=0 # Security filter chain order.
485-
security.filter-dispatcher-types=ASYNC,ERROR,REQUEST # Security filter chain dispatcher types.
486-
security.headers.cache=true # Enable cache control HTTP headers.
487-
security.headers.content-security-policy= # Value for content security policy header.
488-
security.headers.content-security-policy-mode=default # Content security policy mode.
489-
security.headers.content-type=true # Enable "X-Content-Type-Options" header.
490-
security.headers.frame=true # Enable "X-Frame-Options" header.
491-
security.headers.hsts=all # HTTP Strict Transport Security (HSTS) mode (none, domain, all).
492-
security.headers.xss=true # Enable cross site scripting (XSS) protection.
493-
security.ignored= # Comma-separated list of paths to exclude from the default secured paths.
494-
security.require-ssl=false # Enable secure channel for all requests.
495-
security.sessions=stateless # Session creation policy (always, never, if_required, stateless).
496-
security.user.name=user # Default user name.
497-
security.user.password= # Password for the default user name. A random password is logged on startup by default.
498-
security.user.role=USER # Granted roles for the default user name.
480+
security.basic.enabled=true # Enable basic authentication.
481+
security.filter-order=0 # Security filter chain order.
482+
security.filter-dispatcher-types=ASYNC,ERROR,REQUEST # Security filter chain dispatcher types.
483+
security.headers.hsts=all # HTTP Strict Transport Security (HSTS) mode (none, domain, all).
484+
security.sessions=stateless # Session creation policy (always, never, if_required, stateless).
499485
500486
# SECURITY OAUTH2 CLIENT ({sc-spring-boot-autoconfigure}/security/oauth2/OAuth2ClientProperties.{sc-ext}[OAuth2ClientProperties])
501487
security.oauth2.client.client-id= # OAuth2 client id.
502488
security.oauth2.client.client-secret= # OAuth2 client secret. A random secret is generated by default
503489
504490
# SECURITY OAUTH2 RESOURCES ({sc-spring-boot-autoconfigure}/security/oauth2/resource/ResourceServerProperties.{sc-ext}[ResourceServerProperties])
505-
security.oauth2.resource.filter-order= # The order of the filter chain used to authenticate tokens.
506491
security.oauth2.resource.id= # Identifier of the resource.
507492
security.oauth2.resource.jwt.key-uri= # The URI of the JWT token. Can be set if the value is not available and the key is public.
508493
security.oauth2.resource.jwt.key-value= # The verification key of the JWT token. Can either be a symmetric secret or PEM-encoded RSA public key.
@@ -514,7 +499,6 @@ content into your application; rather pick only the properties that you need.
514499
security.oauth2.resource.user-info-uri= # URI of the user endpoint.
515500
516501
# SECURITY OAUTH2 SSO ({sc-spring-boot-autoconfigure}/security/oauth2/client/OAuth2SsoProperties.{sc-ext}[OAuth2SsoProperties])
517-
security.oauth2.sso.filter-order= # Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter
518502
security.oauth2.sso.login-path=/login # Path to the login page, i.e. the one that triggers the redirect to the OAuth2 Authorization Server
519503
520504
@@ -1210,8 +1194,6 @@ content into your application; rather pick only the properties that you need.
12101194
management.address= # Network address that the management endpoints should bind to.
12111195
management.context-path= # Management endpoint context-path. For instance `/actuator`
12121196
management.port= # Management endpoint HTTP port. Uses the same port as the application by default. Configure a different port to use management-specific SSL.
1213-
management.security.enabled=true # Enable security.
1214-
management.security.roles=ACTUATOR # Comma-separated list of roles that can access the management endpoint.
12151197
management.security.sessions=stateless # Session creating policy to use (always, never, if_required, stateless).
12161198
management.ssl.ciphers= # Supported SSL ciphers. Requires a custom management.port.
12171199
management.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store. Requires a custom management.port.

0 commit comments

Comments
 (0)