Manually to create LDAP authentication provider
Have you ever want to create a custom login flow with composite of ldap and other authentication? But you relize that, LDAP almost use integrated with Spring security? And you would like to use it seperatedly, yes, me too and now I will share you the way I have used. 1. Use class DefaultSpringSecurityContextSource to create LDAP context source. It is a little weird that we will use DefaultSpring...