mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 20:42:14 +00:00
Deprecate authorizeRequests from Kotlin DSL
Closes gh-15173
This commit is contained in:
parent
c534e5ea5b
commit
9f44f3b79a
@ -263,6 +263,7 @@ class HttpSecurityDsl(private val http: HttpSecurity, private val init: HttpSecu
|
||||
* access for requests
|
||||
* @see [AuthorizeRequestsDsl]
|
||||
*/
|
||||
@Deprecated(message = "Since 6.4. Use authorizeHttpRequests instead")
|
||||
fun authorizeRequests(authorizeRequestsConfiguration: AuthorizeRequestsDsl.() -> Unit) {
|
||||
val authorizeRequestsCustomizer = AuthorizeRequestsDsl().apply(authorizeRequestsConfiguration).get()
|
||||
this.http.authorizeRequests(authorizeRequestsCustomizer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user