--- /dev/null
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE securityfilter-config PUBLIC
+ "-//SecurityFilter.org//DTD Security Filter Configuration 1.0//EN"
+ "http://www.securityfilter.org/dtd/securityfilter-config_1_0.dtd">
+
+<securityfilter-config>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Secure Page</web-resource-name>
+ <url-pattern>/securePage.jsp</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>inthisrole</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Secure page that the example user is not authorized to view</web-resource-name>
+ <url-pattern>/forbiddenPage.jsp</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>notinthisrole</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+
+ <realm className="org.securityfilter.example.TrivialSecurityRealm">
+ <realm-param name="exampleProperty" value="it works!" />
+ </realm>
+
+</securityfilter-config>
\ No newline at end of file
--- /dev/null
+<p>
+Navigation Menu: [
+<a href="index.jsp">Home</a>
+| <a href="securePage.jsp">Secure Page</a>
+| <a href="forbiddenPage.jsp">Forbidden Secure Page</a>
+| <a href="logout.jsp">Logout</a>
+]<p>
--- /dev/null
+<html>
+<head>
+<title>SecurityFilter Example Application: Login Error Page</title>
+</head>
+<body>
+<h1>SecurityFilter Example Application: Login Error Page</h1>
+<%@include file="/menu.jsp" %>
+Bad username/password combination, please <a href="loginForm.jsp">try again</a>.
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<html>
+<head>
+<title>SecurityFilter Example Application: Login Form</title>
+</head>
+<body>
+<h1>SecurityFilter Example Application: Login Form</h1>
+<%@include file="/menu.jsp" %>
+Login with username=<i>username</i> and password=<i>password</i>.
+<form action="logMeIn" method="POST">
+Username: <input type="text" name="j_username" value="username"><p>
+Password: <input type="password" name="j_password" value="password"><p>
+<input type="Submit">
+</form>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<p>
+Navigation Menu: [
+<a href="index.jsp">Home</a>
+| <a href="securePage.jsp">Secure Page</a>
+| <a href="forbiddenPage.jsp">Forbidden Secure Page</a>
+| <a href="loginForm.jsp">Direct Login</a>
+| <a href="logout.jsp">Logout</a>
+]<p>
+++ /dev/null
-<html>
-<head>
-<title>SecurityFilter Example Application: Login Error Page</title>
-</head>
-<body>
-<h1>SecurityFilter Example Application: Login Error Page</h1>
-<%@include file="/menu.jsp" %>
-Bad username/password combination, please <a href="loginForm.jsp">try again</a>.
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>SecurityFilter Example Application: Login Form</title>
-</head>
-<body>
-<h1>SecurityFilter Example Application: Login Form</h1>
-<%@include file="/menu.jsp" %>
-Login with username=<i>username</i> and password=<i>password</i>.
-<form action="logMeIn" method="POST">
-Username: <input type="text" name="j_username" value="username"><p>
-Password: <input type="password" name="j_password" value="password"><p>
-<input type="Submit">
-</form>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<p>
-Navigation Menu: [
-<a href="index.jsp">Home</a>
-| <a href="securePage.jsp">Secure Page</a>
-| <a href="forbiddenPage.jsp">Forbidden Secure Page</a>
-| <a href="loginForm.jsp">Direct Login</a>
-| <a href="logout.jsp">Logout</a>
-]<p>