1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Move Dsl files to annotation Package

Closes gh-10333
This commit is contained in:
Norbert Nowak
2021-11-05 20:12:59 +01:00
committed by Josh Cummings
parent 0d8450a725
commit 4f186f2c1f
84 changed files with 112 additions and 112 deletions
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
*/
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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
@@ -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
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