From: <bra...@us...> - 2007-10-02 03:33:45
|
Revision: 2031 http://archive-access.svn.sourceforge.net/archive-access/?rev=2031&view=rev Author: bradtofel Date: 2007-10-01 20:33:49 -0700 (Mon, 01 Oct 2007) Log Message: ----------- TWEAK: added basic HTTP AUTH example configuration. Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/web.xml Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/web.xml =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/web.xml 2007-10-02 03:33:00 UTC (rev 2030) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/web.xml 2007-10-02 03:33:49 UTC (rev 2031) @@ -3,6 +3,21 @@ "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> + <security-constraint> + <web-resource-collection> + <web-resource-name>Secured-Wayback</web-resource-name> + <url-pattern>/usersecure/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>wayback</role-name> + </auth-constraint> + </security-constraint> + + <login-config> + <auth-method>BASIC</auth-method> + <realm-name>Secured-Wayback</realm-name> + </login-config> + <!-- General Installation information --> <context-param> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |