Skip to content

Instantly share code, notes, and snippets.

@Shallako
Created September 5, 2016 03:05
Show Gist options
  • Save Shallako/37cfa188d7d95047caf5a6aef8300c46 to your computer and use it in GitHub Desktop.
Save Shallako/37cfa188d7d95047caf5a6aef8300c46 to your computer and use it in GitHub Desktop.
# Spring will load properties from the following locations:
#
# 1.) A "/config" subdirectory of the current directory.
# 2.) The current directory
# 3.) A classpath "/config"
# 4.) The classpath root
# Or pass them on the command line to override property file.
# -Dldap-port=9989 -Dsecure-end-points=/a/c/** etc.
# comma seperated values of endpoints to secure multiple endpoints
secure-end-points=/endpoint1/**,/endpoint2/user/**
#LDAP properties
ldap-url=ldap://url
ldap-port=2389
ldap-context-root=ou=levvelusers,dc=dsu,dc=abc,dc=123
user-search-filter=(mail={0})
manager-dn=uid=appadmin,ou=levvlaccounts,cn=config
manager-password=pwd
user-dn-pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment