cmlenz 01/09/23 13:27:20
Added: web/admin addUser.jsp editUser.jsp index.jsp locks.jsp
style.css users.jsp
web/admin/WEB-INF struts-config.xml web.xml
Log:
Initial import of the admin-webapp JSP pages and configuration.
Revision Changes Path
1.1 jakarta-slide/web/admin/addUser.jsp
Index: addUser.jsp
===================================================================
<%@ page import="java.util.*,org.apache.struts.action.*" %>
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %>
<html:html locale='true'>
<slide:namespace id='namespace'>
<head>
<title><bean:message key="app.title"/>: <bean:message
key="addUser.title"/></title>
<link rel='stylesheet' type='text/css' href='<html:rewrite
page="/style.css"/>'>
<html:base/>
</head>
<body bgcolor='#ffffff' marginwidth='0' marginheight='0'>
<table border='0' cellpadding='10' cellspacing='0' width='100%' height='100%'>
<tr>
<td class='panel' align='right' colspan='2' width='100%'>
<h1 class='headline1'><font color='#ffffff' size='3'><bean:message
key="app.title"/></font></h1>
<h2 class='headline2'><font color='#eeeeee' size='1'>Namespace:
<i><bean:write name='namespace' property='name'/></i></font></h2>
</td>
</tr>
<tr>
<td class='panel' align='center' bgcolor='#023264' height='100%'>
<hr>
<table border='0' cellpadding='0' cellspacing='0' class='panelMenu'>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/index.jsp'><bean:message
key="home.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/users.jsp'><bean:message
key="users.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/locks.jsp'><bean:message
key="locks.title"/></html:link>
</td>
</tr>
</table>
<hr>
<br>
<br>
</td>
<td class='content' align='left' valign='top' width='100%' height='100%'>
<br>
<br>
<html:form action='/addUser' focus='username' styleClass='dialog'>
<h3 class='headline3'><font color='#555576' size='2'><bean:message
key="addUser.title"/></font></h3>
<hr>
<table border='0'>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.username'/>
</td>
<td align='left' valign='middle'>
<html:text property='username' size='32'/>
</td>
</tr>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.password'/>
</td>
<td align='left' valign='middle'>
<html:password property='password' size='32' redisplay='false'/>
</td>
</tr>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.roles'/>
</td>
<td align='left' valign='middle'>
<html:checkbox property='hasRootRole'/>
<span class='dialogLabel'><bean:message
key='userForm.label.rootRole'/></span>
</td>
</tr>
<tr>
<td align='left' colspan='2'>
<html:errors/>
</td>
</tr>
<tr>
<td colspan='2' align='center'>
<hr>
<html:submit><bean:message
key='button.add'/></html:submit> <html:reset><bean:message
key='button.reset'/></html:reset> <html:cancel><bean:message
key='button.cancel'/></html:cancel>
</td>
</tr>
</table>
</html:form>
</td>
</tr>
</table>
</body>
</slide:namespace>
</html:html>
1.1 jakarta-slide/web/admin/editUser.jsp
Index: editUser.jsp
===================================================================
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %>
<html:html locale='true'>
<slide:namespace id='namespace'>
<head>
<title><bean:message key="app.title"/>: <bean:message
key="editUser.title"/></title>
<link rel='stylesheet' type='text/css' href='<html:rewrite
page="/style.css"/>'>
<html:base/>
</head>
<body bgcolor='#ffffff' marginwidth='0' marginheight='0'>
<table border='0' cellpadding='10' cellspacing='0' width='100%' height='100%'>
<tr>
<td class='panel' align='right' colspan='2' width='100%'>
<h1 class='headline1'><font color='#ffffff' size='3'><bean:message
key="app.title"/></font></h1>
<h2 class='headline2'><font color='#eeeeee' size='1'>Namespace:
<i><bean:write name='namespace' property='name'/></i></font></h2>
</td>
</tr>
<tr>
<td class='panel' align='center' bgcolor='#023264' height='100%'>
<hr>
<table border='0' cellpadding='0' cellspacing='0' class='panelMenu'>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/index.jsp'><bean:message
key="home.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/users.jsp'><bean:message
key="users.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/locks.jsp'><bean:message
key="locks.title"/></html:link>
</td>
</tr>
</table>
<hr>
<br>
<br>
</td>
<td class='content' align='left' valign='top' width='100%' height='100%'>
<br>
<br>
<html:form action='/saveUser' focus='username' styleClass='dialog'>
<h3 class='headline3'><font color='#555576' size='2'><bean:message
key="editUser.title"/></font></h3>
<hr>
<html:hidden property='originalUri'/>
<table border='0'>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.username'/>
</td>
<td align='left' valign='middle'>
<html:text property='username' size='32'/>
</td>
</tr>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.password'/>
</td>
<td align='left' valign='middle'>
<html:password property='password' size='32' redisplay='false'/>
</td>
</tr>
<tr>
<td align='right' valign='middle' class='dialogLabel'>
<bean:message key='userForm.label.roles'/>
</td>
<td align='left' valign='middle'>
<html:checkbox disabled='true' property='hasRootRole'/>
<span class='dialogLabel'><bean:message
key='userForm.label.rootRole'/></span>
</td>
</tr>
<tr>
<td align='left' colspan='2'>
<html:errors/>
</td>
</tr>
<tr>
<td colspan='2' align='center'>
<hr>
<html:submit><bean:message
key='button.save'/></html:submit> <html:reset><bean:message
key='button.reset'/></html:reset> <html:cancel><bean:message
key='button.cancel'/></html:cancel>
</td>
</tr>
</table>
</html:form>
</td>
</tr>
</table>
</body>
</slide:namespace>
</html:html>
1.1 jakarta-slide/web/admin/index.jsp
Index: index.jsp
===================================================================
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %>
<html:html locale='true'>
<slide:namespace id='namespace'>
<head>
<title><bean:message key="app.title"/></title>
<link rel='stylesheet' type='text/css' href='<html:rewrite
page="/style.css"/>'>
<html:base/>
</head>
<body bgcolor='#ffffff' marginwidth='0' marginheight='0'>
<table border='0' cellpadding='10' cellspacing='0' width='100%' height='100%'>
<tr>
<td class='panel' align='right' colspan='2' width='100%'>
<h1 class='headline1'><font color='#ffffff' size='3'><bean:message
key="app.title"/></font></h1>
<h2 class='headline2'><font color='#eeeeee' size='1'>Namespace:
<i><bean:write name='namespace' property='name'/></i></font></h2>
</td>
</tr>
<tr>
<td class='panel' align='center' bgcolor='#023264' height='100%'>
<hr>
<table border='0' cellpadding='0' cellspacing='0' class='panelMenu'>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/index.jsp'><bean:message
key="home.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/users.jsp'><bean:message
key="users.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/locks.jsp'><bean:message
key="locks.title"/></html:link>
</td>
</tr>
</table>
<hr>
<br>
<br>
</td>
<td class='content' align='left' valign='top' width='100%' height='100%'>
<br>
<span class='contentText'>
<bean:message key="app.welcome"/>
</span>
</td>
</tr>
</table>
</body>
</slide:namespace>
</html:html>
1.1 jakarta-slide/web/admin/locks.jsp
Index: locks.jsp
===================================================================
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %>
<html:html locale='true'>
<slide:namespace id='namespace'>
<head>
<title><bean:message key="app.title"/>: <bean:message
key="locks.title"/></title>
<link rel='stylesheet' type='text/css' href='<html:rewrite
page="/style.css"/>'>
<html:base/>
</head>
<body bgcolor='#ffffff' marginwidth='0' marginheight='0'>
<table border='0' cellpadding='10' cellspacing='0' width='100%' height='100%'>
<tr>
<td class='panel' align='right' colspan='2' width='100%'>
<h1 class='headline1'><font color='#ffffff' size='3'><bean:message
key="app.title"/></font></h1>
<h2 class='headline2'><font color='#eeeeee' size='1'><bean:message
key="namespace.label"/><i><bean:write name='namespace'
property='name'/></i></font></h2>
</td>
</tr>
<tr>
<td class='panel' align='center' bgcolor='#023264' height='100%'>
<hr>
<table border='0' cellpadding='0' cellspacing='0' class='panelMenu'>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/index.jsp'><bean:message
key="home.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/users.jsp'><bean:message
key="users.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/locks.jsp'><bean:message
key="locks.title"/></html:link>
</td>
</tr>
</table>
<hr>
<br>
<br>
</td>
<td class='content' align='left' valign='top' width='100%' height='100%'>
<br>
<html:errors/>
<br>
<html:form action='/killLocks.do' method='POST'>
<table border='0' cellspacing='0' cellpadding='0' class='list'
width='100%'>
<tr>
<th class='listHeader'> </th>
<th class='listHeader' align='left'><bean:message
key="locks.label.object"/></th>
<th class='listHeader' align='left'><bean:message
key="locks.label.subject"/></th>
<th class='listHeader' align='left'><bean:message
key="locks.label.type"/></th>
<th class='listHeader' align='left'><bean:message
key="locks.label.expires"/></th>
</tr>
<slide:node id='node' uri='/'>
<slide:iterateLocks id='lock' depth='infinity'>
<tr>
<td class='listCell' align='center'>
<html:multibox property='locks'>
<bean:write name='lock' property='objectUri'/>
</html:multibox>
</td>
<td class='listCell' align='left'>
<bean:write name='lock' property='objectUri'/>
</td>
<td class='listCell' align='left'>
<bean:write name='lock' property='subjectUri'/>
</td>
<td class='listCell' align='left'>
<bean:write name='lock' property='typeUri'/>
</td>
<td class='listCell' align='left'>
<bean:write name='lock' property='expirationDate'/>
</td>
</tr>
</slide:iterateLocks>
</slide:node>
</table>
<br>
<html:submit>
<bean:message key="killLocks.title"/>
</html:submit>
</html:form>
</td>
</tr>
</table>
</body>
</slide:namespace>
</html:html>
1.1 jakarta-slide/web/admin/style.css
Index: style.css
===================================================================
body {
background-color: #ffffff;
color: #000000;
font-family: sans-serif;
font-size: 10pt;
margin: 0px;
padding: 0px;
}
.headline1 {
font-family: sans-serif;
margin: 0cm;
}
.headline2 {
font-family: sans-serif;
margin: 0cm;
}
.headline3 {
font-family: sans-serif;
margin: 0cm;
}
.panel {
background-color: #023264;
border-style: none;
border-width: 0px;
padding: 0.25cm;
vertical-align: top;
}
.panelMenu {
list-style: none;
margin: 0cm;
margin-top: 0.25cm;
padding: 0cm;
}
.panelMenuItem {
color: #cccccc;
font-family: sans-serif;
font-size: 9pt;
margin: 5px;
padding: 1px;
text-decoration: none;
}
.panelMenuItem a {
color: #cccccc;
font-family: sans-serif;
font-size: 9pt;
margin: 5px;
padding: 1px;
text-decoration: none;
}
.panelMenuItem a:hover {
background-color: #cccccc;
color: #023264;
font-family: sans-serif;
font-size: 9pt;
text-decoration: none;
}
.panelMenuItemActive {
background-color: #5787b9;
color: #023264;
font-family: sans-serif;
font-size: 9pt;
text-decoration: none;
}
.toolbar {
background-color: #ffffff;
border-style: none;
border-width: 0px;
color: #000000;
font-family: sans-serif;
font-size: 9pt;
padding: 0.15cm;
vertical-align: bottom;
}
.content {
background-color: #ffffff;
color: #000000;
font-size: 9pt;
padding: 0.25cm;
vertical-align: top;
}
.contentHeadline {
color: #023264;
font-family: sans-serif;
font-size: 12pt;
font-style: normal;
font-weight: bold;
text-align: left;
}
.contentText {
color: #000000;
font-family: sans-serif;
font-size: 9pt;
font-style: normal;
font-weight: normal;
text-align: justify;
}
.list {
background-color: #ffffee;
border-color: #dddddd;
border-width: 0px;
font-family: sans-serif;
font-size: 9pt;
padding: 0cm;
}
.listAction {
font-family: sans-serif;
font-size: 10pt;
margin: 5px;
padding: 5px;
}
.listAction:hover {
font-family: sans-serif;
font-size: 10pt;
margin: 5px;
padding: 5px;
}
.listHeader {
background-color: #dddddd;
border-color: #dddddd;
border-width: 1px;
border-style: outset;
color: #555555;
font-family: sans-serif;
font-size: 8pt;
font-weight: normal;
font-style: italic;
padding: 0.1cm;
}
.listCell {
font-family: sans-serif;
font-size: 9pt;
padding: 5px;
}
.dialog {
background-color: #dddddd;
border-color: #dddddd;
border-width: 1px;
border-style: outset;
font-family: sans-serif;
font-size: 9pt;
padding: 0.25cm;
}
.dialogLabel {
color: #555576;
font-family: sans-serif;
font-size: 9pt;
}
.error {
color: red;
font-family: sans-serif;
font-size: 9pt;
}
1.1 jakarta-slide/web/admin/users.jsp
Index: users.jsp
===================================================================
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/slide-struts.tld" prefix="slide" %>
<html:html locale='true'>
<slide:namespace id='namespace'>
<head>
<title><bean:message key="app.title"/>: <bean:message
key="users.title"/></title>
<link rel='stylesheet' type='text/css' href='<html:rewrite
page="/style.css"/>'>
<html:base/>
</head>
<body bgcolor='#ffffff' marginwidth='0' marginheight='0'>
<table border='0' cellpadding='10' cellspacing='0' width='100%' height='100%'>
<tr>
<td class='panel' align='right' colspan='2' width='100%'>
<h1 class='headline1'><font color='#ffffff' size='3'><bean:message
key="app.title"/></font></h1>
<h2 class='headline2'><font color='#eeeeee' size='1'>Namespace:
<i><bean:write name='namespace' property='name'/></i></font></h2>
</td>
</tr>
<tr>
<td class='panel' align='center' bgcolor='#023264' height='100%'>
<hr>
<table border='0' cellpadding='0' cellspacing='0' class='panelMenu'>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/index.jsp'><bean:message
key="home.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/users.jsp'><bean:message
key="users.title"/></html:link>
</td>
</tr>
<tr>
<td align='left' valign='middle' class='panelMenuItem'>
<html:link page='/locks.jsp'><bean:message
key="locks.title"/></html:link>
</td>
</tr>
</table>
<hr>
<br>
<br>
</td>
<td class='content' align='left' valign='top' width='100%' height='100%'>
<html:link forward='addUser' styleClass='listAction'><bean:message
key="addUser.title"/></html:link>
<br>
<html:errors/>
<br>
<html:form action='/removeUsers.do' method='POST'>
<table class='list' border='0' cellspacing='0' cellpadding='0'
width='100%'>
<tr>
<th class='listHeader'> </th>
<th class='listHeader' align='left'><bean:message
key="users.label.name"/></th>
<th class='listHeader' align='left'><bean:message
key="users.label.uri"/></th>
<th class='listHeader' align='left'><bean:message
key="users.label.lastmodified"/></th>
</tr>
<slide:node uri='/'>
<slide:iterateMembers id='user' depth='2' includeRoles='root,user'
includeTypes='subject'>
<tr>
<td class='listCell' align='center' valign='top'>
<html:multibox property='users'>
<bean:write name='user' property='uri'/>
</html:multibox>
</td>
<td class='listCell' align='left' valign='top'>
<html:link forward='editUser' paramId='uri' paramName='user'
paramProperty='uri'><bean:write name='user' property='name'/></html:link>
</td>
<td class='listCell' align='left' valign='top'>
<bean:write name='user' property='uri'/><br>
</td>
<logic:equal name='user' property='hasRevisions' value='true'>
<slide:revision id='revision'>
<td class='listCell' align='left' valign='top'>
<slide:property id='prop' namespace='DAV:'
name='getlastmodified'>
<bean:write name='prop' property='value'/>
</slide:property>
</td>
</slide:revision>
</logic:equal>
<logic:notEqual name='user' property='hasRevisions'
value='true'>
<td> </td>
</logic:notEqual>
</tr>
</slide:iterateMembers>
</slide:node>
</table>
<br>
<html:submit>
<bean:message key="removeUsers.title"/>
</html:submit>
</html:form>
</td>
</tr>
</table>
</body>
</slide:namespace>
</html:html>
1.1 jakarta-slide/web/admin/WEB-INF/struts-config.xml
Index: struts-config.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<!-- Struts configuration for the Slide Administration Webapp -->
<struts-config>
<!-- ========== Form Bean Definitions =================================== -->
<form-beans>
<form-bean name="user"
type="org.apache.slide.admin.users.UserForm"/>
<form-bean name="users"
type="org.apache.slide.admin.users.UsersForm"/>
<form-bean name="locks"
type="org.apache.slide.admin.locks.LocksForm"/>
</form-beans>
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
<forward name="addUser"
path="/addUser.jsp"/>
<forward name="editUser"
path="/editUser.do"/>
<forward name="removeUsers"
path="/removeUsers.do"/>
<forward name="killLocks"
path="/killLocks.do"/>
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<action path="/addUser"
type="org.apache.slide.admin.users.AddUserAction"
name="user"
scope="request"
input="/addUser.jsp">
<forward name="addUser.cancelled"
path="/users.jsp"
redirect="true"/>
<forward name="addUser.success"
path="/users.jsp"
redirect="true"/>
<forward name="addUser.failure"
path="/addUser.jsp"/>
</action>
<action path="/editUser"
type="org.apache.slide.admin.users.EditUserAction"
scope="request"
input="/users.jsp">
<forward name="editUser.success"
path="/editUser.jsp"/>
<forward name="editUser.failure"
path="/users.jsp"/>
</action>
<action path="/removeUsers"
type="org.apache.slide.admin.users.RemoveUsersAction"
name="users"
scope="request"
input="/users.jsp">
<forward name="removeUsers.success"
path="/users.jsp"
redirect="true"/>
<forward name="removeUsers.failure"
path="/users.jsp"/>
</action>
<action path="/saveUser"
type="org.apache.slide.admin.users.SaveUserAction"
name="user"
scope="request"
input="/editUser.jsp">
<forward name="saveUser.cancelled"
path="/users.jsp"
redirect="true"/>
<forward name="saveUser.success"
path="/users.jsp"
redirect="true"/>
<forward name="saveUser.failure"
path="/editUser.jsp"/>
</action>
<action path="/killLocks"
type="org.apache.slide.admin.locks.KillLocksAction"
name="locks"
scope="request"
input="/locks.jsp">
<forward name="killLocks.success"
path="/locks.jsp"
redirect="true"/>
<forward name="killLocks.failure"
path="/locks.jsp"/>
</action>
</action-mappings>
</struts-config>
1.1 jakarta-slide/web/admin/WEB-INF/web.xml
Index: web.xml
===================================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<!-- Context Initialization Parameters -->
<context-param>
<param-name>domain</param-name>
<param-value>/web/extranet/teamdoc/WEB-INF/domain.xml</param-value>
</context-param>
<context-param>
<param-name>namespace</param-name>
<param-value>slide</param-value>
</context-param>
<!-- Action Servlet Configuration -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>slide-admin</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>nocache</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<!-- Establish the default list of welcome files -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<!-- Slide Tag Library Descriptor -->
<taglib>
<taglib-uri>/WEB-INF/slide-struts.tld</taglib-uri>
<taglib-location>/WEB-INF/slide-struts.tld</taglib-location>
</taglib>
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<!-- Security Contraints -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Slide Administration</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>root</role-name>
</auth-constraint>
</security-constraint>
<!-- Login Configuration -->
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Slide Administration</realm-name>
</login-config>
</web-app>