Browse Source

Move Dsl files to annotation Package

Closes gh-10333
pull/9277/head
Norbert Nowak 4 years ago committed by Josh Cummings
parent
commit
4f186f2c1f
  1. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/AbstractRequestMatcherDsl.kt
  2. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/AnonymousDsl.kt
  3. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/AuthorizeRequestsDsl.kt
  4. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/CorsDsl.kt
  5. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/CsrfDsl.kt
  6. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/ExceptionHandlingDsl.kt
  7. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/FormLoginDsl.kt
  8. 4
      config/src/main/kotlin/org/springframework/security/config/annotation/web/HeadersDsl.kt
  9. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/HttpBasicDsl.kt
  10. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/HttpSecurityDsl.kt
  11. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/LogoutDsl.kt
  12. 6
      config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2ClientDsl.kt
  13. 10
      config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2LoginDsl.kt
  14. 6
      config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2ResourceServerDsl.kt
  15. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/PasswordManagementDsl.kt
  16. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/PortMapperDsl.kt
  17. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/RememberMeDsl.kt
  18. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/RequestCacheDsl.kt
  19. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt
  20. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/Saml2Dsl.kt
  21. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/SecurityMarker.kt
  22. 6
      config/src/main/kotlin/org/springframework/security/config/annotation/web/SessionManagementDsl.kt
  23. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/X509Dsl.kt
  24. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/CacheControlDsl.kt
  25. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ContentSecurityPolicyDsl.kt
  26. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ContentTypeOptionsDsl.kt
  27. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/FrameOptionsDsl.kt
  28. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HeadersSecurityMarker.kt
  29. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HttpPublicKeyPinningDsl.kt
  30. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HttpStrictTransportSecurityDsl.kt
  31. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/PermissionsPolicyDsl.kt
  32. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ReferrerPolicyDsl.kt
  33. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/XssProtectionConfigDsl.kt
  34. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/client/AuthorizationCodeGrantDsl.kt
  35. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/client/OAuth2ClientSecurityMarker.kt
  36. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/AuthorizationEndpointDsl.kt
  37. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/OAuth2LoginSecurityMarker.kt
  38. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/RedirectionEndpointDsl.kt
  39. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/TokenEndpointDsl.kt
  40. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/UserInfoEndpointDsl.kt
  41. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/JwtDsl.kt
  42. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OAuth2ResourceServerSecurityMarker.kt
  43. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OpaqueTokenDsl.kt
  44. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionConcurrencyDsl.kt
  45. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionFixationDsl.kt
  46. 2
      config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionSecurityMarker.kt
  47. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/AnonymousDslTests.kt
  48. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/AuthorizeRequestsDslTests.kt
  49. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/CorsDslTests.kt
  50. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/CsrfDslTests.kt
  51. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/ExceptionHandlingDslTests.kt
  52. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/FormLoginDslTests.kt
  53. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/HeadersDslTests.kt
  54. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/HttpBasicDslTests.kt
  55. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/HttpSecurityDslTests.kt
  56. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/LogoutDslTests.kt
  57. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2ClientDslTests.kt
  58. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2LoginDslTests.kt
  59. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2ResourceServerDslTests.kt
  60. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/PasswordManagementDslTests.kt
  61. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/PortMapperDslTests.kt
  62. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/RememberMeDslTests.kt
  63. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/RequestCacheDslTests.kt
  64. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDslTests.kt
  65. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/Saml2DslTests.kt
  66. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/SessionManagementDslTests.kt
  67. 2
      config/src/test/kotlin/org/springframework/security/config/annotation/web/X509DslTests.kt
  68. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/CacheControlDslTests.kt
  69. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ContentSecurityPolicyDslTests.kt
  70. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ContentTypeOptionsDslTests.kt
  71. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/FrameOptionsDslTests.kt
  72. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/HttpPublicKeyPinningDslTests.kt
  73. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/HttpStrictTransportSecurityDslTests.kt
  74. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ReferrerPolicyDslTests.kt
  75. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/XssProtectionConfigDslTests.kt
  76. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/client/AuthorizationCodeGrantDslTests.kt
  77. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/AuthorizationEndpointDslTests.kt
  78. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/RedirectionEndpointDslTests.kt
  79. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/TokenEndpointDslTests.kt
  80. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/UserInfoEndpointDslTests.kt
  81. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/JwtDslTests.kt
  82. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OpaqueTokenDslTests.kt
  83. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/session/SessionConcurrencyDslTests.kt
  84. 4
      config/src/test/kotlin/org/springframework/security/config/annotation/web/session/SessionFixationDslTests.kt

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/AbstractRequestMatcherDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/AbstractRequestMatcherDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.http.HttpMethod
import org.springframework.security.web.util.matcher.AnyRequestMatcher

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/AnonymousDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/AnonymousDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationProvider
import org.springframework.security.config.annotation.web.builders.HttpSecurity

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/AuthorizeRequestsDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/AuthorizeRequestsDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.http.HttpMethod
import org.springframework.security.config.annotation.web.builders.HttpSecurity

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/CorsDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/CorsDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.CorsConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/CsrfDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/CsrfDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.CsrfConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/ExceptionHandlingDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/ExceptionHandlingDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/FormLoginDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/FormLoginDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationDetailsSource
import org.springframework.security.config.annotation.web.HttpSecurityBuilder

4
config/src/main/kotlin/org/springframework/security/config/web/servlet/HeadersDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/HeadersDsl.kt

@ -14,11 +14,11 @@ @@ -14,11 +14,11 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer
import org.springframework.security.config.web.servlet.headers.*
import org.springframework.security.config.annotation.web.headers.*
import org.springframework.security.web.header.HeaderWriter
import org.springframework.security.web.header.writers.*
import org.springframework.security.web.header.writers.frameoptions.XFrameOptionsHeaderWriter

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/HttpBasicDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/HttpBasicDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationDetailsSource
import org.springframework.security.config.annotation.web.builders.HttpSecurity

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/HttpSecurityDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/HttpSecurityDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.context.ApplicationContext
import org.springframework.security.authentication.AuthenticationManager

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/LogoutDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/LogoutDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.LogoutConfigurer

6
config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2ClientDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2ClientDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
/*
* Copyright 2002-2020 the original author or authors.
@ -33,8 +33,8 @@ package org.springframework.security.config.web.servlet @@ -33,8 +33,8 @@ package org.springframework.security.config.web.servlet
*/
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.web.servlet.oauth2.client.AuthorizationCodeGrantDsl
import org.springframework.security.config.web.servlet.oauth2.login.AuthorizationEndpointDsl
import org.springframework.security.config.annotation.web.oauth2.client.AuthorizationCodeGrantDsl
import org.springframework.security.config.annotation.web.oauth2.login.AuthorizationEndpointDsl
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer
import org.springframework.security.oauth2.client.OAuth2AuthorizedClientService
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository

10
config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2LoginDsl.kt

@ -14,15 +14,15 @@ @@ -14,15 +14,15 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationDetailsSource
import org.springframework.security.config.annotation.web.HttpSecurityBuilder
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.web.servlet.oauth2.login.AuthorizationEndpointDsl
import org.springframework.security.config.web.servlet.oauth2.login.RedirectionEndpointDsl
import org.springframework.security.config.web.servlet.oauth2.login.TokenEndpointDsl
import org.springframework.security.config.web.servlet.oauth2.login.UserInfoEndpointDsl
import org.springframework.security.config.annotation.web.oauth2.login.AuthorizationEndpointDsl
import org.springframework.security.config.annotation.web.oauth2.login.RedirectionEndpointDsl
import org.springframework.security.config.annotation.web.oauth2.login.TokenEndpointDsl
import org.springframework.security.config.annotation.web.oauth2.login.UserInfoEndpointDsl
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer
import org.springframework.security.oauth2.client.OAuth2AuthorizedClientService
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository

6
config/src/main/kotlin/org/springframework/security/config/web/servlet/OAuth2ResourceServerDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/OAuth2ResourceServerDsl.kt

@ -14,12 +14,12 @@ @@ -14,12 +14,12 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationManagerResolver
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.web.servlet.oauth2.resourceserver.JwtDsl
import org.springframework.security.config.web.servlet.oauth2.resourceserver.OpaqueTokenDsl
import org.springframework.security.config.annotation.web.oauth2.resourceserver.JwtDsl
import org.springframework.security.config.annotation.web.oauth2.resourceserver.OpaqueTokenDsl
import org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer
import org.springframework.security.oauth2.server.resource.web.BearerTokenResolver
import org.springframework.security.web.AuthenticationEntryPoint

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/PasswordManagementDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/PasswordManagementDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.PasswordManagementConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/PortMapperDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/PortMapperDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.PortMapperConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/RememberMeDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/RememberMeDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.RememberMeConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/RequestCacheDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/RequestCacheDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.RequestCacheConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/RequiresChannelDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/Saml2Dsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/Saml2Dsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationManager
import org.springframework.security.config.annotation.web.HttpSecurityBuilder

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/SecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/SecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
/**
* Marker annotation indicating that the annotated class is part of the security DSL.

6
config/src/main/kotlin/org/springframework/security/config/web/servlet/SessionManagementDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/SessionManagementDsl.kt

@ -14,11 +14,11 @@ @@ -14,11 +14,11 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.web.servlet.session.SessionConcurrencyDsl
import org.springframework.security.config.web.servlet.session.SessionFixationDsl
import org.springframework.security.config.annotation.web.session.SessionConcurrencyDsl
import org.springframework.security.config.annotation.web.session.SessionFixationDsl
import org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer
import org.springframework.security.config.http.SessionCreationPolicy
import org.springframework.security.web.authentication.AuthenticationFailureHandler

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/X509Dsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/X509Dsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.springframework.security.authentication.AuthenticationDetailsSource
import org.springframework.security.config.annotation.web.builders.HttpSecurity

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/CacheControlDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/CacheControlDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/ContentSecurityPolicyDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ContentSecurityPolicyDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/ContentTypeOptionsDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ContentTypeOptionsDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/FrameOptionsDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/FrameOptionsDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/HeadersSecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HeadersSecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
/**
* Marker annotation indicating that the annotated class is part of the headers security DSL.

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/HttpPublicKeyPinningDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HttpPublicKeyPinningDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/HttpStrictTransportSecurityDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/HttpStrictTransportSecurityDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/PermissionsPolicyDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/PermissionsPolicyDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/ReferrerPolicyDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/ReferrerPolicyDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/headers/XssProtectionConfigDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/headers/XssProtectionConfigDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.HeadersConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/client/AuthorizationCodeGrantDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/client/AuthorizationCodeGrantDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.client
package org.springframework.security.config.annotation.web.oauth2.client
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2ClientConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/client/OAuth2ClientSecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/client/OAuth2ClientSecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.client
package org.springframework.security.config.annotation.web.oauth2.client
/**
* Marker annotation indicating that the annotated class is part of the OAuth 2.0 client security DSL.

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/login/AuthorizationEndpointDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/AuthorizationEndpointDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/login/OAuth2LoginSecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/OAuth2LoginSecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
/**
* Marker annotation indicating that the annotated class is part of the OAuth 2.0 login security DSL.

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/login/RedirectionEndpointDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/RedirectionEndpointDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/login/TokenEndpointDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/TokenEndpointDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/login/UserInfoEndpointDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/login/UserInfoEndpointDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.oauth2.client.OAuth2LoginConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/resourceserver/JwtDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/JwtDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.resourceserver
package org.springframework.security.config.annotation.web.oauth2.resourceserver
import org.springframework.core.convert.converter.Converter
import org.springframework.security.authentication.AbstractAuthenticationToken

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/resourceserver/OAuth2ResourceServerSecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OAuth2ResourceServerSecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.resourceserver
package org.springframework.security.config.annotation.web.oauth2.resourceserver
/**
* Marker annotation indicating that the annotated class is part of the OAuth 2.0 resource server security DSL.

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/oauth2/resourceserver/OpaqueTokenDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OpaqueTokenDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.resourceserver
package org.springframework.security.config.annotation.web.oauth2.resourceserver
import org.springframework.security.authentication.AuthenticationManager
import org.springframework.security.config.annotation.web.builders.HttpSecurity

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/session/SessionConcurrencyDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionConcurrencyDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.session
package org.springframework.security.config.annotation.web.session
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/session/SessionFixationDsl.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionFixationDsl.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.session
package org.springframework.security.config.annotation.web.session
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configurers.SessionManagementConfigurer

2
config/src/main/kotlin/org/springframework/security/config/web/servlet/session/SessionSecurityMarker.kt → config/src/main/kotlin/org/springframework/security/config/annotation/web/session/SessionSecurityMarker.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.session
package org.springframework.security.config.annotation.web.session
/**
* Marker annotation indicating that the annotated class is part of the session security DSL.

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/AnonymousDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/AnonymousDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/AuthorizeRequestsDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/AuthorizeRequestsDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/CorsDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/CorsDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.Test

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/CsrfDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/CsrfDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/ExceptionHandlingDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/ExceptionHandlingDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.assertj.core.api.Assertions.assertThatExceptionOfType
import org.junit.jupiter.api.Test

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/FormLoginDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/FormLoginDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/HeadersDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/HeadersDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/HttpBasicDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/HttpBasicDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/HttpSecurityDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/HttpSecurityDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/LogoutDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/LogoutDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/OAuth2ClientDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2ClientDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/OAuth2LoginDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2LoginDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockkObject

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/OAuth2ResourceServerDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/OAuth2ResourceServerDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockk

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/PasswordManagementDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/PasswordManagementDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/PortMapperDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/PortMapperDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/RememberMeDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/RememberMeDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.Called
import io.mockk.confirmVerified

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/RequestCacheDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/RequestCacheDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/RequiresChannelDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/RequiresChannelDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.mockkObject
import io.mockk.verify

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/Saml2DslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/Saml2DslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.mockk

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/SessionManagementDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/SessionManagementDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.every
import io.mockk.justRun

2
config/src/test/kotlin/org/springframework/security/config/web/servlet/X509DslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/X509DslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet
package org.springframework.security.config.annotation.web
import io.mockk.mockk
import java.security.cert.Certificate

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/CacheControlDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/CacheControlDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -23,7 +23,7 @@ import org.springframework.http.HttpHeaders @@ -23,7 +23,7 @@ import org.springframework.http.HttpHeaders
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.test.web.servlet.MockMvc

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/ContentSecurityPolicyDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ContentSecurityPolicyDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.server.header.ContentSecurityPolicyServerHttpHeadersWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/ContentTypeOptionsDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ContentTypeOptionsDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.server.header.ContentTypeOptionsServerHttpHeadersWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/FrameOptionsDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/FrameOptionsDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.header.writers.frameoptions.XFrameOptionsHeaderWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/HttpPublicKeyPinningDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/HttpPublicKeyPinningDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
@ -25,7 +25,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe @@ -25,7 +25,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.test.web.servlet.MockMvc
import org.springframework.test.web.servlet.get

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/HttpStrictTransportSecurityDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/HttpStrictTransportSecurityDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
@ -23,7 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -23,7 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.server.header.StrictTransportSecurityServerHttpHeadersWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/ReferrerPolicyDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/ReferrerPolicyDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.header.writers.ReferrerPolicyHeaderWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/headers/XssProtectionConfigDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/headers/XssProtectionConfigDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.headers
package org.springframework.security.config.annotation.web.headers
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired @@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired
import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.web.server.header.XXssProtectionServerHttpHeadersWriter

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/client/AuthorizationCodeGrantDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/client/AuthorizationCodeGrantDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.client
package org.springframework.security.config.annotation.web.oauth2.client
import io.mockk.every
import io.mockk.mockk
@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur @@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient
import org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/login/AuthorizationEndpointDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/AuthorizationEndpointDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import io.mockk.every
import io.mockk.mockkObject
@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur @@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository
import org.springframework.security.oauth2.client.registration.InMemoryClientRegistrationRepository
import org.springframework.security.oauth2.client.web.AuthorizationRequestRepository

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/login/RedirectionEndpointDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/RedirectionEndpointDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import io.mockk.every
import io.mockk.mockkObject
@ -29,7 +29,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur @@ -29,7 +29,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.core.authority.SimpleGrantedAuthority
import org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient
import org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/login/TokenEndpointDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/TokenEndpointDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import io.mockk.every
import io.mockk.mockkObject
@ -30,7 +30,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur @@ -30,7 +30,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient
import org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/login/UserInfoEndpointDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/login/UserInfoEndpointDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.login
package org.springframework.security.config.annotation.web.oauth2.login
import io.mockk.every
import io.mockk.mockk
@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur @@ -31,7 +31,7 @@ import org.springframework.security.config.annotation.web.configuration.WebSecur
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.core.authority.SimpleGrantedAuthority
import org.springframework.security.oauth2.client.endpoint.OAuth2AccessTokenResponseClient
import org.springframework.security.oauth2.client.endpoint.OAuth2AuthorizationCodeGrantRequest

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/resourceserver/JwtDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/JwtDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.resourceserver
package org.springframework.security.config.annotation.web.oauth2.resourceserver
import io.mockk.every
import io.mockk.mockk
@ -35,7 +35,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe @@ -35,7 +35,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.core.Authentication
import org.springframework.security.oauth2.core.oidc.IdTokenClaimNames
import org.springframework.security.oauth2.jwt.Jwt

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/oauth2/resourceserver/OpaqueTokenDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/oauth2/resourceserver/OpaqueTokenDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.oauth2.resourceserver
package org.springframework.security.config.annotation.web.oauth2.resourceserver
import io.mockk.every
import io.mockk.mockkObject
@ -35,7 +35,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe @@ -35,7 +35,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.core.Authentication
import org.springframework.security.oauth2.core.DefaultOAuth2AuthenticatedPrincipal
import org.springframework.security.oauth2.core.TestOAuth2AccessTokens

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/session/SessionConcurrencyDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/session/SessionConcurrencyDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.session
package org.springframework.security.config.annotation.web.session
import io.mockk.every
import io.mockk.mockkObject
@ -30,7 +30,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe @@ -30,7 +30,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.core.session.SessionInformation
import org.springframework.security.core.session.SessionRegistry
import org.springframework.security.core.session.SessionRegistryImpl

4
config/src/test/kotlin/org/springframework/security/config/web/servlet/session/SessionFixationDslTests.kt → config/src/test/kotlin/org/springframework/security/config/annotation/web/session/SessionFixationDslTests.kt

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.security.config.web.servlet.session
package org.springframework.security.config.annotation.web.session
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
@ -28,7 +28,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe @@ -28,7 +28,7 @@ import org.springframework.security.config.annotation.web.configuration.EnableWe
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.core.userdetails.User
import org.springframework.security.core.userdetails.UserDetailsService
import org.springframework.security.config.web.servlet.invoke
import org.springframework.security.config.annotation.web.invoke
import org.springframework.security.config.test.SpringTestContext
import org.springframework.security.config.test.SpringTestContextExtension
import org.springframework.security.provisioning.InMemoryUserDetailsManager
Loading…
Cancel
Save