adal 1.0.0

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