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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.