LDAP server setup

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.203.119