Subversion Repositories bacoAlunos

Rev

Rev 1873 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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