Backend API login with POST request using LDAP

Using Spring Security, we want to make a POST request to our server using HTTP. We use LDAP for authentication.

Our LDAP connection is working.

Our problem is that we don't really know how to do this (POST request for our backend). We tried to extend the "WebSecurityConfigurerAdapter" but we were already stuck there. LDAP connection now works using formLogin in

configure(HttpSecurity http) 

      

Method

We would also prefer NOT to use formLogin, we prefer a simple HTTP POST request

Can someone give us some pointers?

+3


source to share





All Articles