July 2018
Intermediate to advanced
268 pages
7h 36m
English
We are going to use Spring's default LDAP server to store our users, and then use this as a user store against which we can authenticate the users in our application. The LDAP configuration is done in our application.yml file, as follows:
spring: ldap: # Embedded Spring LDAP embedded: base-dn: dc=packtpub,dc=com credential: username: uid=admin password: secret ldif: classpath:ldap/ldapschema.ldif port: 8389 validation: enabled: false mvc: view: prefix: /WEB-INF/views/ suffix: .jsp
The ldap section is self-explanatory—we are setting up the embedded LDAP server with various parameters.
Read now
Unlock full access