custom-adal 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +6 -0
  3. data/.rubocop.yml +7 -0
  4. data/.travis.yml +7 -0
  5. data/Gemfile +25 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +106 -0
  8. data/Rakefile +39 -0
  9. data/adal.gemspec +52 -0
  10. data/contributing.md +127 -0
  11. data/lib/adal/authentication_context.rb +202 -0
  12. data/lib/adal/authentication_parameters.rb +126 -0
  13. data/lib/adal/authority.rb +165 -0
  14. data/lib/adal/cache_driver.rb +171 -0
  15. data/lib/adal/cached_token_response.rb +190 -0
  16. data/lib/adal/client_assertion.rb +63 -0
  17. data/lib/adal/client_assertion_certificate.rb +89 -0
  18. data/lib/adal/client_credential.rb +46 -0
  19. data/lib/adal/core_ext/hash.rb +34 -0
  20. data/lib/adal/core_ext.rb +26 -0
  21. data/lib/adal/jwt_parameters.rb +39 -0
  22. data/lib/adal/logger.rb +90 -0
  23. data/lib/adal/logging.rb +98 -0
  24. data/lib/adal/memory_cache.rb +95 -0
  25. data/lib/adal/mex_request.rb +52 -0
  26. data/lib/adal/mex_response.rb +141 -0
  27. data/lib/adal/noop_cache.rb +38 -0
  28. data/lib/adal/oauth_request.rb +76 -0
  29. data/lib/adal/request_parameters.rb +48 -0
  30. data/lib/adal/self_signed_jwt_factory.rb +96 -0
  31. data/lib/adal/templates/rst.13.xml.erb +35 -0
  32. data/lib/adal/templates/rst.2005.xml.erb +32 -0
  33. data/lib/adal/token_request.rb +231 -0
  34. data/lib/adal/token_response.rb +144 -0
  35. data/lib/adal/user_assertion.rb +57 -0
  36. data/lib/adal/user_credential.rb +152 -0
  37. data/lib/adal/user_identifier.rb +83 -0
  38. data/lib/adal/user_information.rb +49 -0
  39. data/lib/adal/util.rb +49 -0
  40. data/lib/adal/version.rb +36 -0
  41. data/lib/adal/wstrust_request.rb +100 -0
  42. data/lib/adal/wstrust_response.rb +168 -0
  43. data/lib/adal/xml_namespaces.rb +64 -0
  44. data/lib/adal.rb +24 -0
  45. data/samples/authorization_code_example/README.md +10 -0
  46. data/samples/authorization_code_example/web_app.rb +139 -0
  47. data/samples/client_assertion_certificate_example/README.md +42 -0
  48. data/samples/client_assertion_certificate_example/app.rb +55 -0
  49. data/samples/on_behalf_of_example/README.md +35 -0
  50. data/samples/on_behalf_of_example/native_app.rb +52 -0
  51. data/samples/on_behalf_of_example/web_api.rb +71 -0
  52. data/samples/user_credentials_example/README.md +7 -0
  53. data/samples/user_credentials_example/app.rb +52 -0
  54. data/spec/adal/authentication_context_spec.rb +186 -0
  55. data/spec/adal/authentication_parameters_spec.rb +107 -0
  56. data/spec/adal/authority_spec.rb +122 -0
  57. data/spec/adal/cache_driver_spec.rb +191 -0
  58. data/spec/adal/cached_token_response_spec.rb +148 -0
  59. data/spec/adal/client_assertion_certificate_spec.rb +113 -0
  60. data/spec/adal/client_assertion_spec.rb +38 -0
  61. data/spec/adal/core_ext/hash_spec.rb +47 -0
  62. data/spec/adal/logging_spec.rb +48 -0
  63. data/spec/adal/memory_cache_spec.rb +107 -0
  64. data/spec/adal/mex_request_spec.rb +57 -0
  65. data/spec/adal/mex_response_spec.rb +143 -0
  66. data/spec/adal/self_signed_jwt_factory_spec.rb +63 -0
  67. data/spec/adal/token_request_spec.rb +150 -0
  68. data/spec/adal/token_response_spec.rb +102 -0
  69. data/spec/adal/user_credential_spec.rb +125 -0
  70. data/spec/adal/user_identifier_spec.rb +115 -0
  71. data/spec/adal/wstrust_request_spec.rb +51 -0
  72. data/spec/adal/wstrust_response_spec.rb +152 -0
  73. data/spec/fixtures/mex/insecureaddress.xml +924 -0
  74. data/spec/fixtures/mex/invalid_namespaces.xml +916 -0
  75. data/spec/fixtures/mex/malformed.xml +914 -0
  76. data/spec/fixtures/mex/microsoft.xml +916 -0
  77. data/spec/fixtures/mex/multiple_endpoints.xml +922 -0
  78. data/spec/fixtures/mex/no_matching_bindings.xml +916 -0
  79. data/spec/fixtures/mex/no_username_token_policies.xml +914 -0
  80. data/spec/fixtures/mex/no_wstrust_endpoints.xml +838 -0
  81. data/spec/fixtures/mex/only_13.xml +842 -0
  82. data/spec/fixtures/mex/only_2005.xml +842 -0
  83. data/spec/fixtures/oauth/error.json +1 -0
  84. data/spec/fixtures/oauth/success.json +1 -0
  85. data/spec/fixtures/oauth/success_with_id_token.json +1 -0
  86. data/spec/fixtures/wstrust/error.xml +24 -0
  87. data/spec/fixtures/wstrust/invalid_namespaces.xml +136 -0
  88. data/spec/fixtures/wstrust/missing_security_tokens.xml +90 -0
  89. data/spec/fixtures/wstrust/success.xml +136 -0
  90. data/spec/fixtures/wstrust/token.xml +1 -0
  91. data/spec/fixtures/wstrust/too_many_security_tokens.xml +219 -0
  92. data/spec/fixtures/wstrust/unrecognized_token_type.xml +136 -0
  93. data/spec/fixtures/wstrust/wstrust.13.xml +1 -0
  94. data/spec/fixtures/wstrust/wstrust.2005.xml +89 -0
  95. data/spec/spec_helper.rb +53 -0
  96. data/spec/support/fake_data.rb +40 -0
  97. data/spec/support/fake_token_endpoint.rb +108 -0
  98. metadata +264 -0
@@ -0,0 +1,922 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <wsdl:definitions name="SecurityTokenService" targetNamespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
3
+ <wsp:Policy wsu:Id="CustomBinding_IWSTrustFeb2005Async_policy">
4
+ <wsp:ExactlyOne>
5
+ <wsp:All>
6
+ <http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/>
7
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
8
+ <wsp:Policy>
9
+ <sp:TransportToken>
10
+ <wsp:Policy>
11
+ <sp:HttpsToken RequireClientCertificate="false"/>
12
+ </wsp:Policy>
13
+ </sp:TransportToken>
14
+ <sp:AlgorithmSuite>
15
+ <wsp:Policy>
16
+ <sp:Basic256/>
17
+ </wsp:Policy>
18
+ </sp:AlgorithmSuite>
19
+ <sp:Layout>
20
+ <wsp:Policy>
21
+ <sp:Strict/>
22
+ </wsp:Policy>
23
+ </sp:Layout>
24
+ </wsp:Policy>
25
+ </sp:TransportBinding>
26
+ <wsaw:UsingAddressing/>
27
+ </wsp:All>
28
+ </wsp:ExactlyOne>
29
+ </wsp:Policy>
30
+ <wsp:Policy wsu:Id="CertificateWSTrustBinding_IWSTrustFeb2005Async_policy">
31
+ <wsp:ExactlyOne>
32
+ <wsp:All>
33
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
34
+ <wsp:Policy>
35
+ <sp:TransportToken>
36
+ <wsp:Policy>
37
+ <sp:HttpsToken RequireClientCertificate="false"/>
38
+ </wsp:Policy>
39
+ </sp:TransportToken>
40
+ <sp:AlgorithmSuite>
41
+ <wsp:Policy>
42
+ <sp:Basic256/>
43
+ </wsp:Policy>
44
+ </sp:AlgorithmSuite>
45
+ <sp:Layout>
46
+ <wsp:Policy>
47
+ <sp:Strict/>
48
+ </wsp:Policy>
49
+ </sp:Layout>
50
+ <sp:IncludeTimestamp/>
51
+ </wsp:Policy>
52
+ </sp:TransportBinding>
53
+ <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
54
+ <wsp:Policy>
55
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
56
+ <wsp:Policy>
57
+ <sp:RequireThumbprintReference/>
58
+ <sp:WssX509V3Token10/>
59
+ </wsp:Policy>
60
+ </sp:X509Token>
61
+ <mssp:RsaToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never" wsp:Optional="true" xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
62
+ <sp:SignedParts>
63
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
64
+ </sp:SignedParts>
65
+ </wsp:Policy>
66
+ </sp:EndorsingSupportingTokens>
67
+ <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
68
+ <wsp:Policy>
69
+ <sp:MustSupportRefKeyIdentifier/>
70
+ <sp:MustSupportRefIssuerSerial/>
71
+ <sp:MustSupportRefThumbprint/>
72
+ <sp:MustSupportRefEncryptedKey/>
73
+ </wsp:Policy>
74
+ </sp:Wss11>
75
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
76
+ <wsp:Policy>
77
+ <sp:MustSupportIssuedTokens/>
78
+ <sp:RequireClientEntropy/>
79
+ <sp:RequireServerEntropy/>
80
+ </wsp:Policy>
81
+ </sp:Trust10>
82
+ <wsaw:UsingAddressing/>
83
+ </wsp:All>
84
+ </wsp:ExactlyOne>
85
+ </wsp:Policy>
86
+ <wsp:Policy wsu:Id="UserNameWSTrustBinding_IWSTrustFeb2005Async_policy">
87
+ <wsp:ExactlyOne>
88
+ <wsp:All>
89
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
90
+ <wsp:Policy>
91
+ <sp:TransportToken>
92
+ <wsp:Policy>
93
+ <sp:HttpsToken RequireClientCertificate="false"/>
94
+ </wsp:Policy>
95
+ </sp:TransportToken>
96
+ <sp:AlgorithmSuite>
97
+ <wsp:Policy>
98
+ <sp:Basic256/>
99
+ </wsp:Policy>
100
+ </sp:AlgorithmSuite>
101
+ <sp:Layout>
102
+ <wsp:Policy>
103
+ <sp:Strict/>
104
+ </wsp:Policy>
105
+ </sp:Layout>
106
+ <sp:IncludeTimestamp/>
107
+ </wsp:Policy>
108
+ </sp:TransportBinding>
109
+ <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
110
+ <wsp:Policy>
111
+ <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
112
+ <wsp:Policy>
113
+ <sp:WssUsernameToken10/>
114
+ </wsp:Policy>
115
+ </sp:UsernameToken>
116
+ </wsp:Policy>
117
+ </sp:SignedSupportingTokens>
118
+ <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
119
+ <wsp:Policy>
120
+ <mssp:RsaToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never" wsp:Optional="true" xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
121
+ <sp:SignedParts>
122
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
123
+ </sp:SignedParts>
124
+ </wsp:Policy>
125
+ </sp:EndorsingSupportingTokens>
126
+ <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
127
+ <wsp:Policy>
128
+ <sp:MustSupportRefKeyIdentifier/>
129
+ <sp:MustSupportRefIssuerSerial/>
130
+ <sp:MustSupportRefThumbprint/>
131
+ <sp:MustSupportRefEncryptedKey/>
132
+ </wsp:Policy>
133
+ </sp:Wss11>
134
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
135
+ <wsp:Policy>
136
+ <sp:MustSupportIssuedTokens/>
137
+ <sp:RequireClientEntropy/>
138
+ <sp:RequireServerEntropy/>
139
+ </wsp:Policy>
140
+ </sp:Trust10>
141
+ <wsaw:UsingAddressing/>
142
+ </wsp:All>
143
+ </wsp:ExactlyOne>
144
+ </wsp:Policy>
145
+ <wsp:Policy wsu:Id="CustomBinding_IWSTrustFeb2005Async1_policy">
146
+ <wsp:ExactlyOne>
147
+ <wsp:All>
148
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
149
+ <wsp:Policy>
150
+ <sp:TransportToken>
151
+ <wsp:Policy>
152
+ <sp:HttpsToken RequireClientCertificate="false"/>
153
+ </wsp:Policy>
154
+ </sp:TransportToken>
155
+ <sp:AlgorithmSuite>
156
+ <wsp:Policy>
157
+ <sp:Basic128/>
158
+ </wsp:Policy>
159
+ </sp:AlgorithmSuite>
160
+ <sp:Layout>
161
+ <wsp:Policy>
162
+ <sp:Strict/>
163
+ </wsp:Policy>
164
+ </sp:Layout>
165
+ <sp:IncludeTimestamp/>
166
+ </wsp:Policy>
167
+ </sp:TransportBinding>
168
+ <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
169
+ <wsp:Policy>
170
+ <sp:KerberosToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Once">
171
+ <wsp:Policy>
172
+ <sp:WssGssKerberosV5ApReqToken11/>
173
+ </wsp:Policy>
174
+ </sp:KerberosToken>
175
+ <mssp:RsaToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never" wsp:Optional="true" xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
176
+ <sp:SignedParts>
177
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
178
+ </sp:SignedParts>
179
+ </wsp:Policy>
180
+ </sp:EndorsingSupportingTokens>
181
+ <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
182
+ <wsp:Policy>
183
+ <sp:MustSupportRefKeyIdentifier/>
184
+ <sp:MustSupportRefIssuerSerial/>
185
+ <sp:MustSupportRefThumbprint/>
186
+ <sp:MustSupportRefEncryptedKey/>
187
+ </wsp:Policy>
188
+ </sp:Wss11>
189
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
190
+ <wsp:Policy>
191
+ <sp:MustSupportIssuedTokens/>
192
+ <sp:RequireClientEntropy/>
193
+ <sp:RequireServerEntropy/>
194
+ </wsp:Policy>
195
+ </sp:Trust10>
196
+ <wsaw:UsingAddressing/>
197
+ </wsp:All>
198
+ </wsp:ExactlyOne>
199
+ </wsp:Policy>
200
+ <wsp:Policy wsu:Id="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async_policy">
201
+ <wsp:ExactlyOne>
202
+ <wsp:All>
203
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
204
+ <wsp:Policy>
205
+ <sp:TransportToken>
206
+ <wsp:Policy>
207
+ <sp:HttpsToken RequireClientCertificate="false"/>
208
+ </wsp:Policy>
209
+ </sp:TransportToken>
210
+ <sp:AlgorithmSuite>
211
+ <wsp:Policy>
212
+ <sp:Basic256/>
213
+ </wsp:Policy>
214
+ </sp:AlgorithmSuite>
215
+ <sp:Layout>
216
+ <wsp:Policy>
217
+ <sp:Strict/>
218
+ </wsp:Policy>
219
+ </sp:Layout>
220
+ <sp:IncludeTimestamp/>
221
+ </wsp:Policy>
222
+ </sp:TransportBinding>
223
+ <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
224
+ <wsp:Policy>
225
+ <sp:IssuedToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
226
+ <sp:RequestSecurityTokenTemplate>
227
+ <t:KeyType>http://schemas.xmlsoap.org/ws/2005/02/trust/PublicKey</t:KeyType>
228
+ <t:EncryptWith>http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</t:EncryptWith>
229
+ <t:SignatureAlgorithm>http://www.w3.org/2000/09/xmldsig#rsa-sha1</t:SignatureAlgorithm>
230
+ <t:CanonicalizationAlgorithm>http://www.w3.org/2001/10/xml-exc-c14n#</t:CanonicalizationAlgorithm>
231
+ <t:EncryptionAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</t:EncryptionAlgorithm>
232
+ </sp:RequestSecurityTokenTemplate>
233
+ <wsp:Policy>
234
+ <sp:RequireInternalReference/>
235
+ </wsp:Policy>
236
+ </sp:IssuedToken>
237
+ <mssp:RsaToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never" wsp:Optional="true" xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
238
+ <sp:SignedParts>
239
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
240
+ </sp:SignedParts>
241
+ </wsp:Policy>
242
+ </sp:EndorsingSupportingTokens>
243
+ <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
244
+ <wsp:Policy>
245
+ <sp:MustSupportRefKeyIdentifier/>
246
+ <sp:MustSupportRefIssuerSerial/>
247
+ <sp:MustSupportRefThumbprint/>
248
+ <sp:MustSupportRefEncryptedKey/>
249
+ </wsp:Policy>
250
+ </sp:Wss11>
251
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
252
+ <wsp:Policy>
253
+ <sp:MustSupportIssuedTokens/>
254
+ <sp:RequireClientEntropy/>
255
+ <sp:RequireServerEntropy/>
256
+ </wsp:Policy>
257
+ </sp:Trust10>
258
+ <wsaw:UsingAddressing/>
259
+ </wsp:All>
260
+ </wsp:ExactlyOne>
261
+ </wsp:Policy>
262
+ <wsp:Policy wsu:Id="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async1_policy">
263
+ <wsp:ExactlyOne>
264
+ <wsp:All>
265
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
266
+ <wsp:Policy>
267
+ <sp:TransportToken>
268
+ <wsp:Policy>
269
+ <sp:HttpsToken RequireClientCertificate="false"/>
270
+ </wsp:Policy>
271
+ </sp:TransportToken>
272
+ <sp:AlgorithmSuite>
273
+ <wsp:Policy>
274
+ <sp:Basic256/>
275
+ </wsp:Policy>
276
+ </sp:AlgorithmSuite>
277
+ <sp:Layout>
278
+ <wsp:Policy>
279
+ <sp:Strict/>
280
+ </wsp:Policy>
281
+ </sp:Layout>
282
+ <sp:IncludeTimestamp/>
283
+ </wsp:Policy>
284
+ </sp:TransportBinding>
285
+ <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
286
+ <wsp:Policy>
287
+ <sp:IssuedToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
288
+ <sp:RequestSecurityTokenTemplate>
289
+ <t:KeyType>http://schemas.xmlsoap.org/ws/2005/02/trust/SymmetricKey</t:KeyType>
290
+ <t:KeySize>256</t:KeySize>
291
+ <t:EncryptWith>http://www.w3.org/2001/04/xmlenc#aes256-cbc</t:EncryptWith>
292
+ <t:SignatureAlgorithm>http://www.w3.org/2000/09/xmldsig#hmac-sha1</t:SignatureAlgorithm>
293
+ <t:CanonicalizationAlgorithm>http://www.w3.org/2001/10/xml-exc-c14n#</t:CanonicalizationAlgorithm>
294
+ <t:EncryptionAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</t:EncryptionAlgorithm>
295
+ </sp:RequestSecurityTokenTemplate>
296
+ <wsp:Policy>
297
+ <sp:RequireInternalReference/>
298
+ </wsp:Policy>
299
+ </sp:IssuedToken>
300
+ <mssp:RsaToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never" wsp:Optional="true" xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
301
+ <sp:SignedParts>
302
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
303
+ </sp:SignedParts>
304
+ </wsp:Policy>
305
+ </sp:EndorsingSupportingTokens>
306
+ <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
307
+ <wsp:Policy>
308
+ <sp:MustSupportRefKeyIdentifier/>
309
+ <sp:MustSupportRefIssuerSerial/>
310
+ <sp:MustSupportRefThumbprint/>
311
+ <sp:MustSupportRefEncryptedKey/>
312
+ </wsp:Policy>
313
+ </sp:Wss11>
314
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
315
+ <wsp:Policy>
316
+ <sp:MustSupportIssuedTokens/>
317
+ <sp:RequireClientEntropy/>
318
+ <sp:RequireServerEntropy/>
319
+ </wsp:Policy>
320
+ </sp:Trust10>
321
+ <wsaw:UsingAddressing/>
322
+ </wsp:All>
323
+ </wsp:ExactlyOne>
324
+ </wsp:Policy>
325
+ <wsp:Policy wsu:Id="CustomBinding_IWSTrust13Async_policy">
326
+ <wsp:ExactlyOne>
327
+ <wsp:All>
328
+ <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
329
+ <wsp:Policy>
330
+ <sp:TransportToken>
331
+ <wsp:Policy>
332
+ <sp:HttpsToken/>
333
+ </wsp:Policy>
334
+ </sp:TransportToken>
335
+ <sp:AlgorithmSuite>
336
+ <wsp:Policy>
337
+ <sp:Basic128/>
338
+ </wsp:Policy>
339
+ </sp:AlgorithmSuite>
340
+ <sp:Layout>
341
+ <wsp:Policy>
342
+ <sp:Strict/>
343
+ </wsp:Policy>
344
+ </sp:Layout>
345
+ <sp:IncludeTimestamp/>
346
+ </wsp:Policy>
347
+ </sp:TransportBinding>
348
+ <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
349
+ <wsp:Policy>
350
+ <sp:KerberosToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Once">
351
+ <wsp:Policy>
352
+ <sp:WssGssKerberosV5ApReqToken11/>
353
+ </wsp:Policy>
354
+ </sp:KerberosToken>
355
+ <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>
356
+ <sp:SignedParts>
357
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
358
+ </sp:SignedParts>
359
+ </wsp:Policy>
360
+ </sp:EndorsingSupportingTokens>
361
+ <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
362
+ <wsp:Policy>
363
+ <sp:MustSupportRefKeyIdentifier/>
364
+ <sp:MustSupportRefIssuerSerial/>
365
+ <sp:MustSupportRefThumbprint/>
366
+ <sp:MustSupportRefEncryptedKey/>
367
+ </wsp:Policy>
368
+ </sp:Wss11>
369
+ <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
370
+ <wsp:Policy>
371
+ <sp:MustSupportIssuedTokens/>
372
+ <sp:RequireClientEntropy/>
373
+ <sp:RequireServerEntropy/>
374
+ </wsp:Policy>
375
+ </sp:Trust13>
376
+ <wsaw:UsingAddressing/>
377
+ </wsp:All>
378
+ </wsp:ExactlyOne>
379
+ </wsp:Policy>
380
+ <wsp:Policy wsu:Id="CertificateWSTrustBinding_IWSTrust13Async_policy">
381
+ <wsp:ExactlyOne>
382
+ <wsp:All>
383
+ <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
384
+ <wsp:Policy>
385
+ <sp:TransportToken>
386
+ <wsp:Policy>
387
+ <sp:HttpsToken/>
388
+ </wsp:Policy>
389
+ </sp:TransportToken>
390
+ <sp:AlgorithmSuite>
391
+ <wsp:Policy>
392
+ <sp:Basic256/>
393
+ </wsp:Policy>
394
+ </sp:AlgorithmSuite>
395
+ <sp:Layout>
396
+ <wsp:Policy>
397
+ <sp:Strict/>
398
+ </wsp:Policy>
399
+ </sp:Layout>
400
+ <sp:IncludeTimestamp/>
401
+ </wsp:Policy>
402
+ </sp:TransportBinding>
403
+ <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
404
+ <wsp:Policy>
405
+ <sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
406
+ <wsp:Policy>
407
+ <sp:RequireThumbprintReference/>
408
+ <sp:WssX509V3Token10/>
409
+ </wsp:Policy>
410
+ </sp:X509Token>
411
+ <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>
412
+ <sp:SignedParts>
413
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
414
+ </sp:SignedParts>
415
+ </wsp:Policy>
416
+ </sp:EndorsingSupportingTokens>
417
+ <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
418
+ <wsp:Policy>
419
+ <sp:MustSupportRefKeyIdentifier/>
420
+ <sp:MustSupportRefIssuerSerial/>
421
+ <sp:MustSupportRefThumbprint/>
422
+ <sp:MustSupportRefEncryptedKey/>
423
+ </wsp:Policy>
424
+ </sp:Wss11>
425
+ <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
426
+ <wsp:Policy>
427
+ <sp:MustSupportIssuedTokens/>
428
+ <sp:RequireClientEntropy/>
429
+ <sp:RequireServerEntropy/>
430
+ </wsp:Policy>
431
+ </sp:Trust13>
432
+ <wsaw:UsingAddressing/>
433
+ </wsp:All>
434
+ </wsp:ExactlyOne>
435
+ </wsp:Policy>
436
+ <wsp:Policy wsu:Id="UserNameWSTrustBinding_IWSTrust13Async_policy">
437
+ <wsp:ExactlyOne>
438
+ <wsp:All>
439
+ <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
440
+ <wsp:Policy>
441
+ <sp:TransportToken>
442
+ <wsp:Policy>
443
+ <sp:HttpsToken/>
444
+ </wsp:Policy>
445
+ </sp:TransportToken>
446
+ <sp:AlgorithmSuite>
447
+ <wsp:Policy>
448
+ <sp:Basic256/>
449
+ </wsp:Policy>
450
+ </sp:AlgorithmSuite>
451
+ <sp:Layout>
452
+ <wsp:Policy>
453
+ <sp:Strict/>
454
+ </wsp:Policy>
455
+ </sp:Layout>
456
+ <sp:IncludeTimestamp/>
457
+ </wsp:Policy>
458
+ </sp:TransportBinding>
459
+ <sp:SignedEncryptedSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
460
+ <wsp:Policy>
461
+ <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
462
+ <wsp:Policy>
463
+ <sp:WssUsernameToken10/>
464
+ </wsp:Policy>
465
+ </sp:UsernameToken>
466
+ </wsp:Policy>
467
+ </sp:SignedEncryptedSupportingTokens>
468
+ <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
469
+ <wsp:Policy>
470
+ <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>
471
+ <sp:SignedParts>
472
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
473
+ </sp:SignedParts>
474
+ </wsp:Policy>
475
+ </sp:EndorsingSupportingTokens>
476
+ <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
477
+ <wsp:Policy>
478
+ <sp:MustSupportRefKeyIdentifier/>
479
+ <sp:MustSupportRefIssuerSerial/>
480
+ <sp:MustSupportRefThumbprint/>
481
+ <sp:MustSupportRefEncryptedKey/>
482
+ </wsp:Policy>
483
+ </sp:Wss11>
484
+ <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
485
+ <wsp:Policy>
486
+ <sp:MustSupportIssuedTokens/>
487
+ <sp:RequireClientEntropy/>
488
+ <sp:RequireServerEntropy/>
489
+ </wsp:Policy>
490
+ </sp:Trust13>
491
+ <wsaw:UsingAddressing/>
492
+ </wsp:All>
493
+ </wsp:ExactlyOne>
494
+ </wsp:Policy>
495
+ <wsp:Policy wsu:Id="IssuedTokenWSTrustBinding_IWSTrust13Async_policy">
496
+ <wsp:ExactlyOne>
497
+ <wsp:All>
498
+ <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
499
+ <wsp:Policy>
500
+ <sp:TransportToken>
501
+ <wsp:Policy>
502
+ <sp:HttpsToken/>
503
+ </wsp:Policy>
504
+ </sp:TransportToken>
505
+ <sp:AlgorithmSuite>
506
+ <wsp:Policy>
507
+ <sp:Basic256/>
508
+ </wsp:Policy>
509
+ </sp:AlgorithmSuite>
510
+ <sp:Layout>
511
+ <wsp:Policy>
512
+ <sp:Strict/>
513
+ </wsp:Policy>
514
+ </sp:Layout>
515
+ <sp:IncludeTimestamp/>
516
+ </wsp:Policy>
517
+ </sp:TransportBinding>
518
+ <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
519
+ <wsp:Policy>
520
+ <sp:IssuedToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
521
+ <sp:RequestSecurityTokenTemplate>
522
+ <trust:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/PublicKey</trust:KeyType>
523
+ <trust:KeyWrapAlgorithm>http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</trust:KeyWrapAlgorithm>
524
+ <trust:EncryptWith>http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</trust:EncryptWith>
525
+ <trust:SignatureAlgorithm>http://www.w3.org/2000/09/xmldsig#rsa-sha1</trust:SignatureAlgorithm>
526
+ <trust:CanonicalizationAlgorithm>http://www.w3.org/2001/10/xml-exc-c14n#</trust:CanonicalizationAlgorithm>
527
+ <trust:EncryptionAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptionAlgorithm>
528
+ </sp:RequestSecurityTokenTemplate>
529
+ <wsp:Policy>
530
+ <sp:RequireInternalReference/>
531
+ </wsp:Policy>
532
+ </sp:IssuedToken>
533
+ <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>
534
+ <sp:SignedParts>
535
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
536
+ </sp:SignedParts>
537
+ </wsp:Policy>
538
+ </sp:EndorsingSupportingTokens>
539
+ <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
540
+ <wsp:Policy>
541
+ <sp:MustSupportRefKeyIdentifier/>
542
+ <sp:MustSupportRefIssuerSerial/>
543
+ <sp:MustSupportRefThumbprint/>
544
+ <sp:MustSupportRefEncryptedKey/>
545
+ </wsp:Policy>
546
+ </sp:Wss11>
547
+ <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
548
+ <wsp:Policy>
549
+ <sp:MustSupportIssuedTokens/>
550
+ <sp:RequireClientEntropy/>
551
+ <sp:RequireServerEntropy/>
552
+ </wsp:Policy>
553
+ </sp:Trust13>
554
+ <wsaw:UsingAddressing/>
555
+ </wsp:All>
556
+ </wsp:ExactlyOne>
557
+ </wsp:Policy>
558
+ <wsp:Policy wsu:Id="IssuedTokenWSTrustBinding_IWSTrust13Async1_policy">
559
+ <wsp:ExactlyOne>
560
+ <wsp:All>
561
+ <sp:TransportBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
562
+ <wsp:Policy>
563
+ <sp:TransportToken>
564
+ <wsp:Policy>
565
+ <sp:HttpsToken/>
566
+ </wsp:Policy>
567
+ </sp:TransportToken>
568
+ <sp:AlgorithmSuite>
569
+ <wsp:Policy>
570
+ <sp:Basic256/>
571
+ </wsp:Policy>
572
+ </sp:AlgorithmSuite>
573
+ <sp:Layout>
574
+ <wsp:Policy>
575
+ <sp:Strict/>
576
+ </wsp:Policy>
577
+ </sp:Layout>
578
+ <sp:IncludeTimestamp/>
579
+ </wsp:Policy>
580
+ </sp:TransportBinding>
581
+ <sp:EndorsingSupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
582
+ <wsp:Policy>
583
+ <sp:IssuedToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
584
+ <sp:RequestSecurityTokenTemplate>
585
+ <trust:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</trust:KeyType>
586
+ <trust:KeySize>256</trust:KeySize>
587
+ <trust:KeyWrapAlgorithm>http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</trust:KeyWrapAlgorithm>
588
+ <trust:EncryptWith>http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptWith>
589
+ <trust:SignatureAlgorithm>http://www.w3.org/2000/09/xmldsig#hmac-sha1</trust:SignatureAlgorithm>
590
+ <trust:CanonicalizationAlgorithm>http://www.w3.org/2001/10/xml-exc-c14n#</trust:CanonicalizationAlgorithm>
591
+ <trust:EncryptionAlgorithm>http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptionAlgorithm>
592
+ </sp:RequestSecurityTokenTemplate>
593
+ <wsp:Policy>
594
+ <sp:RequireInternalReference/>
595
+ </wsp:Policy>
596
+ </sp:IssuedToken>
597
+ <sp:KeyValueToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Never" wsp:Optional="true"/>
598
+ <sp:SignedParts>
599
+ <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
600
+ </sp:SignedParts>
601
+ </wsp:Policy>
602
+ </sp:EndorsingSupportingTokens>
603
+ <sp:Wss11 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
604
+ <wsp:Policy>
605
+ <sp:MustSupportRefKeyIdentifier/>
606
+ <sp:MustSupportRefIssuerSerial/>
607
+ <sp:MustSupportRefThumbprint/>
608
+ <sp:MustSupportRefEncryptedKey/>
609
+ </wsp:Policy>
610
+ </sp:Wss11>
611
+ <sp:Trust13 xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
612
+ <wsp:Policy>
613
+ <sp:MustSupportIssuedTokens/>
614
+ <sp:RequireClientEntropy/>
615
+ <sp:RequireServerEntropy/>
616
+ </wsp:Policy>
617
+ </sp:Trust13>
618
+ <wsaw:UsingAddressing/>
619
+ </wsp:All>
620
+ </wsp:ExactlyOne>
621
+ </wsp:Policy>
622
+ <wsp:Policy wsu:Id="CustomBinding_IWSTrust13Async1_policy">
623
+ <wsp:ExactlyOne>
624
+ <wsp:All>
625
+ <http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http"/>
626
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
627
+ <wsp:Policy>
628
+ <sp:TransportToken>
629
+ <wsp:Policy>
630
+ <sp:HttpsToken RequireClientCertificate="false"/>
631
+ </wsp:Policy>
632
+ </sp:TransportToken>
633
+ <sp:AlgorithmSuite>
634
+ <wsp:Policy>
635
+ <sp:Basic256/>
636
+ </wsp:Policy>
637
+ </sp:AlgorithmSuite>
638
+ <sp:Layout>
639
+ <wsp:Policy>
640
+ <sp:Strict/>
641
+ </wsp:Policy>
642
+ </sp:Layout>
643
+ </wsp:Policy>
644
+ </sp:TransportBinding>
645
+ <wsaw:UsingAddressing/>
646
+ </wsp:All>
647
+ </wsp:ExactlyOne>
648
+ </wsp:Policy>
649
+ <wsdl:types>
650
+ <xsd:schema targetNamespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice/Imports">
651
+ <xsd:import schemaLocation="https://corp.sts.microsoft.com/adfs/services/trust/mex?xsd=xsd0" namespace="http://schemas.microsoft.com/Message"/>
652
+ <xsd:import schemaLocation="https://corp.sts.microsoft.com/adfs/services/trust/mex?xsd=xsd1" namespace="http://schemas.xmlsoap.org/ws/2005/02/trust"/>
653
+ <xsd:import schemaLocation="https://corp.sts.microsoft.com/adfs/services/trust/mex?xsd=xsd2" namespace="http://docs.oasis-open.org/ws-sx/ws-trust/200512"/>
654
+ </xsd:schema>
655
+ </wsdl:types>
656
+ <wsdl:message name="IWSTrustFeb2005Async_TrustFeb2005IssueAsync_InputMessage">
657
+ <wsdl:part name="request" element="t:RequestSecurityToken"/>
658
+ </wsdl:message>
659
+ <wsdl:message name="IWSTrustFeb2005Async_TrustFeb2005IssueAsync_OutputMessage">
660
+ <wsdl:part name="TrustFeb2005IssueAsyncResult" element="t:RequestSecurityTokenResponse"/>
661
+ </wsdl:message>
662
+ <wsdl:message name="IWSTrust13Async_Trust13IssueAsync_InputMessage">
663
+ <wsdl:part name="request" element="trust:RequestSecurityToken"/>
664
+ </wsdl:message>
665
+ <wsdl:message name="IWSTrust13Async_Trust13IssueAsync_OutputMessage">
666
+ <wsdl:part name="Trust13IssueAsyncResult" element="trust:RequestSecurityTokenResponseCollection"/>
667
+ </wsdl:message>
668
+ <wsdl:portType name="IWSTrustFeb2005Async">
669
+ <wsdl:operation name="TrustFeb2005IssueAsync">
670
+ <wsdl:input wsaw:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" message="tns:IWSTrustFeb2005Async_TrustFeb2005IssueAsync_InputMessage"/>
671
+ <wsdl:output wsaw:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue" message="tns:IWSTrustFeb2005Async_TrustFeb2005IssueAsync_OutputMessage"/>
672
+ </wsdl:operation>
673
+ </wsdl:portType>
674
+ <wsdl:portType name="IWSTrust13Async">
675
+ <wsdl:operation name="Trust13IssueAsync">
676
+ <wsdl:input wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" message="tns:IWSTrust13Async_Trust13IssueAsync_InputMessage"/>
677
+ <wsdl:output wsaw:Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTRC/IssueFinal" message="tns:IWSTrust13Async_Trust13IssueAsync_OutputMessage"/>
678
+ </wsdl:operation>
679
+ </wsdl:portType>
680
+ <wsdl:binding name="CustomBinding_IWSTrustFeb2005Async" type="tns:IWSTrustFeb2005Async">
681
+ <wsp:PolicyReference URI="#CustomBinding_IWSTrustFeb2005Async_policy"/>
682
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
683
+ <wsdl:operation name="TrustFeb2005IssueAsync">
684
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
685
+ <wsdl:input>
686
+ <soap12:body use="literal"/>
687
+ </wsdl:input>
688
+ <wsdl:output>
689
+ <soap12:body use="literal"/>
690
+ </wsdl:output>
691
+ </wsdl:operation>
692
+ </wsdl:binding>
693
+ <wsdl:binding name="CertificateWSTrustBinding_IWSTrustFeb2005Async" type="tns:IWSTrustFeb2005Async">
694
+ <wsp:PolicyReference URI="#CertificateWSTrustBinding_IWSTrustFeb2005Async_policy"/>
695
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
696
+ <wsdl:operation name="TrustFeb2005IssueAsync">
697
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
698
+ <wsdl:input>
699
+ <soap12:body use="literal"/>
700
+ </wsdl:input>
701
+ <wsdl:output>
702
+ <soap12:body use="literal"/>
703
+ </wsdl:output>
704
+ </wsdl:operation>
705
+ </wsdl:binding>
706
+ <wsdl:binding name="UserNameWSTrustBinding_IWSTrustFeb2005Async" type="tns:IWSTrustFeb2005Async">
707
+ <wsp:PolicyReference URI="#UserNameWSTrustBinding_IWSTrustFeb2005Async_policy"/>
708
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
709
+ <wsdl:operation name="TrustFeb2005IssueAsync">
710
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
711
+ <wsdl:input>
712
+ <soap12:body use="literal"/>
713
+ </wsdl:input>
714
+ <wsdl:output>
715
+ <soap12:body use="literal"/>
716
+ </wsdl:output>
717
+ </wsdl:operation>
718
+ </wsdl:binding>
719
+ <wsdl:binding name="CustomBinding_IWSTrustFeb2005Async1" type="tns:IWSTrustFeb2005Async">
720
+ <wsp:PolicyReference URI="#CustomBinding_IWSTrustFeb2005Async1_policy"/>
721
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
722
+ <wsdl:operation name="TrustFeb2005IssueAsync">
723
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
724
+ <wsdl:input>
725
+ <soap12:body use="literal"/>
726
+ </wsdl:input>
727
+ <wsdl:output>
728
+ <soap12:body use="literal"/>
729
+ </wsdl:output>
730
+ </wsdl:operation>
731
+ </wsdl:binding>
732
+ <wsdl:binding name="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async" type="tns:IWSTrustFeb2005Async">
733
+ <wsp:PolicyReference URI="#IssuedTokenWSTrustBinding_IWSTrustFeb2005Async_policy"/>
734
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
735
+ <wsdl:operation name="TrustFeb2005IssueAsync">
736
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
737
+ <wsdl:input>
738
+ <soap12:body use="literal"/>
739
+ </wsdl:input>
740
+ <wsdl:output>
741
+ <soap12:body use="literal"/>
742
+ </wsdl:output>
743
+ </wsdl:operation>
744
+ </wsdl:binding>
745
+ <wsdl:binding name="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async1" type="tns:IWSTrustFeb2005Async">
746
+ <wsp:PolicyReference URI="#IssuedTokenWSTrustBinding_IWSTrustFeb2005Async1_policy"/>
747
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
748
+ <wsdl:operation name="TrustFeb2005IssueAsync">
749
+ <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
750
+ <wsdl:input>
751
+ <soap12:body use="literal"/>
752
+ </wsdl:input>
753
+ <wsdl:output>
754
+ <soap12:body use="literal"/>
755
+ </wsdl:output>
756
+ </wsdl:operation>
757
+ </wsdl:binding>
758
+ <wsdl:binding name="CustomBinding_IWSTrust13Async" type="tns:IWSTrust13Async">
759
+ <wsp:PolicyReference URI="#CustomBinding_IWSTrust13Async_policy"/>
760
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
761
+ <wsdl:operation name="Trust13IssueAsync">
762
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
763
+ <wsdl:input>
764
+ <soap12:body use="literal"/>
765
+ </wsdl:input>
766
+ <wsdl:output>
767
+ <soap12:body use="literal"/>
768
+ </wsdl:output>
769
+ </wsdl:operation>
770
+ </wsdl:binding>
771
+ <wsdl:binding name="CertificateWSTrustBinding_IWSTrust13Async" type="tns:IWSTrust13Async">
772
+ <wsp:PolicyReference URI="#CertificateWSTrustBinding_IWSTrust13Async_policy"/>
773
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
774
+ <wsdl:operation name="Trust13IssueAsync">
775
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
776
+ <wsdl:input>
777
+ <soap12:body use="literal"/>
778
+ </wsdl:input>
779
+ <wsdl:output>
780
+ <soap12:body use="literal"/>
781
+ </wsdl:output>
782
+ </wsdl:operation>
783
+ </wsdl:binding>
784
+ <wsdl:binding name="UserNameWSTrustBinding_IWSTrust13Async" type="tns:IWSTrust13Async">
785
+ <wsp:PolicyReference URI="#UserNameWSTrustBinding_IWSTrust13Async_policy"/>
786
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
787
+ <wsdl:operation name="Trust13IssueAsync">
788
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
789
+ <wsdl:input>
790
+ <soap12:body use="literal"/>
791
+ </wsdl:input>
792
+ <wsdl:output>
793
+ <soap12:body use="literal"/>
794
+ </wsdl:output>
795
+ </wsdl:operation>
796
+ </wsdl:binding>
797
+ <wsdl:binding name="IssuedTokenWSTrustBinding_IWSTrust13Async" type="tns:IWSTrust13Async">
798
+ <wsp:PolicyReference URI="#IssuedTokenWSTrustBinding_IWSTrust13Async_policy"/>
799
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
800
+ <wsdl:operation name="Trust13IssueAsync">
801
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
802
+ <wsdl:input>
803
+ <soap12:body use="literal"/>
804
+ </wsdl:input>
805
+ <wsdl:output>
806
+ <soap12:body use="literal"/>
807
+ </wsdl:output>
808
+ </wsdl:operation>
809
+ </wsdl:binding>
810
+ <wsdl:binding name="IssuedTokenWSTrustBinding_IWSTrust13Async1" type="tns:IWSTrust13Async">
811
+ <wsp:PolicyReference URI="#IssuedTokenWSTrustBinding_IWSTrust13Async1_policy"/>
812
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
813
+ <wsdl:operation name="Trust13IssueAsync">
814
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
815
+ <wsdl:input>
816
+ <soap12:body use="literal"/>
817
+ </wsdl:input>
818
+ <wsdl:output>
819
+ <soap12:body use="literal"/>
820
+ </wsdl:output>
821
+ </wsdl:operation>
822
+ </wsdl:binding>
823
+ <wsdl:binding name="CustomBinding_IWSTrust13Async1" type="tns:IWSTrust13Async">
824
+ <wsp:PolicyReference URI="#CustomBinding_IWSTrust13Async1_policy"/>
825
+ <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
826
+ <wsdl:operation name="Trust13IssueAsync">
827
+ <soap12:operation soapAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue" style="document"/>
828
+ <wsdl:input>
829
+ <soap12:body use="literal"/>
830
+ </wsdl:input>
831
+ <wsdl:output>
832
+ <soap12:body use="literal"/>
833
+ </wsdl:output>
834
+ </wsdl:operation>
835
+ </wsdl:binding>
836
+ <wsdl:service name="SecurityTokenService">
837
+ <wsdl:port name="CustomBinding_IWSTrustFeb2005Async" binding="tns:CustomBinding_IWSTrustFeb2005Async">
838
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/windowstransport"/>
839
+ <wsa10:EndpointReference>
840
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/windowstransport</wsa10:Address>
841
+ <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
842
+ <Upn>iamfed@redmond.corp.microsoft.com</Upn>
843
+ </Identity>
844
+ </wsa10:EndpointReference>
845
+ </wsdl:port>
846
+ <wsdl:port name="CertificateWSTrustBinding_IWSTrustFeb2005Async" binding="tns:CertificateWSTrustBinding_IWSTrustFeb2005Async">
847
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/certificatemixed"/>
848
+ <wsa10:EndpointReference>
849
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/certificatemixed</wsa10:Address>
850
+ </wsa10:EndpointReference>
851
+ </wsdl:port>
852
+ <wsdl:port name="UserNameWSTrustBinding_IWSTrust13Async" binding="tns:UserNameWSTrustBinding_IWSTrust13Async">
853
+ <soap12:address location="https://this.is.first.com/adfs/services/trust/13/usernamemixed"/>
854
+ <wsa10:EndpointReference>
855
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/usernamemixed</wsa10:Address>
856
+ </wsa10:EndpointReference>
857
+ </wsdl:port>
858
+ <wsdl:port name="UserNameWSTrustBinding_IWSTrustFeb2005Async" binding="tns:UserNameWSTrustBinding_IWSTrustFeb2005Async">
859
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/usernamemixed"/>
860
+ <wsa10:EndpointReference>
861
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/usernamemixed</wsa10:Address>
862
+ </wsa10:EndpointReference>
863
+ </wsdl:port>
864
+ <wsdl:port name="CustomBinding_IWSTrustFeb2005Async1" binding="tns:CustomBinding_IWSTrustFeb2005Async1">
865
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/kerberosmixed"/>
866
+ <wsa10:EndpointReference>
867
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/kerberosmixed</wsa10:Address>
868
+ </wsa10:EndpointReference>
869
+ </wsdl:port>
870
+ <wsdl:port name="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async" binding="tns:IssuedTokenWSTrustBinding_IWSTrustFeb2005Async">
871
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/issuedtokenmixedasymmetricbasic256"/>
872
+ <wsa10:EndpointReference>
873
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/issuedtokenmixedasymmetricbasic256</wsa10:Address>
874
+ </wsa10:EndpointReference>
875
+ </wsdl:port>
876
+ <wsdl:port name="IssuedTokenWSTrustBinding_IWSTrustFeb2005Async1" binding="tns:IssuedTokenWSTrustBinding_IWSTrustFeb2005Async1">
877
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/2005/issuedtokenmixedsymmetricbasic256"/>
878
+ <wsa10:EndpointReference>
879
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/2005/issuedtokenmixedsymmetricbasic256</wsa10:Address>
880
+ </wsa10:EndpointReference>
881
+ </wsdl:port>
882
+ <wsdl:port name="CustomBinding_IWSTrust13Async" binding="tns:CustomBinding_IWSTrust13Async">
883
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/kerberosmixed"/>
884
+ <wsa10:EndpointReference>
885
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/kerberosmixed</wsa10:Address>
886
+ </wsa10:EndpointReference>
887
+ </wsdl:port>
888
+ <wsdl:port name="CertificateWSTrustBinding_IWSTrust13Async" binding="tns:CertificateWSTrustBinding_IWSTrust13Async">
889
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/certificatemixed"/>
890
+ <wsa10:EndpointReference>
891
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/certificatemixed</wsa10:Address>
892
+ </wsa10:EndpointReference>
893
+ </wsdl:port>
894
+ <wsdl:port name="UserNameWSTrustBinding_IWSTrust13Async" binding="tns:UserNameWSTrustBinding_IWSTrust13Async">
895
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/usernamemixed"/>
896
+ <wsa10:EndpointReference>
897
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/usernamemixed</wsa10:Address>
898
+ </wsa10:EndpointReference>
899
+ </wsdl:port>
900
+ <wsdl:port name="IssuedTokenWSTrustBinding_IWSTrust13Async" binding="tns:IssuedTokenWSTrustBinding_IWSTrust13Async">
901
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/issuedtokenmixedasymmetricbasic256"/>
902
+ <wsa10:EndpointReference>
903
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/issuedtokenmixedasymmetricbasic256</wsa10:Address>
904
+ </wsa10:EndpointReference>
905
+ </wsdl:port>
906
+ <wsdl:port name="IssuedTokenWSTrustBinding_IWSTrust13Async1" binding="tns:IssuedTokenWSTrustBinding_IWSTrust13Async1">
907
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/issuedtokenmixedsymmetricbasic256"/>
908
+ <wsa10:EndpointReference>
909
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/issuedtokenmixedsymmetricbasic256</wsa10:Address>
910
+ </wsa10:EndpointReference>
911
+ </wsdl:port>
912
+ <wsdl:port name="CustomBinding_IWSTrust13Async1" binding="tns:CustomBinding_IWSTrust13Async1">
913
+ <soap12:address location="https://corp.sts.microsoft.com/adfs/services/trust/13/windowstransport"/>
914
+ <wsa10:EndpointReference>
915
+ <wsa10:Address>https://corp.sts.microsoft.com/adfs/services/trust/13/windowstransport</wsa10:Address>
916
+ <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
917
+ <Upn>iamfed@redmond.corp.microsoft.com</Upn>
918
+ </Identity>
919
+ </wsa10:EndpointReference>
920
+ </wsdl:port>
921
+ </wsdl:service>
922
+ </wsdl:definitions>