diff --git a/samples/ldap-xml/ldap.gradle b/samples/ldap-xml/ldap.gradle index 6ac6de254c..15285a396d 100644 --- a/samples/ldap-xml/ldap.gradle +++ b/samples/ldap-xml/ldap.gradle @@ -12,6 +12,8 @@ configurations { } dependencies { + compile project(':spring-security-taglibs'), + jstlDependencies runtime project(':spring-security-web'), project(':spring-security-config'), diff --git a/samples/ldap-xml/src/main/webapp/secure/extreme/index.jsp b/samples/ldap-xml/src/main/webapp/secure/extreme/index.jsp index 2804561673..be098912fb 100644 --- a/samples/ldap-xml/src/main/webapp/secure/extreme/index.jsp +++ b/samples/ldap-xml/src/main/webapp/secure/extreme/index.jsp @@ -1,3 +1,5 @@ +<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
@@ -5,6 +7,9 @@ This is a protected page. You can only see me if you are a supervisor.Home -
Logout +
" method="post"> + +Home -
Logout +
" method="post"> + (also clears any remember-me cookie) +