forked from OpenIdentityPlatform/OpenAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathamCORS.xml
More file actions
136 lines (126 loc) · 5.63 KB
/
amCORS.xml
File metadata and controls
136 lines (126 loc) · 5.63 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
The contents of this file are subject to the terms
of the Common Development and Distribution License
(the License). You may not use this file except in
compliance with the License.
You can obtain a copy of the License at
https://opensso.dev.java.net/public/CDDLv1.0.html or
opensso/legal/CDDLv1.0.txt
See the License for the specific language governing
permission and limitations under the License.
When distributing Covered Code, include this CDDL
Header Notice in each file and include the License file
at opensso/legal/CDDLv1.0.txt.
If applicable, add the following below the CDDL Header,
with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
$Id: amCORS.xml,v 1.3 2024/02/16 05:45:41 qcheng Exp $
Portions Copyrighted 2025 3A Systems LLC.
-->
<!DOCTYPE ServicesConfiguration
PUBLIC "=//iPlanet//Service Management Services (SMS) 1.0 DTD//EN"
"jar://com/sun/identity/sm/sms.dtd">
<ServicesConfiguration>
<Service name="CORSService" version="1.0">
<Schema
serviceHierarchy="/DSAMEConfig/CORSService"
i18nFileName="amCORS"
resourceName="cors"
i18nKey="cors-service-description" revisionNumber="2">
<Global>
<AttributeSchema name="cors-enabled"
type="single"
syntax="boolean"
i18nKey="a101"
order="100"
resourceName="enabled">
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="allowed-origins"
type="list"
syntax="url"
i18nKey="a102"
order="200"
resourceName="allowedOrigins">
<DefaultValues>
<Value>*</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="accepted-methods"
type="list"
syntax="string"
i18nKey="a103"
order="300"
resourceName="acceptedMethods">
<DefaultValues>
<Value>GET</Value>
<Value>POST</Value>
<Value>PUT</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="accepted-headers"
type="list"
syntax="string"
i18nKey="a104"
order="400"
resourceName="acceptedHeaders">
<DefaultValues>
<Value>Origin</Value>
<Value>Accept</Value>
<Value>Connection</Value>
<Value>User-Agent</Value>
<Value>Host</Value>
<Value>Accept-Encoding</Value>
<Value>Accept-Language</Value>
<Value>Content-Length</Value>
<Value>Content-Type</Value>
<Value>Upgrade-Insecure-Requests</Value>
<Value>Referer</Value>
<Value>Cookie</Value>
<Value>Accept-API-Version</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="exposed-headers"
type="list"
syntax="string"
i18nKey="a105"
order="500"
resourceName="exposedHeaders">
</AttributeSchema>
<AttributeSchema name="max-age"
type="single"
syntax="number"
i18nKey="a106"
order="600"
resourceName="maxAge">
<DefaultValues>
<Value>600</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="allow-credentials"
type="single"
syntax="boolean"
i18nKey="a107"
order="700"
resourceName="allowCredentials">
<DefaultValues>
<Value>false</Value>
</DefaultValues>
</AttributeSchema>
<AttributeSchema name="expected-hostname"
type="single"
syntax="string"
i18nKey="a108"
order="800"
resourceName="expectedHostname">
</AttributeSchema>
</Global>
</Schema>
</Service>
</ServicesConfiguration>