Logo
Explore Help
Sign In
Cwikius-Spring/spring-security
1
0
Fork 0
You've already forked spring-security
mirror of https://github.com/spring-projects/spring-security.git synced 2025-05-30 16:52:13 +00:00
Code Issues Packages Projects Releases Wiki Activity
spring-security/ldap/run_slapd.sh

8 lines
234 B
Bash
Raw Normal View History

SEC-214: Add functionality to be able to use LDAP password policy request/response controls. Added PasswordPolicyAwareContextSource, ppolicy control implementations (from Sandbox) and modified BindAuthenticator to check for the presence of the response control, adding the control to the retured DirContextAdapter if appropriate. LdapUserDetailsImpl also contains the data for grace logins remaining and time till password expiry. Added OpenLDAP startup script with test data and integration test which operates against the data (must be run manually).
2009-08-18 23:09:16 +00:00
#! /bin/sh
SEC-1661: Use a DistinguishedName to wrap the search base to avoid the need for JNDI escaping.
2011-01-26 17:13:11 +00:00
rm -Rf build/openldap
mkdir -p build/openldap
Minor slapd config changes
2014-02-11 14:23:54 +00:00
/usr/libexec/slapd -h ldap://localhost:22389 -d -1 -f slapd.conf &
sleep 3
ldapadd -h localhost -p 22389 -D cn=admin,dc=springsource,dc=com -w password -x -f openldaptest.ldif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 108ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API