aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/resources/struts.xml
diff options
context:
space:
mode:
Diffstat (limited to 'id/ConfigWebTool/src/main/resources/struts.xml')
-rw-r--r--id/ConfigWebTool/src/main/resources/struts.xml74
1 files changed, 68 insertions, 6 deletions
diff --git a/id/ConfigWebTool/src/main/resources/struts.xml b/id/ConfigWebTool/src/main/resources/struts.xml
index 34e11c7c9..652df73d8 100644
--- a/id/ConfigWebTool/src/main/resources/struts.xml
+++ b/id/ConfigWebTool/src/main/resources/struts.xml
@@ -20,36 +20,98 @@
<result name="error">/error.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
+ </package>
+
+ <package name="secure" namespace="/secure" extends="struts-default">
+
+ <default-interceptor-ref name="defaultStack"/>
<action name="main" method="generateMainFrame" class="at.gv.egovernment.moa.id.configuration.struts.action.MainAction">
<result name="success">/jsp/mainpage.jsp</result>
<result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
<action name="listallapplications" method="listAllOnlineAppliactions" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
<result name="success">/jsp/listOAs.jsp</result>
<result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
-
- <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
- <result name="oa_general">/jsp/editOAGeneral.jsp</result>
+
+ <action name="searchOAInit" method="searchOAInit" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
+ <result name="success">/jsp/searchOAs.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="searchOA" method="searchOA" class="at.gv.egovernment.moa.id.configuration.struts.action.ListOAsAction">
+ <result name="success">/jsp/searchOAs.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="newOA" method="newOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result name="editOA">/jsp/editOAGeneral.jsp</result>
<result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="loadOA" method="inital" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result name="editOA">/jsp/editOAGeneral.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
- <action name="saveGeneral" method="saveGeneral" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <action name="saveOA" method="saveOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
<result name="success" type="chain">main</result>
- <result name="error">/jsp/editOAGeneral.jsp</result>
+ <result name="error_validation">/jsp/editOAGeneral.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
- <action name="cancleandback" method="cancleAndBack" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <action name="cancleandbackOA" method="cancleAndBackOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
<result type="chain">main</result>
+ <result name="reauthentication">/index.jsp</result>
<interceptor-ref name="defaultStack"/>
</action>
+ <action name="deleteOA" method="deleteOA" class="at.gv.egovernment.moa.id.configuration.struts.action.EditOAAction">
+ <result type="chain">main</result>
+ <result name="error_validation">/jsp/editOAGeneral.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="loadGeneralConfig" method="loadConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success">/jsp/editGeneralConfig.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <result name="notallowed" type="chain">main</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="saveGeneralConfig" method="saveConfig" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success" type="chain">main</result>
+ <result name="error_validation">/jsp/editGeneralConfig.jsp</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <result name="notallowed" type="chain">main</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
+ <action name="backGeneralConfig" method="back" class="at.gv.egovernment.moa.id.configuration.struts.action.EditGeneralConfigAction">
+ <result name="success" type="chain">main</result>
+ <result name="error">/error.jsp</result>
+ <result name="reauthentication">/index.jsp</result>
+ <interceptor-ref name="defaultStack"/>
+ </action>
+
</package>
</struts> \ No newline at end of file