Skip to content

Spring Security without WebSecurityConfigureAdapter #3

Description

@cami-la

Hi, Jr. How are you?

I'm try to implement JWT with the dependency implementation 'com.auth0:java-jwt:4.0.0', but now the WebSecurityConfigurerAdapter class is deprecated: https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter

So, I cannot override authenticationManagerBean() method to use AuthenticationManager in my CustomAuthenticationFilter reference.

Before:
2022-07-21_06-59

Now:
2022-07-21_06-45

Can you help me?
This is my repository https://github.com/cami-la/reddit-clone-freeCodeCamp/tree/master/src/main/java/com/freecodecamp/redditclone/config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions