Subversion Repositories bacoAlunos

Rev

Rev 1857 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1704 jmachado 1
<?xml version="1.0" encoding="UTF-8"?>
2
 
3
<!--<!DOCTYPE struts-config PUBLIC-->
4
        <!--"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"-->
5
        <!--"http://struts.apache.org/dtds/struts-config_1_3.dtd">-->
6
 
7
<struts-config>
8
 
9
 
10
    <form-beans>
11
 
12
    </form-beans>
13
 
14
    <global-exceptions>
15
 
16
    </global-exceptions>
17
 
18
    <global-forwards>
19
 
20
    </global-forwards>
21
 
22
    <action-mappings>
23
 
1830 jmachado 24
        <!--
1704 jmachado 25
 
1830 jmachado 26
            All actions mapped in /wsjson/api/app/*
27
 
28
            Este Mapeador indexa todos os serviços disponiveis no sistema
29
            chamando os servicos finais atraves de um encaminhamento
30
 
31
 
32
            servicos iniciados por /wsjson/api/app/securo
33
            requerem a autenticao com o servico ws-authenticate
34
            Este servico gera um certificado para o user tipo APP
35
            em questão. Estando gerada a chave essa deve ser anexada como
36
            parametro HTTP em todos os pedidos para que o filtro de certificação
37
            possa autenticar o user no inicio de cada pedido
38
 
39
            O certificado expira em 15 dias
40
        -->
41
 
42
 
1704 jmachado 43
        <action path="/ws-services" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListServices"/>
44
 
45
        <action path="/startGenerateChaveApps" forward="page.gen.chave.apps.password.pae"/>
46
 
1847 jmachado 47
 
1704 jmachado 48
        <action path="/ws-authenticate" forward="/authenticateWidget.do?dispatch=executeService&amp;serviceJson=authenticateApp"/>
1847 jmachado 49
        <!--SERVICOS SEGUROS AO NIVEL DO BERSERK-->
1704 jmachado 50
        <action path="/secure/ws-login-challenge" forward="/user/jsonModel.do?dispatch=executeSimpleServiceOkFail&amp;serviceJson=wsLoginMobileChallenge"/>
51
        <action path="/secure/ws-student-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListStudents"/>
52
        <action path="/secure/ws-teacher-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListTeachers"/>
1847 jmachado 53
        <action path="/secure/ws-coordinators-list" forward="/user/jsonModel.do?dispatch=executeService&amp;serviceJson=wsListCoordinators"/>
1704 jmachado 54
 
1847 jmachado 55
        <!--SERVICOS ABERTOS POR ENQUANTO-->
1875 grupo1 56
        <action path="/ws-units-report-list" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=getCourseUnitsEvaluations"/>-->
1830 jmachado 57
        <action path="/ws-course-pedagogic-results-list" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=findPedagogicReport4Period"/>
58
        <action path="/ws-units-dtp-stats" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=getCourseUnitDtpStats"/>
1875 grupo1 59
        <action path="/ws-course-unit-plan-year" forward="/json/coursesServices.do?dispatch=executeService&amp;serviceJson=loadPlanYearForCourseUnitCode"/>
1830 jmachado 60
 
61
 
62
 
1704 jmachado 63
    </action-mappings>
64
 
65
 
66
</struts-config>