+
+
\ No newline at end of file
diff --git a/samples/openid/src/main/webapp/openidlogin.jsp b/samples/openid/src/main/webapp/openidlogin.jsp
new file mode 100644
index 0000000000..30aed80c8c
--- /dev/null
+++ b/samples/openid/src/main/webapp/openidlogin.jsp
@@ -0,0 +1,35 @@
+<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>
+<%@ page import="org.springframework.security.ui.AbstractProcessingFilter" %>
+<%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %>
+<%@ page import="org.springframework.security.AuthenticationException" %>
+
+
+
+ Open ID Login
+
+
+
+
Login
+
+ <%-- this form-login-page form is also used as the
+ form-error-page to ask for a login again.
+ --%>
+
+
+ Your login attempt was not successful, try again.
+ Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/openid/src/main/webapp/secure/extreme/index.jsp b/samples/openid/src/main/webapp/secure/extreme/index.jsp
new file mode 100644
index 0000000000..93f7a17cfc
--- /dev/null
+++ b/samples/openid/src/main/webapp/secure/extreme/index.jsp
@@ -0,0 +1,15 @@
+<%@ taglib prefix="authz" uri="http://www.springframework.org/security/tags" %>
+
+
+
+
VERY Secure Page
+This is a protected page. You can only see me if you are a supervisor.
+
+
+ You have "ROLE_SUPERVISOR" (this text is surrounded by <authz:authorize> tags).
+
+
+
Logout
+
+
\ No newline at end of file
diff --git a/samples/openid/src/main/webapp/secure/index.jsp b/samples/openid/src/main/webapp/secure/index.jsp
new file mode 100644
index 0000000000..b774c40ed8
--- /dev/null
+++ b/samples/openid/src/main/webapp/secure/index.jsp
@@ -0,0 +1,15 @@
+
+
+
Secure Page
+This is a protected page. You can get to me if you've been remembered,
+or if you've authenticated this session.
+
+<%if (request.isUserInRole("ROLE_SUPERVISOR")) { %>
+ You are a supervisor! You can therefore see the extremely secure page.