java Programming Glossary: ldapauthenticationtoken
How do you authenticate against an Active Directory server using Spring Security? http://stackoverflow.com/questions/84680/how-do-you-authenticate-against-an-active-directory-server-using-spring-security authAdapter authenticator.authenticate auth Creating an LdapAuthenticationToken rather than using the existing Authentication object allows.. the already created LDAP context for our app to use later. LdapAuthenticationToken ldapAuth new LdapAuthenticationToken auth ROLE_USER InitialLdapContext.. our app to use later. LdapAuthenticationToken ldapAuth new LdapAuthenticationToken auth ROLE_USER InitialLdapContext ldapContext InitialLdapContext..
|