Subversion Repositories bacoAlunos

Rev

Rev 1887 | Blame | Compare with Previous | Last modification | View Log | RSS feed

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

<!--<!DOCTYPE struts-config PUBLIC-->
        <!--"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"-->
        <!--"http://struts.apache.org/dtds/struts-config_1_3.dtd">-->

<struts-config>


    <form-beans>

    </form-beans>

    <global-exceptions>

    </global-exceptions>

    <global-forwards>

    </global-forwards>

    <action-mappings>

        <!--

           All actions mapped in /wsjson/api/app/*

           Este Mapeador indexa todos os serviços disponiveis no sistema
           chamando os servicos finais atraves de um encaminhamento


           servicos iniciados por /wsjson/api/app/securo
           requerem a autenticao com o servico ws-authenticate
           Este servico gera um certificado para o user tipo APP
           em questão. Estando gerada a chave essa deve ser anexada como
           parametro HTTP em todos os pedidos para que o filtro de certificação
           possa autenticar o user no inicio de cada pedido

           O certificado expira em 15 dias
       -->


        <action path="/ws-services" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListServices"/>

        <action path="/startGenerateChaveApps" forward="page.gen.chave.apps.password.pae"/>


        <action path="/ws-authenticate" forward="/authenticateWidget.do?dispatch=executeService&amp;serviceJson=authenticateApp"/>
        <!--SERVICOS SEGUROS AO NIVEL DO BERSERK-->
        <action path="/secure/ws-login-challenge" forward="/user/jsonModel.do?dispatch=executeSimpleServiceOkFail&amp;serviceJson=wsLoginMobileChallenge"/>
        <action path="/secure/ws-student-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListStudents"/>
        <action path="/secure/ws-teacher-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListTeachers"/>
        <action path="/secure/ws-coordinators-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListCoordinators"/>

        <!--SERVICOS ABERTOS POR ENQUANTO-->    <!--Erros porque Struts não aguento mais do que dois hops -->
        <action path="/ws-units-report-list" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=getCourseUnitsEvaluations"/>
        <action path="/ws-course-pedagogic-results-list" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=findPedagogicReport4Period"/>
        <action path="/ws-units-dtp-stats" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=getCourseUnitDtpStats"/>
            <action path="/ws-course-unit-plan-year" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=loadPlanYearForCourseUnitCode"/>

    </action-mappings>


</struts-config>