-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodule.xml
More file actions
executable file
·40 lines (37 loc) · 1.3 KB
/
Copy pathmodule.xml
File metadata and controls
executable file
·40 lines (37 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Document name="esh-sample-rest.ZPM">
<Module>
<Description>And example of a secured REST API deployment with Roles, Users and Access management</Description>
<Name>esh-sample-rest</Name>
<Version>1.0.2</Version>
<Packaging>module</Packaging>
<SourcesRoot>src</SourcesRoot>
<Resource Name="esh.sample.rest.PKG"/>
<Invoke Class="esh.sample.rest.Person" Method="AddTestData"></Invoke>
<Invoke Class="esh.sample.rest.Security" Method="CreateUsers"></Invoke>
<Invoke Class="esh.sample.rest.Security" Method="CreateRoles"></Invoke>
<Invoke Class="esh.sample.rest.Security" Method="GrantRoles"></Invoke>
<CSPApplication
Url="/crud"
DispatchClass="esh.sample.rest.PersonREST"
MatchRoles=":{$dbrole}"
PasswordAuthEnabled="1"
UnauthenticatedEnabled="0"
Recurse="1"
UseCookies="2"
CookiePath="/crud"
/>
<CSPApplication
Url="/crudall"
DispatchClass="esh.sample.rest.PersonREST"
MatchRoles=":{$dbrole}"
PasswordAuthEnabled="0"
UnauthenticatedEnabled="1"
Recurse="1"
UseCookies="2"
CookiePath="/crudall"
/>
</Module>
</Document>
</Export>