From 2bad16d6d8e519692d3aa0abf00668a00da31ae3 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Wed, 17 Jan 2007 23:21:42 +0000 Subject: [PATCH] IN PROGRESS - issue LDAP-36: Ldap Person example using OpenLDAP http://opensource.atlassian.com/projects/spring/browse/LDAP-36 --- .../webapp/WEB-INF/applicationContext-acegi-security.xml | 2 +- .../src/main/webapp/WEB-INF/applicationContext.xml | 8 ++++---- .../src/main/webapp/WEB-INF/jsp/includeBottom.jsp | 3 +++ .../src/main/webapp/WEB-INF/jsp/includeTop.jsp | 1 + .../src/main/webapp/WEB-INF/ldap.properties | 4 ++-- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml b/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml index b1308006..81a9200e 100644 --- a/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml +++ b/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext-acegi-security.xml @@ -72,7 +72,7 @@ - + diff --git a/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext.xml b/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext.xml index e3ab2fed..1815416f 100644 --- a/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext.xml +++ b/spring-ldap-person/src/main/webapp/WEB-INF/applicationContext.xml @@ -13,7 +13,7 @@ - + @@ -50,8 +50,8 @@ - - + + +">Logoff user + diff --git a/spring-ldap-person/src/main/webapp/WEB-INF/jsp/includeTop.jsp b/spring-ldap-person/src/main/webapp/WEB-INF/jsp/includeTop.jsp index 4500d28d..82701d00 100644 --- a/spring-ldap-person/src/main/webapp/WEB-INF/jsp/includeTop.jsp +++ b/spring-ldap-person/src/main/webapp/WEB-INF/jsp/includeTop.jsp @@ -4,6 +4,7 @@ <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %> diff --git a/spring-ldap-person/src/main/webapp/WEB-INF/ldap.properties b/spring-ldap-person/src/main/webapp/WEB-INF/ldap.properties index 70995985..d3dfc30a 100644 --- a/spring-ldap-person/src/main/webapp/WEB-INF/ldap.properties +++ b/spring-ldap-person/src/main/webapp/WEB-INF/ldap.properties @@ -1,4 +1,4 @@ -urls=ldap://127.0.0.1 -userDn=uid=admin,ou=system +url=ldap://127.0.0.1 +userDn=cn=Manager,dc=jayway,dc=se password=secret base=dc=jayway,dc=se