November 2017
Intermediate to advanced
542 pages
14h 24m
English
To implement this configuration, we'll assume that we have a local LDAP server running on port 10389, with the same configuration corresponding to the DefaultSpringSecurityContextSource interface example provided in the previous section. The required bean definition is already provided in the SecurityConfig.java file. In fact, to keep things simple, we have provided the entire SecurityConfig.java file. Review the LDAP server reference in the following code snippet:
//src/main/java/com/packtpub/springsecurity/configuration/SecurityConfig.java @Bean public DefaultSpringSecurityContextSource contextSource() {return new DefaultSpringSecurityContextSource( Arrays.asList("ldap://localhost:10389/"), ...Read now
Unlock full access