spring-projects / spring-security

Spring Security
http://spring.io/projects/spring-security
Apache License 2.0
8.86k stars 5.92k forks source link

Can some addresses printed on the Default Security Filter Chain be hidden #16040

Closed 851543 closed 3 weeks ago

851543 commented 3 weeks ago

2024-11-05 17:41:22.348 INFO 22832 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@574f9e36, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@77db231c, org.springframework.security.web.context.SecurityContextPersistenceFilter@5ebfe7fa, org.springframework.security.web.header.HeaderWriterFilter@6a5c2d2d, org.springframework.security.web.authentication.logout.LogoutFilter@64887fbc, com.token.filter.AdminJwtTokenAuthenticationFilter@785a4557, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3ba1f56e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@56a9b662, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@60b4d934, org.springframework.security.web.session.SessionManagementFilter@903c13, org.springframework.security.web.access.ExceptionTranslationFilter@c683cf5, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6ee1ddcf]

I want to conceal O.S.S.Web How should I print the Default Security Filter Chain

jzheaux commented 3 weeks ago

Agreed, @851543, thanks for the suggestion. This was added in https://github.com/spring-projects/spring-security/pull/15096, so I'm going to close this as a duplicate.