summaryrefslogtreecommitdiffstats
path: root/sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml')
-rw-r--r--sandbox/lresende/sca/samples/store-secure-webapp/src/main/webapp/WEB-INF/web.xml13
1 files changed, 11 insertions, 2 deletions
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 @@
<welcome-file>store.html</welcome-file>
</welcome-file-list>
- <login-config>
+ <!-- login-config>
<auth-method>BASIC</auth-method>
<realm-name>ldap-realm</realm-name>
- </login-config>
+ </login-config-->
+ <login-config>
+ <auth-method>FORM</auth-method>
+ <realm-name>ldap-realm</realm-name>
+ <form-login-config>
+ <form-login-page>/auth/logon.html</form-login-page>
+ <form-error-page>/auth/logonError.html</form-error-page>
+ </form-login-config>
+ </login-config>
+
<security-role>
<description>Application managers</description>
<role-name>manager</role-name>