---
title: "Discussion on \"Spring Security 6.0 or Deprecated WebSecurityConfigurerAdapter\" | Hashnode"
description: "Discussion on \"Spring Security 6.0 or Deprecated WebSecurityConfigurerAdapter\". In Spring Security 6.0, many methods and classes have been deprecated. Let's look at the main deprecated elements:\nDeprecated Methods\n\nauthorizeHttpRequests() - Use authorizeHttpRequests(Customizer) instead\n\nantMatchers() - Use requestMatchers() whic..."
url: "https://hashnode.com/posts/spring-security-60-or-deprecated-websecurityconfigureradapter/65071cad186adb8e12280577"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spring Security 6.0 or Deprecated WebSecurityConfigurerAdapter](https://byka.hashnode.dev/spring-security-60-or-deprecated-websecurityconfigureradapter?utm_source=hashnode&utm_medium=feed)

In Spring Security 6.0, many methods and classes have been deprecated. Let's look at the main deprecated elements: Deprecated Methods authorizeHttpRequests() - Use authorizeHttpRequests(Customizer) instead antMatchers() - Use requestMatchers() whic...

Sep 17, 2023 · 1 min read · byka.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#spring-security](https://hashnode.com/tag/spring-security)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#framework](https://hashnode.com/tag/framework)
-   [#guide](https://hashnode.com/tag/guide)

## Written by

[Yaroslav Prozorov](https://hashnode.com/@Byka)

@Byka · Germany,Berlin

  
[View profile](https://hashnode.com/@Byka)

Beginning with nothing, I plan to take the journey to becoming a Java developer.

I'm Yaroslav. I really love tech, especially Java, and all things related to technology. But I'm not just about coding – I'm also into creating my own brand and sharing bits of my life's adventures. Oh, and I'm a book enthusiast too!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
