November 2017
Intermediate to advanced
542 pages
14h 24m
English
With all of the complexity of LDAP configuration, configuring client certificate authentication is a welcome reprieve. If we are using the security namespace style of configuration, the addition of client certificate authentication is a simple one-line configuration change, added within the HttpSecurity declaration. Go ahead and make the following changes to the provided SecurityConfig.java configuration:
//src/main/java/com/packtpub/springsecurity/configuration/SecurityConfig.java http.x509().userDetailsService(userDetailsService);
Read now
Unlock full access