From ac35ed8648ebc70520f1f5104d08e297e4fc4b01 Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 25 Sep 2009 06:01:40 +0000 Subject: Adding form based auth git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@818729 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/WEB-INF/web.xml | 13 +++++++++++-- .../src/main/webapp/auth/logon.html | 20 ++++++++++++++++++++ .../src/main/webapp/auth/logonError.html | 5 +++++ 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logon.html create mode 100644 sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logonError.html (limited to 'sandbox/lresende') diff --git a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml index 4d635579e7..704c7631b0 100644 --- a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml +++ b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml @@ -16,11 +16,20 @@ store.html - + + + FORM + ldap-realm + + /auth/logon.html + /auth/logonError.html + + + Application managers manager diff --git a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logon.html b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logon.html new file mode 100644 index 0000000000..09191f7010 --- /dev/null +++ b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logon.html @@ -0,0 +1,20 @@ + +

Store Authentication

+
+ + + + + + + + + + + + +
Username:
Password:
+ +
+
+ \ No newline at end of file diff --git a/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logonError.html b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logonError.html new file mode 100644 index 0000000000..c0c0f7b75d --- /dev/null +++ b/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/auth/logonError.html @@ -0,0 +1,5 @@ + +

Store Authentication ERROR

+Username, password or role incorrect. +                                                         + \ No newline at end of file -- cgit v1.2.3