You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2017/07/14 18:42:59 UTC
directory-fortress-commander git commit: remove commented sections
Repository: directory-fortress-commander
Updated Branches:
refs/heads/master 8b293fbe5 -> 849305a37
remove commented sections
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/commit/849305a3
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/tree/849305a3
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/diff/849305a3
Branch: refs/heads/master
Commit: 849305a37f92bd05fb26c774e6b1a7244c995b50
Parents: 8b293fb
Author: Shawn McKinney <sm...@apache.org>
Authored: Fri Jul 14 13:42:53 2017 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Fri Jul 14 13:42:53 2017 -0500
----------------------------------------------------------------------
src/main/webapp/WEB-INF/web.xml | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/849305a3/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 99a3fb6..ca46c36 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -97,8 +97,6 @@
<web-resource-name>Protected Area</web-resource-name>
<!-- Define the context-relative URL(s) to be protected -->
<url-pattern>/wicket/*</url-pattern>
- <!-- If you list http methods, only those methods are protected -->
- <!--http-method>GET</http-method-->
</web-resource-collection>
<auth-constraint>
<!-- Anyone with one of the listed roles may access this area -->
@@ -121,16 +119,10 @@
</auth-constraint>
</security-constraint>
- <!-- Default login configuration uses form-based authentication -->
- <!--
- <login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>SentrySecurityRealm</realm-name>
- </login-config>
- -->
+ <!-- Use form-based authentication -->
<login-config>
<auth-method>FORM</auth-method>
- <realm-name>SentrySecurityRealm</realm-name>
+ <realm-name>FortressSecurityRealm</realm-name>
<form-login-config>
<form-login-page>/login/login.html</form-login-page>
<form-error-page>/login/error.html</form-error-page>
@@ -189,4 +181,4 @@
<security-role>
<role-name>ROLE_GROUPS</role-name>
</security-role>
-</web-app>
+</web-app>
\ No newline at end of file