svnno****@sourc*****
svnno****@sourc*****
2007年 10月 19日 (金) 16:02:28 JST
Revision: 640 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=640 Author: shinsuke Date: 2007-10-19 16:02:28 +0900 (Fri, 19 Oct 2007) Log Message: ----------- added security constraint. Modified Paths: -------------- pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/web.xml -------------- next part -------------- Modified: pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/web.xml =================================================================== --- pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/web.xml 2007-10-18 05:00:16 UTC (rev 639) +++ pompei/portlets/pompei-core/trunk/src/main/webapp/WEB-INF/web.xml 2007-10-19 07:02:28 UTC (rev 640) @@ -180,4 +180,20 @@ <welcome-file>index.html</welcome-file> <welcome-file>/view/index.html</welcome-file> </welcome-file-list> + <security-constraint> + <web-resource-collection> + <web-resource-name>User Auth</web-resource-name> + <url-pattern>/view/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>manager</role-name> + </auth-constraint> + </security-constraint> + <login-config> + <auth-method>BASIC</auth-method> + <realm-name>User Auth</realm-name> + </login-config> + <security-role> + <role-name>manager</role-name> + </security-role> </web-app>