November 2017
Intermediate to advanced
542 pages
14h 24m
English
It is likely that once you test basic integration with the embedded LDAP server, you will want to interact with an external LDAP server. Fortunately, this is very straightforward and can be done using a slightly different syntax along with the same DefaultSpringSecurityContextSource instructions we provided to set up the embedded LDAP server.
Update the Spring Security configuration to connect to an external LDAP server on port 33389, as follows:
//src/main/java/com/packtpub/springsecurity/configuration/SecurityConfig.java @Override public void configure(AuthenticationManagerBuilder auth) throws Exception { auth .ldapAuthentication() .userSearchFilter("(uid={0})") .groupSearchBase("ou=Groups") ...Read now
Unlock full access