spring-guides / gs-authenticating-ldap

Authenticating a User with LDAP :: Learn how to secure an application with LDAP.

Home Page:https://spring.io/guides/gs/authenticating-ldap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use @EnableWebSecurity instead of deprected @EnableWebMvcSecurity.

thomasdarimont opened this issue · comments

The example currently uses @EnableWebMvcSecurity which is deprecated.
It should be replaced with @EnableWebSecurity.

I think it's only deprecated in Spring Security 4.0? So we should wait till we upgrade.

@dsyer The guides are now on Spring Boot 1.3.1.RELEASE. I presume that means we are now on Spring Security 4?

@gregturn This issue should also be now closed, it has been resolved.

Resolved via e2bee44