opensubscriber
   Find in this group all groups
 
Unknown more information…

a : andromda-user@lists.sourceforge.net 17 August 2005 • 4:21PM -0400

[Andromda-user] [Bpm4Struts cartridge] [security + jboss]
by "Mohamed" (AndroMDA Forum)

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi i am using AndroMDA 3.0



web.xml is as follows



<?xml version="1.0" encoding="UTF-8"?>



<web-app xmlns="http://java.sun.com/xml/ns/j2ee"

         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"

         version="2.4">



   



   

    <filter>

        <filter-name>ResponseOverrideFilter</filter-name>

        <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>

    </filter>



   

    <filter-mapping>

        <filter-name>ResponseOverrideFilter</filter-name>

        <url-pattern>*.do</url-pattern>

    </filter-mapping>

    <filter-mapping>

        <filter-name>ResponseOverrideFilter</filter-name>

        <url-pattern>*.jsp</url-pattern>

    </filter-mapping>

   

   



   

    <servlet>

        <servlet-name>action</servlet-name>

        <servlet-class>org.andromda.presentation.bpm4struts.ActionServlet</servlet-class>

        <init-param>

            <param-name>config</param-name>

            <param-value>/WEB-INF/struts-config.xml</param-value>

        </init-param>

        <init-param>

            <param-name>debug</param-name>

            <param-value>3</param-value>

        </init-param>

        <init-param>

            <param-name>detail</param-name>

            <param-value>3</param-value>

        </init-param>

        <init-param>

            <param-name>validate</param-name>

            <param-value>true</param-value>

        </init-param>

        <load-on-startup>1</load-on-startup>

    </servlet>



    <!-- precompilation merge-point -->

   

    <servlet-mapping>

        <servlet-name>action</servlet-name>

        <url-pattern>*.do</url-pattern>

    </servlet-mapping>

   

    <!-- session-config merge-point -->

   

   



    <welcome-file-list>

       

        <welcome-file>index.jsp</welcome-file>

    </welcome-file-list>

   

   

    <!-- taglib merge-point -->

    <!-- resource-ref merge-point -->



   

    <security-constraint>

        <web-resource-collection>

            <web-resource-name>timesheets resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "timesheets" use-case

            </description>

            <url-pattern>/timesheet/controllers/timesheets/*</url-pattern>

            <url-pattern>/Timesheets/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>employee</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <security-constraint>

        <web-resource-collection>

            <web-resource-name>project manager approval resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "project manager approval" use-case

            </description>

            <url-pattern>/timesheet/controllers/projectmanagerapproval/*</url-pattern>

            <url-pattern>/ProjectManagerApproval/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>projectManager</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <security-constraint>

        <web-resource-collection>

            <web-resource-name>allocations resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "allocations" use-case

            </description>

            <url-pattern>/timesheet/controllers/allocations/*</url-pattern>

            <url-pattern>/Allocations/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>resourceManager</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <security-constraint>

        <web-resource-collection>

            <web-resource-name>projects resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "projects" use-case

            </description>

            <url-pattern>/timesheet/controllers/projects/*</url-pattern>

            <url-pattern>/Projects/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>operationManager</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <security-constraint>

        <web-resource-collection>

            <web-resource-name>reports resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "reports" use-case

            </description>

            <url-pattern>/timesheet/controllers/reports/*</url-pattern>

            <url-pattern>/Reports/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>manager</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <security-constraint>

        <web-resource-collection>

            <web-resource-name>operation manager approval resources</web-resource-name>

            <description>

                This collection bundles all pages and resources

                as well as the actions called in the "operation manager approval" use-case

            </description>

            <url-pattern>/timesheet/controllers/operationmanagerapproval/*</url-pattern>

            <url-pattern>/OperationManagerApproval/*</url-pattern>

        </web-resource-collection>

        <auth-constraint>

            <role-name>operationManager</role-name>

        </auth-constraint>

        <user-data-constraint>

            <transport-guarantee>NONE</transport-guarantee>

        </user-data-constraint>

    </security-constraint>



    <login-config>

        <auth-method>FORM</auth-method>

        <realm-name>timesheet</realm-name>

        <form-login-config>

            <form-login-page>/login/login-form.jsp</form-login-page>

            <form-error-page>/login/login-form.jsp?action=error</form-error-page>

        </form-login-config>

    </login-config>



   

    <security-role>

        <role-name>manager</role-name>

    </security-role>

    <security-role>

        <role-name>projectManager</role-name>

    </security-role>

    <security-role>

        <role-name>operationManager</role-name>

    </security-role>

    <security-role>

        <role-name>employee</role-name>

    </security-role>

    <security-role>

        <role-name>resourceManager</role-name>

    </security-role>



</web-app>





and mus struts-config.xml is as follows



<?xml version="1.0" encoding="UTF-8" ?>



<!DOCTYPE struts-config PUBLIC

    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"

    "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">



<struts-config>



    <!-- display-name merge point -->



    <!-- description merge point -->



    <data-sources>

        <!-- data-sources merge point -->

    </data-sources>



    <form-beans>

        <!-- form-beans merge-point -->

        <form-bean

            name="timesheetsWeeksProceedForm"

            type="timesheet.controllers.timesheets.WeeksProceedFormImpl" />

        <form-bean

            name="timesheetsWeekEntriesRemoveForm"

            type="timesheet.controllers.timesheets.WeekEntriesRemoveFormImpl" />

        <form-bean

            name="timesheetsTimesheetsForm"

            type="timesheet.controllers.timesheets.TimesheetsFormImpl" />

        <form-bean

            name="timesheetsWeekEntriesAddEntryForm"

            type="timesheet.controllers.timesheets.WeekEntriesAddEntryFormImpl" />

        <form-bean

            name="timesheetsWeekEntriesSaveEntriesForm"

            type="timesheet.controllers.timesheets.WeekEntriesSaveEntriesFormImpl" />

        <form-bean

            name="projectManagerApprovalViewWeekEntriesApproveWeekForm"

            type="timesheet.controllers.projectmanagerapproval.ViewWeekEntriesApproveWeekFormImpl" />

        <form-bean

            name="projectManagerApprovalEmployeesProceedForm"

            type="timesheet.controllers.projectmanagerapproval.EmployeesProceedFormImpl" />

        <form-bean

            name="projectManagerApprovalProjectsProceedForm"

            type="timesheet.controllers.projectmanagerapproval.ProjectsProceedFormImpl" />

        <form-bean

            name="projectManagerApprovalProjectManagerApprovalForm"

            type="timesheet.controllers.projectmanagerapproval.ProjectManagerApprovalFormImpl" />

        <form-bean

            name="projectManagerApprovalWeeksProceedForm"

            type="timesheet.controllers.projectmanagerapproval.WeeksProceedFormImpl" />

        <form-bean

            name="projectManagerApprovalViewWeekEntriesNothingForm"

            type="timesheet.controllers.projectmanagerapproval.ViewWeekEntriesNothingFormImpl" />

        <form-bean

            name="allocationsViewAllocationsAddAllocationForm"

            type="timesheet.controllers.allocations.ViewAllocationsAddAllocationFormImpl" />

        <form-bean

            name="allocationsViewAllocationsNothingForm"

            type="timesheet.controllers.allocations.ViewAllocationsNothingFormImpl" />

        <form-bean

            name="allocationsAllocationsForm"

            type="timesheet.controllers.allocations.AllocationsFormImpl" />

        <form-bean

            name="projectsManageProjectsEditForm"

            type="timesheet.controllers.projects.ManageProjectsEditFormImpl" />

        <form-bean

            name="projectsProjectsForm"

            type="timesheet.controllers.projects.ProjectsFormImpl" />

        <form-bean

            name="projectsEditProjectFormEditProjectForm"

            type="timesheet.controllers.projects.EditProjectFormEditProjectFormImpl" />

        <form-bean

            name="projectsManageProjectsAddProjectForm"

            type="timesheet.controllers.projects.ManageProjectsAddProjectFormImpl" />

        <form-bean

            name="reportsChooseReportPayrollForm"

            type="timesheet.controllers.reports.ChooseReportPayrollFormImpl" />

        <form-bean

            name="reportsReportsForm"

            type="timesheet.controllers.reports.ReportsFormImpl" />

        <form-bean

            name="reportsChooseReportBillingForm"

            type="timesheet.controllers.reports.ChooseReportBillingFormImpl" />

        <form-bean

            name="operationManagerApprovalViewEntriesApproveWeekForm"

            type="timesheet.controllers.operationmanagerapproval.ViewEntriesApproveWeekFormImpl" />

        <form-bean

            name="operationManagerApprovalOperationManagerApprovalForm"

            type="timesheet.controllers.operationmanagerapproval.OperationManagerApprovalFormImpl" />

        <form-bean

            name="operationManagerApprovalEmployeesProceedForm"

            type="timesheet.controllers.operationmanagerapproval.EmployeesProceedFormImpl" />

        <form-bean

            name="operationManagerApprovalWeeksProceedForm"

            type="timesheet.controllers.operationmanagerapproval.WeeksProceedFormImpl" />

        <form-bean

            name="operationManagerApprovalViewEntriesNothingForm"

            type="timesheet.controllers.operationmanagerapproval.ViewEntriesNothingFormImpl" />

    </form-beans>



    <global-exceptions>

        <!-- global-exceptions merge point -->

    </global-exceptions>



    <global-forwards>

       

        <forward

            name="timesheets"

            path="/Timesheets/Timesheets.do"

            redirect="false" />

        <forward

            name="project.manager.approval"

            path="/ProjectManagerApproval/ProjectManagerApproval.do"

            redirect="false" />

        <forward

            name="allocations"

            path="/Allocations/Allocations.do"

            redirect="false" />

        <forward

            name="projects"

            path="/Projects/Projects.do"

            redirect="false" />

        <forward

            name="reports"

            path="/Reports/Reports.do"

            redirect="false" />

        <forward

            name="operation.manager.approval"

            path="/OperationManagerApproval/OperationManagerApproval.do"

            redirect="false" />

    </global-forwards>



    <action-mappings>

        <!-- action-mappings merge-point -->

        <action

            path="/Timesheets/WeeksProceed"

            type="timesheet.controllers.timesheets.WeeksProceed"

            name="timesheetsWeeksProceedForm"

            scope="request"

            input="/timesheet/controllers/timesheets/weeks.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="timesheets.weeks.proceed.exception"

                path="/timesheet/controllers/timesheets/weeks.jsp"

                scope="request" />

            <forward

                name="week.entries"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                redirect="false" />

        </action>

        <action

            path="/Timesheets/WeekEntriesRemove"

            type="timesheet.controllers.timesheets.WeekEntriesRemove"

            name="timesheetsWeekEntriesRemoveForm"

            scope="request"

            input="/timesheet/controllers/timesheets/week-entries.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="timesheets.week.entries.remove.exception"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                scope="request" />

            <forward

                name="week.entries"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                redirect="false" />

        </action>

        <action

            path="/Timesheets/Timesheets"

            type="timesheet.controllers.timesheets.Timesheets"

            name="timesheetsTimesheetsForm"

            roles="employee"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="weeks"

                path="/timesheet/controllers/timesheets/weeks.jsp"

                redirect="false" />

        </action>

        <action

            path="/Timesheets/WeekEntriesAddEntry"

            type="timesheet.controllers.timesheets.WeekEntriesAddEntry"

            name="timesheetsWeekEntriesAddEntryForm"

            scope="request"

            input="/timesheet/controllers/timesheets/week-entries.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="timesheets.week.entries.add.entry.exception"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                scope="request" />

            <forward

                name="week.entries"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                redirect="false" />

        </action>

        <action

            path="/Timesheets/WeekEntriesSaveEntries"

            type="timesheet.controllers.timesheets.WeekEntriesSaveEntries"

            name="timesheetsWeekEntriesSaveEntriesForm"

            scope="request"

            input="/timesheet/controllers/timesheets/week-entries.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="timesheets.week.entries.save.entries.exception"

                path="/timesheet/controllers/timesheets/week-entries.jsp"

                scope="request" />

            <forward

                name="weeks"

                path="/timesheet/controllers/timesheets/weeks.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/ViewWeekEntriesApproveWeek"

            type="timesheet.controllers.projectmanagerapproval.ViewWeekEntriesApproveWeek"

            name="projectManagerApprovalViewWeekEntriesApproveWeekForm"

            scope="request"

            input="/timesheet/controllers/projectmanagerapproval/view-week-entries.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="project.manager.approval.view.week.entries.approve.week.exception"

                path="/timesheet/controllers/projectmanagerapproval/view-week-entries.jsp"

                scope="request" />

            <forward

                name="projects"

                path="/timesheet/controllers/projectmanagerapproval/projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/EmployeesProceed"

            type="timesheet.controllers.projectmanagerapproval.EmployeesProceed"

            name="projectManagerApprovalEmployeesProceedForm"

            scope="request"

            input="/timesheet/controllers/projectmanagerapproval/employees.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="project.manager.approval.employees.proceed.exception"

                path="/timesheet/controllers/projectmanagerapproval/employees.jsp"

                scope="request" />

            <forward

                name="weeks"

                path="/timesheet/controllers/projectmanagerapproval/weeks.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/ProjectsProceed"

            type="timesheet.controllers.projectmanagerapproval.ProjectsProceed"

            name="projectManagerApprovalProjectsProceedForm"

            scope="request"

            input="/timesheet/controllers/projectmanagerapproval/projects.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="project.manager.approval.projects.proceed.exception"

                path="/timesheet/controllers/projectmanagerapproval/projects.jsp"

                scope="request" />

            <forward

                name="employees"

                path="/timesheet/controllers/projectmanagerapproval/employees.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/ProjectManagerApproval"

            type="timesheet.controllers.projectmanagerapproval.ProjectManagerApproval"

            name="projectManagerApprovalProjectManagerApprovalForm"

            roles="projectManager"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="projects"

                path="/timesheet/controllers/projectmanagerapproval/projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/WeeksProceed"

            type="timesheet.controllers.projectmanagerapproval.WeeksProceed"

            name="projectManagerApprovalWeeksProceedForm"

            scope="request"

            input="/timesheet/controllers/projectmanagerapproval/weeks.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="project.manager.approval.weeks.proceed.exception"

                path="/timesheet/controllers/projectmanagerapproval/weeks.jsp"

                scope="request" />

            <forward

                name="view.week.entries"

                path="/timesheet/controllers/projectmanagerapproval/view-week-entries.jsp"

                redirect="false" />

        </action>

        <action

            path="/ProjectManagerApproval/ViewWeekEntriesNothing"

            type="timesheet.controllers.projectmanagerapproval.ViewWeekEntriesNothing"

            name="projectManagerApprovalViewWeekEntriesNothingForm"

            scope="request"

            input="/timesheet/controllers/projectmanagerapproval/view-week-entries.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="project.manager.approval.view.week.entries.nothing.exception"

                path="/timesheet/controllers/projectmanagerapproval/view-week-entries.jsp"

                scope="request" />

            <forward

                name="projects"

                path="/timesheet/controllers/projectmanagerapproval/projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/Allocations/ViewAllocationsAddAllocation"

            type="timesheet.controllers.allocations.ViewAllocationsAddAllocation"

            name="allocationsViewAllocationsAddAllocationForm"

            scope="request"

            input="/timesheet/controllers/allocations/view-allocations.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="allocations.view.allocations.add.allocation.exception"

                path="/timesheet/controllers/allocations/view-allocations.jsp"

                scope="request" />

            <forward

                name="view.allocations"

                path="/timesheet/controllers/allocations/view-allocations.jsp"

                redirect="false" />

        </action>

        <action

            path="/Allocations/ViewAllocationsNothing"

            type="timesheet.controllers.allocations.ViewAllocationsNothing"

            name="allocationsViewAllocationsNothingForm"

            scope="request"

            input="/timesheet/controllers/allocations/view-allocations.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="allocations.view.allocations.nothing.exception"

                path="/timesheet/controllers/allocations/view-allocations.jsp"

                scope="request" />

            <forward

                name="view.allocations"

                path="/timesheet/controllers/allocations/view-allocations.jsp"

                redirect="false" />

        </action>

        <action

            path="/Allocations/Allocations"

            type="timesheet.controllers.allocations.Allocations"

            name="allocationsAllocationsForm"

            roles="resourceManager"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="view.allocations"

                path="/timesheet/controllers/allocations/view-allocations.jsp"

                redirect="false" />

        </action>

        <action

            path="/Projects/ManageProjectsEdit"

            type="timesheet.controllers.projects.ManageProjectsEdit"

            name="projectsManageProjectsEditForm"

            scope="request"

            input="/timesheet/controllers/projects/manage-projects.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="projects.manage.projects.edit.exception"

                path="/timesheet/controllers/projects/manage-projects.jsp"

                scope="request" />

            <forward

                name="edit.project.form"

                path="/timesheet/controllers/projects/edit-project-form.jsp"

                redirect="false" />

        </action>

        <action

            path="/Projects/Projects"

            type="timesheet.controllers.projects.Projects"

            name="projectsProjectsForm"

            roles="operationManager"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="manage.projects"

                path="/timesheet/controllers/projects/manage-projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/Projects/EditProjectFormEditProject"

            type="timesheet.controllers.projects.EditProjectFormEditProject"

            name="projectsEditProjectFormEditProjectForm"

            scope="request"

            input="/timesheet/controllers/projects/edit-project-form.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="projects.edit.project.form.edit.project.exception"

                path="/timesheet/controllers/projects/edit-project-form.jsp"

                scope="request" />

            <forward

                name="manage.projects"

                path="/timesheet/controllers/projects/manage-projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/Projects/ManageProjectsAddProject"

            type="timesheet.controllers.projects.ManageProjectsAddProject"

            name="projectsManageProjectsAddProjectForm"

            scope="request"

            input="/timesheet/controllers/projects/manage-projects.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="projects.manage.projects.add.project.exception"

                path="/timesheet/controllers/projects/manage-projects.jsp"

                scope="request" />

            <forward

                name="manage.projects"

                path="/timesheet/controllers/projects/manage-projects.jsp"

                redirect="false" />

        </action>

        <action

            path="/Reports/ChooseReportPayroll"

            type="timesheet.controllers.reports.ChooseReportPayroll"

            name="reportsChooseReportPayrollForm"

            scope="request"

            input="/timesheet/controllers/reports/choose-report.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="reports.choose.report.payroll.exception"

                path="/timesheet/controllers/reports/choose-report.jsp"

                scope="request" />

        </action>

        <action

            path="/Reports/Reports"

            type="timesheet.controllers.reports.Reports"

            name="reportsReportsForm"

            roles="manager"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="choose.report"

                path="/timesheet/controllers/reports/choose-report.jsp"

                redirect="false" />

        </action>

        <action

            path="/Reports/ChooseReportBilling"

            type="timesheet.controllers.reports.ChooseReportBilling"

            name="reportsChooseReportBillingForm"

            scope="request"

            input="/timesheet/controllers/reports/choose-report.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="reports.choose.report.billing.exception"

                path="/timesheet/controllers/reports/choose-report.jsp"

                scope="request" />

        </action>

        <action

            path="/OperationManagerApproval/ViewEntriesApproveWeek"

            type="timesheet.controllers.operationmanagerapproval.ViewEntriesApproveWeek"

            name="operationManagerApprovalViewEntriesApproveWeekForm"

            scope="request"

            input="/timesheet/controllers/operationmanagerapproval/view-entries.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="operation.manager.approval.view.entries.approve.week.exception"

                path="/timesheet/controllers/operationmanagerapproval/view-entries.jsp"

                scope="request" />

            <forward

                name="employees"

                path="/timesheet/controllers/operationmanagerapproval/employees.jsp"

                redirect="false" />

        </action>

        <action

            path="/OperationManagerApproval/OperationManagerApproval"

            type="timesheet.controllers.operationmanagerapproval.OperationManagerApproval"

            name="operationManagerApprovalOperationManagerApprovalForm"

            roles="operationManager"

            scope="request"

            unknown="false"

            validate="false">

            <forward

                name="employees"

                path="/timesheet/controllers/operationmanagerapproval/employees.jsp"

                redirect="false" />

        </action>

        <action

            path="/OperationManagerApproval/EmployeesProceed"

            type="timesheet.controllers.operationmanagerapproval.EmployeesProceed"

            name="operationManagerApprovalEmployeesProceedForm"

            scope="request"

            input="/timesheet/controllers/operationmanagerapproval/employees.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="operation.manager.approval.employees.proceed.exception"

                path="/timesheet/controllers/operationmanagerapproval/employees.jsp"

                scope="request" />

            <forward

                name="weeks"

                path="/timesheet/controllers/operationmanagerapproval/weeks.jsp"

                redirect="false" />

        </action>

        <action

            path="/OperationManagerApproval/WeeksProceed"

            type="timesheet.controllers.operationmanagerapproval.WeeksProceed"

            name="operationManagerApprovalWeeksProceedForm"

            scope="request"

            input="/timesheet/controllers/operationmanagerapproval/weeks.jsp"

            unknown="false"

            validate="false">

            <exception

                type="java.lang.Exception"

                key="operation.manager.approval.weeks.proceed.exception"

                path="/timesheet/controllers/operationmanagerapproval/weeks.jsp"

                scope="request" />

            <forward

                name="view.entries"

                path="/timesheet/controllers/operationmanagerapproval/view-entries.jsp"

                redirect="false" />

        </action>

        <action

            path="/OperationManagerApproval/ViewEntriesNothing"

            type="timesheet.controllers.operationmanagerapproval.ViewEntriesNothing"

            name="operationManagerApprovalViewEntriesNothingForm"

            scope="request"

            input="/timesheet/controllers/operationmanagerapproval/view-entries.jsp"

            unknown="false"

            validate="true">

            <exception

                type="java.lang.Exception"

                key="operation.manager.approval.view.entries.nothing.exception"

                path="/timesheet/controllers/operationmanagerapproval/view-entries.jsp"

                scope="request" />

            <forward

                name="employees"

                path="/timesheet/controllers/operationmanagerapproval/employees.jsp"

                redirect="false" />

        </action>

    </action-mappings>



    <!-- controller merge point -->



    <!-- message-resources merge-point -->

    <message-resources parameter="application-resources" null="false"/>



    <!-- plug-in merge-point -->

    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">

        <set-property property="pathnames" value="/WEB-INF/validation.xml,/WEB-INF/validator-rules.xml"/>

        <set-property property="stopOnFirstError" value="false"/>

    </plug-in>



    <plug-in className="org.apache.struts.tiles.TilesPlugin">

        <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>

        <set-property property="definitions-parser-validate" value="true"/>

        <set-property property="moduleAware" value="true"/>

    </plug-in>



  <!--

    <plug-in className="net.sf.navigator.menu.MenuPlugIn">

        <set-property property="menuConfig" value="/WEB-INF/menu-config.xml"/>

    </plug-in>

  -->

 

</struts-config>





I am using simple user.properties and roles.properties files



I was browsing the generated web.xml I suspect two thing

1- the struts servlet tries to access a resource that is outside the roles of the currently  logged in user (but I dought this)

2- the ResponesOverrideFilter dot this (maybe)
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3930#3930
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@list...
https://lists.sourceforge.net/lists/listinfo/andromda-user

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.