I have Spring boot project that is already using Spring security for Admin panel. In the front-end, I just want to use AD LDAP just to check if the user is present in the company's active directory or not. No login page is required for front-end users and therefore no need to LDAP Authentication builder. I want to use LDAP search function in the HomeController that's it.
I have been looking for the solution but everywhere LDAP is used along with Spring security. I do not want that. I just want to make use of LDAP search function to find users based on username.