usvn-crowd-sync 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +28 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +54 -0
- data/VERSION +1 -0
- data/bin/usvn-crowd-sync +88 -0
- data/lib/crowd.rb +18 -0
- data/lib/crowd/crowd.rb +305 -0
- data/lib/crowd/crowd.yml +22 -0
- data/lib/crowd/crowd_authentication.rb +76 -0
- data/lib/crowd/default.rb +1298 -0
- data/lib/crowd/defaultDriver.rb +375 -0
- data/lib/crowd/defaultMappingRegistry.rb +1364 -0
- data/lib/crowd/version.rb +25 -0
- data/lib/usvn-crowd-sync.rb +4 -0
- data/lib/usvn/usvn_0_x.rb +78 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/usvn-crowd-sync_spec.rb +7 -0
- data/tools/regenerate_authz_file.php +24 -0
- data/usvn-crowd-sync.gemspec +87 -0
- data/usvn-crowd-sync.yml +15 -0
- metadata +195 -0
data/lib/crowd/crowd.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# ===========================================================================
|
2
|
+
# Copyright (C) 2009, Progress Software Corporation and/or its
|
3
|
+
# subsidiaries or affiliates. All rights reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
# ===========================================================================
|
17
|
+
|
18
|
+
application_login_url: http://localhost/a/login
|
19
|
+
application_name: ruby
|
20
|
+
application_password: password
|
21
|
+
crowd_server_url: http://127.0.0.1:8095/crowd/services/SecurityServer
|
22
|
+
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# ===========================================================================
|
2
|
+
# Copyright (C) 2009, Progress Software Corporation and/or its
|
3
|
+
# subsidiaries or affiliates. All rights reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
# ===========================================================================
|
17
|
+
|
18
|
+
module CrowdAuthentication
|
19
|
+
#-- extends/patches(?) AuthenticatedSystem
|
20
|
+
|
21
|
+
CROWD_COOKIE_NAME="crowd.token_key"
|
22
|
+
|
23
|
+
protected
|
24
|
+
|
25
|
+
# Accesses the current user from the session.
|
26
|
+
def current_user
|
27
|
+
@current_user ||= (session[:user] && User.find_by_id(session[:user])) || :false
|
28
|
+
end
|
29
|
+
|
30
|
+
# Store the given user in the session.
|
31
|
+
def current_user=(new_user)
|
32
|
+
session[:user] = (new_user.nil? || new_user.is_a?(Symbol)) ? nil : new_user.id
|
33
|
+
@current_user = new_user
|
34
|
+
end
|
35
|
+
|
36
|
+
# When called with before_filter :login_from_cookie will check for an CROWD_COOKIE_NAME
|
37
|
+
# cookie and log the user back in if appropriate
|
38
|
+
def login_from_crowd_cookie
|
39
|
+
|
40
|
+
return unless cookies[CROWD_COOKIE_NAME] # TODO timer so we only check every minute (needs logged_in?)
|
41
|
+
|
42
|
+
token = cookies[CROWD_COOKIE_NAME]
|
43
|
+
logger.debug "#{CROWD_COOKIE_NAME}=#{token}"
|
44
|
+
|
45
|
+
begin
|
46
|
+
@crowd = Crowd.new
|
47
|
+
|
48
|
+
unless @crowd.valid_user_token?(token, request.user_agent, request.remote_ip)
|
49
|
+
logger.debug "Crowd token IS NOT valid"
|
50
|
+
self.current_user = :false
|
51
|
+
reset_session
|
52
|
+
return
|
53
|
+
end
|
54
|
+
|
55
|
+
crowd_user = @crowd.find_by_token(token) # throws if not found
|
56
|
+
logger.debug crowd_user
|
57
|
+
|
58
|
+
# TODO User.find_or_create crowd_user.name
|
59
|
+
rails_user = User.find_by_login crowd_user.name
|
60
|
+
logger.debug rails_user
|
61
|
+
|
62
|
+
if not rails_user:
|
63
|
+
rails_user = User.new
|
64
|
+
rails_user.login = crowd_user.name
|
65
|
+
rails_user.save
|
66
|
+
end
|
67
|
+
|
68
|
+
self.current_user = rails_user
|
69
|
+
|
70
|
+
rescue SOAP::FaultError => e
|
71
|
+
logger.error e
|
72
|
+
self.current_user = :false
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
@@ -0,0 +1,1298 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
# {http://authentication.integration.crowd.atlassian.com}AuthenticatedToken
|
4
|
+
# name - SOAP::SOAPString
|
5
|
+
# token - SOAP::SOAPString
|
6
|
+
class AuthenticatedToken
|
7
|
+
attr_accessor :name
|
8
|
+
attr_accessor :token
|
9
|
+
|
10
|
+
def initialize(name = nil, token = nil)
|
11
|
+
@name = name
|
12
|
+
@token = token
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
# {http://authentication.integration.crowd.atlassian.com}PasswordCredential
|
17
|
+
# credential - SOAP::SOAPString
|
18
|
+
# encryptedCredential - SOAP::SOAPBoolean
|
19
|
+
class PasswordCredential
|
20
|
+
attr_accessor :credential
|
21
|
+
attr_accessor :encryptedCredential
|
22
|
+
|
23
|
+
def initialize(credential = nil, encryptedCredential = nil)
|
24
|
+
@credential = credential
|
25
|
+
@encryptedCredential = encryptedCredential
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# {http://authentication.integration.crowd.atlassian.com}ArrayOfValidationFactor
|
30
|
+
class ArrayOfValidationFactor < ::Array
|
31
|
+
end
|
32
|
+
|
33
|
+
# {http://authentication.integration.crowd.atlassian.com}ValidationFactor
|
34
|
+
# name - SOAP::SOAPString
|
35
|
+
# value - SOAP::SOAPString
|
36
|
+
class ValidationFactor
|
37
|
+
attr_accessor :name
|
38
|
+
attr_accessor :value
|
39
|
+
|
40
|
+
def initialize(name = nil, value = nil)
|
41
|
+
@name = name
|
42
|
+
@value = value
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
# {http://authentication.integration.crowd.atlassian.com}PrincipalAuthenticationContext
|
47
|
+
# application - SOAP::SOAPString
|
48
|
+
# credential - PasswordCredential
|
49
|
+
# name - SOAP::SOAPString
|
50
|
+
# validationFactors - ArrayOfValidationFactor
|
51
|
+
class PrincipalAuthenticationContext
|
52
|
+
attr_accessor :application
|
53
|
+
attr_accessor :credential
|
54
|
+
attr_accessor :name
|
55
|
+
attr_accessor :validationFactors
|
56
|
+
|
57
|
+
def initialize(application = nil, credential = nil, name = nil, validationFactors = nil)
|
58
|
+
@application = application
|
59
|
+
@credential = credential
|
60
|
+
@name = name
|
61
|
+
@validationFactors = validationFactors
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# {http://authentication.integration.crowd.atlassian.com}ApplicationAuthenticationContext
|
66
|
+
# credential - PasswordCredential
|
67
|
+
# name - SOAP::SOAPString
|
68
|
+
# validationFactors - ArrayOfValidationFactor
|
69
|
+
class ApplicationAuthenticationContext
|
70
|
+
attr_accessor :credential
|
71
|
+
attr_accessor :name
|
72
|
+
attr_accessor :validationFactors
|
73
|
+
|
74
|
+
def initialize(credential = nil, name = nil, validationFactors = nil)
|
75
|
+
@credential = credential
|
76
|
+
@name = name
|
77
|
+
@validationFactors = validationFactors
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# {urn:SecurityServer}ArrayOfString
|
82
|
+
class ArrayOfString < ::Array
|
83
|
+
end
|
84
|
+
|
85
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSOAPNestableGroup
|
86
|
+
class ArrayOfSOAPNestableGroup < ::Array
|
87
|
+
end
|
88
|
+
|
89
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPNestableGroup
|
90
|
+
# iD - SOAP::SOAPLong
|
91
|
+
# active - SOAP::SOAPBoolean
|
92
|
+
# attributes - ArrayOfSOAPAttribute
|
93
|
+
# conception - SOAP::SOAPDateTime
|
94
|
+
# description - SOAP::SOAPString
|
95
|
+
# directoryID - SOAP::SOAPLong
|
96
|
+
# groupMembers - ArrayOfString
|
97
|
+
# lastModified - SOAP::SOAPDateTime
|
98
|
+
# name - SOAP::SOAPString
|
99
|
+
class SOAPNestableGroup
|
100
|
+
attr_accessor :iD
|
101
|
+
attr_accessor :active
|
102
|
+
attr_accessor :attributes
|
103
|
+
attr_accessor :conception
|
104
|
+
attr_accessor :description
|
105
|
+
attr_accessor :directoryID
|
106
|
+
attr_accessor :groupMembers
|
107
|
+
attr_accessor :lastModified
|
108
|
+
attr_accessor :name
|
109
|
+
|
110
|
+
def initialize(iD = nil, active = nil, attributes = nil, conception = nil, description = nil, directoryID = nil, groupMembers = nil, lastModified = nil, name = nil)
|
111
|
+
@iD = iD
|
112
|
+
@active = active
|
113
|
+
@attributes = attributes
|
114
|
+
@conception = conception
|
115
|
+
@description = description
|
116
|
+
@directoryID = directoryID
|
117
|
+
@groupMembers = groupMembers
|
118
|
+
@lastModified = lastModified
|
119
|
+
@name = name
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSOAPAttribute
|
124
|
+
class ArrayOfSOAPAttribute < ::Array
|
125
|
+
end
|
126
|
+
|
127
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPAttribute
|
128
|
+
# name - SOAP::SOAPString
|
129
|
+
# values - ArrayOfString
|
130
|
+
class SOAPAttribute
|
131
|
+
attr_accessor :name
|
132
|
+
attr_accessor :values
|
133
|
+
|
134
|
+
def initialize(name = nil, values = nil)
|
135
|
+
@name = name
|
136
|
+
@values = values
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPGroup
|
141
|
+
# iD - SOAP::SOAPLong
|
142
|
+
# active - SOAP::SOAPBoolean
|
143
|
+
# attributes - ArrayOfSOAPAttribute
|
144
|
+
# conception - SOAP::SOAPDateTime
|
145
|
+
# description - SOAP::SOAPString
|
146
|
+
# directoryID - SOAP::SOAPLong
|
147
|
+
# lastModified - SOAP::SOAPDateTime
|
148
|
+
# members - ArrayOfString
|
149
|
+
# name - SOAP::SOAPString
|
150
|
+
class SOAPGroup
|
151
|
+
attr_accessor :iD
|
152
|
+
attr_accessor :active
|
153
|
+
attr_accessor :attributes
|
154
|
+
attr_accessor :conception
|
155
|
+
attr_accessor :description
|
156
|
+
attr_accessor :directoryID
|
157
|
+
attr_accessor :lastModified
|
158
|
+
attr_accessor :members
|
159
|
+
attr_accessor :name
|
160
|
+
|
161
|
+
def initialize(iD = nil, active = nil, attributes = nil, conception = nil, description = nil, directoryID = nil, lastModified = nil, members = nil, name = nil)
|
162
|
+
@iD = iD
|
163
|
+
@active = active
|
164
|
+
@attributes = attributes
|
165
|
+
@conception = conception
|
166
|
+
@description = description
|
167
|
+
@directoryID = directoryID
|
168
|
+
@lastModified = lastModified
|
169
|
+
@members = members
|
170
|
+
@name = name
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPPrincipal
|
175
|
+
# iD - SOAP::SOAPLong
|
176
|
+
# active - SOAP::SOAPBoolean
|
177
|
+
# attributes - ArrayOfSOAPAttribute
|
178
|
+
# conception - SOAP::SOAPDateTime
|
179
|
+
# description - SOAP::SOAPString
|
180
|
+
# directoryID - SOAP::SOAPLong
|
181
|
+
# lastModified - SOAP::SOAPDateTime
|
182
|
+
# name - SOAP::SOAPString
|
183
|
+
class SOAPPrincipal
|
184
|
+
attr_accessor :iD
|
185
|
+
attr_accessor :active
|
186
|
+
attr_accessor :attributes
|
187
|
+
attr_accessor :conception
|
188
|
+
attr_accessor :description
|
189
|
+
attr_accessor :directoryID
|
190
|
+
attr_accessor :lastModified
|
191
|
+
attr_accessor :name
|
192
|
+
|
193
|
+
def initialize(iD = nil, active = nil, attributes = nil, conception = nil, description = nil, directoryID = nil, lastModified = nil, name = nil)
|
194
|
+
@iD = iD
|
195
|
+
@active = active
|
196
|
+
@attributes = attributes
|
197
|
+
@conception = conception
|
198
|
+
@description = description
|
199
|
+
@directoryID = directoryID
|
200
|
+
@lastModified = lastModified
|
201
|
+
@name = name
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPCookieInfo
|
206
|
+
# domain - SOAP::SOAPString
|
207
|
+
# secure - SOAP::SOAPBoolean
|
208
|
+
class SOAPCookieInfo
|
209
|
+
attr_accessor :domain
|
210
|
+
attr_accessor :secure
|
211
|
+
|
212
|
+
def initialize(domain = nil, secure = nil)
|
213
|
+
@domain = domain
|
214
|
+
@secure = secure
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSearchRestriction
|
219
|
+
class ArrayOfSearchRestriction < ::Array
|
220
|
+
end
|
221
|
+
|
222
|
+
# {http://soap.integration.crowd.atlassian.com}SearchRestriction
|
223
|
+
# name - SOAP::SOAPString
|
224
|
+
# value - SOAP::SOAPString
|
225
|
+
class SearchRestriction
|
226
|
+
attr_accessor :name
|
227
|
+
attr_accessor :value
|
228
|
+
|
229
|
+
def initialize(name = nil, value = nil)
|
230
|
+
@name = name
|
231
|
+
@value = value
|
232
|
+
end
|
233
|
+
end
|
234
|
+
|
235
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSOAPGroup
|
236
|
+
class ArrayOfSOAPGroup < ::Array
|
237
|
+
end
|
238
|
+
|
239
|
+
# {http://soap.integration.crowd.atlassian.com}SOAPRole
|
240
|
+
# iD - SOAP::SOAPLong
|
241
|
+
# active - SOAP::SOAPBoolean
|
242
|
+
# attributes - ArrayOfSOAPAttribute
|
243
|
+
# conception - SOAP::SOAPDateTime
|
244
|
+
# description - SOAP::SOAPString
|
245
|
+
# directoryID - SOAP::SOAPLong
|
246
|
+
# lastModified - SOAP::SOAPDateTime
|
247
|
+
# members - ArrayOfString
|
248
|
+
# name - SOAP::SOAPString
|
249
|
+
class SOAPRole
|
250
|
+
attr_accessor :iD
|
251
|
+
attr_accessor :active
|
252
|
+
attr_accessor :attributes
|
253
|
+
attr_accessor :conception
|
254
|
+
attr_accessor :description
|
255
|
+
attr_accessor :directoryID
|
256
|
+
attr_accessor :lastModified
|
257
|
+
attr_accessor :members
|
258
|
+
attr_accessor :name
|
259
|
+
|
260
|
+
def initialize(iD = nil, active = nil, attributes = nil, conception = nil, description = nil, directoryID = nil, lastModified = nil, members = nil, name = nil)
|
261
|
+
@iD = iD
|
262
|
+
@active = active
|
263
|
+
@attributes = attributes
|
264
|
+
@conception = conception
|
265
|
+
@description = description
|
266
|
+
@directoryID = directoryID
|
267
|
+
@lastModified = lastModified
|
268
|
+
@members = members
|
269
|
+
@name = name
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSOAPRole
|
274
|
+
class ArrayOfSOAPRole < ::Array
|
275
|
+
end
|
276
|
+
|
277
|
+
# {http://soap.integration.crowd.atlassian.com}ArrayOfSOAPPrincipal
|
278
|
+
class ArrayOfSOAPPrincipal < ::Array
|
279
|
+
end
|
280
|
+
|
281
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
282
|
+
class InvalidAuthorizationTokenException
|
283
|
+
def initialize
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidGroupException
|
288
|
+
class InvalidGroupException
|
289
|
+
def initialize
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
294
|
+
class ApplicationPermissionException
|
295
|
+
def initialize
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
300
|
+
class ObjectNotFoundException
|
301
|
+
def initialize
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidTokenException
|
306
|
+
class InvalidTokenException
|
307
|
+
def initialize
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
|
312
|
+
class InvalidCredentialException
|
313
|
+
def initialize
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidPrincipalException
|
318
|
+
class InvalidPrincipalException
|
319
|
+
def initialize
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# {http://exception.integration.crowd.atlassian.com}ApplicationAccessDeniedException
|
324
|
+
class ApplicationAccessDeniedException
|
325
|
+
def initialize
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
|
330
|
+
class InvalidAuthenticationException
|
331
|
+
def initialize
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
# {http://exception.integration.crowd.atlassian.com}InactiveAccountException
|
336
|
+
class InactiveAccountException
|
337
|
+
def initialize
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidRoleException
|
342
|
+
class InvalidRoleException
|
343
|
+
def initialize
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
# {http://exception.integration.crowd.atlassian.com}InvalidEmailAddressException
|
348
|
+
class InvalidEmailAddressException
|
349
|
+
def initialize
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# {http://rmi.java}RemoteException
|
354
|
+
# cause - Throwable
|
355
|
+
# message - SOAP::SOAPString
|
356
|
+
class RemoteException
|
357
|
+
attr_accessor :cause
|
358
|
+
attr_accessor :message
|
359
|
+
|
360
|
+
def initialize(cause = nil, message = nil)
|
361
|
+
@cause = cause
|
362
|
+
@message = message
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
# {http://lang.java}Throwable
|
367
|
+
class Throwable
|
368
|
+
def initialize
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# {urn:SecurityServer}findAllGroupRelationships
|
373
|
+
# in0 - AuthenticatedToken
|
374
|
+
class FindAllGroupRelationships
|
375
|
+
attr_accessor :in0
|
376
|
+
|
377
|
+
def initialize(in0 = nil)
|
378
|
+
@in0 = in0
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
# {urn:SecurityServer}findAllGroupRelationshipsResponse
|
383
|
+
# out - ArrayOfSOAPNestableGroup
|
384
|
+
class FindAllGroupRelationshipsResponse
|
385
|
+
attr_accessor :out
|
386
|
+
|
387
|
+
def initialize(out = nil)
|
388
|
+
@out = out
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
# {urn:SecurityServer}addGroup
|
393
|
+
# in0 - AuthenticatedToken
|
394
|
+
# in1 - SOAPGroup
|
395
|
+
class AddGroup
|
396
|
+
attr_accessor :in0
|
397
|
+
attr_accessor :in1
|
398
|
+
|
399
|
+
def initialize(in0 = nil, in1 = nil)
|
400
|
+
@in0 = in0
|
401
|
+
@in1 = in1
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# {urn:SecurityServer}addGroupResponse
|
406
|
+
# out - SOAPGroup
|
407
|
+
class AddGroupResponse
|
408
|
+
attr_accessor :out
|
409
|
+
|
410
|
+
def initialize(out = nil)
|
411
|
+
@out = out
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
# {urn:SecurityServer}addPrincipalToRole
|
416
|
+
# in0 - AuthenticatedToken
|
417
|
+
# in1 - SOAP::SOAPString
|
418
|
+
# in2 - SOAP::SOAPString
|
419
|
+
class AddPrincipalToRole
|
420
|
+
attr_accessor :in0
|
421
|
+
attr_accessor :in1
|
422
|
+
attr_accessor :in2
|
423
|
+
|
424
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
425
|
+
@in0 = in0
|
426
|
+
@in1 = in1
|
427
|
+
@in2 = in2
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
# {urn:SecurityServer}addPrincipalToRoleResponse
|
432
|
+
class AddPrincipalToRoleResponse
|
433
|
+
def initialize
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# {urn:SecurityServer}findPrincipalByToken
|
438
|
+
# in0 - AuthenticatedToken
|
439
|
+
# in1 - SOAP::SOAPString
|
440
|
+
class FindPrincipalByToken
|
441
|
+
attr_accessor :in0
|
442
|
+
attr_accessor :in1
|
443
|
+
|
444
|
+
def initialize(in0 = nil, in1 = nil)
|
445
|
+
@in0 = in0
|
446
|
+
@in1 = in1
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# {urn:SecurityServer}findPrincipalByTokenResponse
|
451
|
+
# out - SOAPPrincipal
|
452
|
+
class FindPrincipalByTokenResponse
|
453
|
+
attr_accessor :out
|
454
|
+
|
455
|
+
def initialize(out = nil)
|
456
|
+
@out = out
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# {urn:SecurityServer}updatePrincipalCredential
|
461
|
+
# in0 - AuthenticatedToken
|
462
|
+
# in1 - SOAP::SOAPString
|
463
|
+
# in2 - PasswordCredential
|
464
|
+
class UpdatePrincipalCredential
|
465
|
+
attr_accessor :in0
|
466
|
+
attr_accessor :in1
|
467
|
+
attr_accessor :in2
|
468
|
+
|
469
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
470
|
+
@in0 = in0
|
471
|
+
@in1 = in1
|
472
|
+
@in2 = in2
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
# {urn:SecurityServer}updatePrincipalCredentialResponse
|
477
|
+
class UpdatePrincipalCredentialResponse
|
478
|
+
def initialize
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# {urn:SecurityServer}getGrantedAuthorities
|
483
|
+
# in0 - AuthenticatedToken
|
484
|
+
class GetGrantedAuthorities
|
485
|
+
attr_accessor :in0
|
486
|
+
|
487
|
+
def initialize(in0 = nil)
|
488
|
+
@in0 = in0
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# {urn:SecurityServer}getGrantedAuthoritiesResponse
|
493
|
+
# out - ArrayOfString
|
494
|
+
class GetGrantedAuthoritiesResponse
|
495
|
+
attr_accessor :out
|
496
|
+
|
497
|
+
def initialize(out = nil)
|
498
|
+
@out = out
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
# {urn:SecurityServer}addPrincipal
|
503
|
+
# in0 - AuthenticatedToken
|
504
|
+
# in1 - SOAPPrincipal
|
505
|
+
# in2 - PasswordCredential
|
506
|
+
class AddPrincipal
|
507
|
+
attr_accessor :in0
|
508
|
+
attr_accessor :in1
|
509
|
+
attr_accessor :in2
|
510
|
+
|
511
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
512
|
+
@in0 = in0
|
513
|
+
@in1 = in1
|
514
|
+
@in2 = in2
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
# {urn:SecurityServer}addPrincipalResponse
|
519
|
+
# out - SOAPPrincipal
|
520
|
+
class AddPrincipalResponse
|
521
|
+
attr_accessor :out
|
522
|
+
|
523
|
+
def initialize(out = nil)
|
524
|
+
@out = out
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
# {urn:SecurityServer}addAttributeToPrincipal
|
529
|
+
# in0 - AuthenticatedToken
|
530
|
+
# in1 - SOAP::SOAPString
|
531
|
+
# in2 - SOAPAttribute
|
532
|
+
class AddAttributeToPrincipal
|
533
|
+
attr_accessor :in0
|
534
|
+
attr_accessor :in1
|
535
|
+
attr_accessor :in2
|
536
|
+
|
537
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
538
|
+
@in0 = in0
|
539
|
+
@in1 = in1
|
540
|
+
@in2 = in2
|
541
|
+
end
|
542
|
+
end
|
543
|
+
|
544
|
+
# {urn:SecurityServer}addAttributeToPrincipalResponse
|
545
|
+
class AddAttributeToPrincipalResponse
|
546
|
+
def initialize
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
# {urn:SecurityServer}invalidatePrincipalToken
|
551
|
+
# in0 - AuthenticatedToken
|
552
|
+
# in1 - SOAP::SOAPString
|
553
|
+
class InvalidatePrincipalToken
|
554
|
+
attr_accessor :in0
|
555
|
+
attr_accessor :in1
|
556
|
+
|
557
|
+
def initialize(in0 = nil, in1 = nil)
|
558
|
+
@in0 = in0
|
559
|
+
@in1 = in1
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
# {urn:SecurityServer}invalidatePrincipalTokenResponse
|
564
|
+
class InvalidatePrincipalTokenResponse
|
565
|
+
def initialize
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# {urn:SecurityServer}findAllGroupNames
|
570
|
+
# in0 - AuthenticatedToken
|
571
|
+
class FindAllGroupNames
|
572
|
+
attr_accessor :in0
|
573
|
+
|
574
|
+
def initialize(in0 = nil)
|
575
|
+
@in0 = in0
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
# {urn:SecurityServer}findAllGroupNamesResponse
|
580
|
+
# out - ArrayOfString
|
581
|
+
class FindAllGroupNamesResponse
|
582
|
+
attr_accessor :out
|
583
|
+
|
584
|
+
def initialize(out = nil)
|
585
|
+
@out = out
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# {urn:SecurityServer}findRoleMemberships
|
590
|
+
# in0 - AuthenticatedToken
|
591
|
+
# in1 - SOAP::SOAPString
|
592
|
+
class FindRoleMemberships
|
593
|
+
attr_accessor :in0
|
594
|
+
attr_accessor :in1
|
595
|
+
|
596
|
+
def initialize(in0 = nil, in1 = nil)
|
597
|
+
@in0 = in0
|
598
|
+
@in1 = in1
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
# {urn:SecurityServer}findRoleMembershipsResponse
|
603
|
+
# out - ArrayOfString
|
604
|
+
class FindRoleMembershipsResponse
|
605
|
+
attr_accessor :out
|
606
|
+
|
607
|
+
def initialize(out = nil)
|
608
|
+
@out = out
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
# {urn:SecurityServer}removePrincipal
|
613
|
+
# in0 - AuthenticatedToken
|
614
|
+
# in1 - SOAP::SOAPString
|
615
|
+
class RemovePrincipal
|
616
|
+
attr_accessor :in0
|
617
|
+
attr_accessor :in1
|
618
|
+
|
619
|
+
def initialize(in0 = nil, in1 = nil)
|
620
|
+
@in0 = in0
|
621
|
+
@in1 = in1
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# {urn:SecurityServer}removePrincipalResponse
|
626
|
+
class RemovePrincipalResponse
|
627
|
+
def initialize
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
# {urn:SecurityServer}isValidPrincipalToken
|
632
|
+
# in0 - AuthenticatedToken
|
633
|
+
# in1 - SOAP::SOAPString
|
634
|
+
# in2 - ArrayOfValidationFactor
|
635
|
+
class IsValidPrincipalToken
|
636
|
+
attr_accessor :in0
|
637
|
+
attr_accessor :in1
|
638
|
+
attr_accessor :in2
|
639
|
+
|
640
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
641
|
+
@in0 = in0
|
642
|
+
@in1 = in1
|
643
|
+
@in2 = in2
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
# {urn:SecurityServer}isValidPrincipalTokenResponse
|
648
|
+
# out - SOAP::SOAPBoolean
|
649
|
+
class IsValidPrincipalTokenResponse
|
650
|
+
attr_accessor :out
|
651
|
+
|
652
|
+
def initialize(out = nil)
|
653
|
+
@out = out
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
# {urn:SecurityServer}authenticatePrincipalSimple
|
658
|
+
# in0 - AuthenticatedToken
|
659
|
+
# in1 - SOAP::SOAPString
|
660
|
+
# in2 - SOAP::SOAPString
|
661
|
+
class AuthenticatePrincipalSimple
|
662
|
+
attr_accessor :in0
|
663
|
+
attr_accessor :in1
|
664
|
+
attr_accessor :in2
|
665
|
+
|
666
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
667
|
+
@in0 = in0
|
668
|
+
@in1 = in1
|
669
|
+
@in2 = in2
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
673
|
+
# {urn:SecurityServer}authenticatePrincipalSimpleResponse
|
674
|
+
# out - SOAP::SOAPString
|
675
|
+
class AuthenticatePrincipalSimpleResponse
|
676
|
+
attr_accessor :out
|
677
|
+
|
678
|
+
def initialize(out = nil)
|
679
|
+
@out = out
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
# {urn:SecurityServer}removeRole
|
684
|
+
# in0 - AuthenticatedToken
|
685
|
+
# in1 - SOAP::SOAPString
|
686
|
+
class RemoveRole
|
687
|
+
attr_accessor :in0
|
688
|
+
attr_accessor :in1
|
689
|
+
|
690
|
+
def initialize(in0 = nil, in1 = nil)
|
691
|
+
@in0 = in0
|
692
|
+
@in1 = in1
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# {urn:SecurityServer}removeRoleResponse
|
697
|
+
class RemoveRoleResponse
|
698
|
+
def initialize
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
702
|
+
# {urn:SecurityServer}getCookieInfo
|
703
|
+
# in0 - AuthenticatedToken
|
704
|
+
class GetCookieInfo
|
705
|
+
attr_accessor :in0
|
706
|
+
|
707
|
+
def initialize(in0 = nil)
|
708
|
+
@in0 = in0
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
# {urn:SecurityServer}getCookieInfoResponse
|
713
|
+
# out - SOAPCookieInfo
|
714
|
+
class GetCookieInfoResponse
|
715
|
+
attr_accessor :out
|
716
|
+
|
717
|
+
def initialize(out = nil)
|
718
|
+
@out = out
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
722
|
+
# {urn:SecurityServer}updatePrincipalAttribute
|
723
|
+
# in0 - AuthenticatedToken
|
724
|
+
# in1 - SOAP::SOAPString
|
725
|
+
# in2 - SOAPAttribute
|
726
|
+
class UpdatePrincipalAttribute
|
727
|
+
attr_accessor :in0
|
728
|
+
attr_accessor :in1
|
729
|
+
attr_accessor :in2
|
730
|
+
|
731
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
732
|
+
@in0 = in0
|
733
|
+
@in1 = in1
|
734
|
+
@in2 = in2
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
# {urn:SecurityServer}updatePrincipalAttributeResponse
|
739
|
+
class UpdatePrincipalAttributeResponse
|
740
|
+
def initialize
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
# {urn:SecurityServer}searchGroups
|
745
|
+
# in0 - AuthenticatedToken
|
746
|
+
# in1 - ArrayOfSearchRestriction
|
747
|
+
class SearchGroups
|
748
|
+
attr_accessor :in0
|
749
|
+
attr_accessor :in1
|
750
|
+
|
751
|
+
def initialize(in0 = nil, in1 = nil)
|
752
|
+
@in0 = in0
|
753
|
+
@in1 = in1
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
# {urn:SecurityServer}searchGroupsResponse
|
758
|
+
# out - ArrayOfSOAPGroup
|
759
|
+
class SearchGroupsResponse
|
760
|
+
attr_accessor :out
|
761
|
+
|
762
|
+
def initialize(out = nil)
|
763
|
+
@out = out
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# {urn:SecurityServer}getCacheTime
|
768
|
+
# in0 - AuthenticatedToken
|
769
|
+
class GetCacheTime
|
770
|
+
attr_accessor :in0
|
771
|
+
|
772
|
+
def initialize(in0 = nil)
|
773
|
+
@in0 = in0
|
774
|
+
end
|
775
|
+
end
|
776
|
+
|
777
|
+
# {urn:SecurityServer}getCacheTimeResponse
|
778
|
+
# out - SOAP::SOAPLong
|
779
|
+
class GetCacheTimeResponse
|
780
|
+
attr_accessor :out
|
781
|
+
|
782
|
+
def initialize(out = nil)
|
783
|
+
@out = out
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
787
|
+
# {urn:SecurityServer}isRoleMember
|
788
|
+
# in0 - AuthenticatedToken
|
789
|
+
# in1 - SOAP::SOAPString
|
790
|
+
# in2 - SOAP::SOAPString
|
791
|
+
class IsRoleMember
|
792
|
+
attr_accessor :in0
|
793
|
+
attr_accessor :in1
|
794
|
+
attr_accessor :in2
|
795
|
+
|
796
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
797
|
+
@in0 = in0
|
798
|
+
@in1 = in1
|
799
|
+
@in2 = in2
|
800
|
+
end
|
801
|
+
end
|
802
|
+
|
803
|
+
# {urn:SecurityServer}isRoleMemberResponse
|
804
|
+
# out - SOAP::SOAPBoolean
|
805
|
+
class IsRoleMemberResponse
|
806
|
+
attr_accessor :out
|
807
|
+
|
808
|
+
def initialize(out = nil)
|
809
|
+
@out = out
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
813
|
+
# {urn:SecurityServer}updateGroup
|
814
|
+
# in0 - AuthenticatedToken
|
815
|
+
# in1 - SOAP::SOAPString
|
816
|
+
# in2 - SOAP::SOAPString
|
817
|
+
# in3 - SOAP::SOAPBoolean
|
818
|
+
class UpdateGroup
|
819
|
+
attr_accessor :in0
|
820
|
+
attr_accessor :in1
|
821
|
+
attr_accessor :in2
|
822
|
+
attr_accessor :in3
|
823
|
+
|
824
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil, in3 = nil)
|
825
|
+
@in0 = in0
|
826
|
+
@in1 = in1
|
827
|
+
@in2 = in2
|
828
|
+
@in3 = in3
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
# {urn:SecurityServer}updateGroupResponse
|
833
|
+
class UpdateGroupResponse
|
834
|
+
def initialize
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
# {urn:SecurityServer}findAllRoleNames
|
839
|
+
# in0 - AuthenticatedToken
|
840
|
+
class FindAllRoleNames
|
841
|
+
attr_accessor :in0
|
842
|
+
|
843
|
+
def initialize(in0 = nil)
|
844
|
+
@in0 = in0
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
# {urn:SecurityServer}findAllRoleNamesResponse
|
849
|
+
# out - ArrayOfString
|
850
|
+
class FindAllRoleNamesResponse
|
851
|
+
attr_accessor :out
|
852
|
+
|
853
|
+
def initialize(out = nil)
|
854
|
+
@out = out
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
# {urn:SecurityServer}findRoleByName
|
859
|
+
# in0 - AuthenticatedToken
|
860
|
+
# in1 - SOAP::SOAPString
|
861
|
+
class FindRoleByName
|
862
|
+
attr_accessor :in0
|
863
|
+
attr_accessor :in1
|
864
|
+
|
865
|
+
def initialize(in0 = nil, in1 = nil)
|
866
|
+
@in0 = in0
|
867
|
+
@in1 = in1
|
868
|
+
end
|
869
|
+
end
|
870
|
+
|
871
|
+
# {urn:SecurityServer}findRoleByNameResponse
|
872
|
+
# out - SOAPRole
|
873
|
+
class FindRoleByNameResponse
|
874
|
+
attr_accessor :out
|
875
|
+
|
876
|
+
def initialize(out = nil)
|
877
|
+
@out = out
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
# {urn:SecurityServer}isCacheEnabled
|
882
|
+
# in0 - AuthenticatedToken
|
883
|
+
class IsCacheEnabled
|
884
|
+
attr_accessor :in0
|
885
|
+
|
886
|
+
def initialize(in0 = nil)
|
887
|
+
@in0 = in0
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
891
|
+
# {urn:SecurityServer}isCacheEnabledResponse
|
892
|
+
# out - SOAP::SOAPBoolean
|
893
|
+
class IsCacheEnabledResponse
|
894
|
+
attr_accessor :out
|
895
|
+
|
896
|
+
def initialize(out = nil)
|
897
|
+
@out = out
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
901
|
+
# {urn:SecurityServer}findGroupByName
|
902
|
+
# in0 - AuthenticatedToken
|
903
|
+
# in1 - SOAP::SOAPString
|
904
|
+
class FindGroupByName
|
905
|
+
attr_accessor :in0
|
906
|
+
attr_accessor :in1
|
907
|
+
|
908
|
+
def initialize(in0 = nil, in1 = nil)
|
909
|
+
@in0 = in0
|
910
|
+
@in1 = in1
|
911
|
+
end
|
912
|
+
end
|
913
|
+
|
914
|
+
# {urn:SecurityServer}findGroupByNameResponse
|
915
|
+
# out - SOAPGroup
|
916
|
+
class FindGroupByNameResponse
|
917
|
+
attr_accessor :out
|
918
|
+
|
919
|
+
def initialize(out = nil)
|
920
|
+
@out = out
|
921
|
+
end
|
922
|
+
end
|
923
|
+
|
924
|
+
# {urn:SecurityServer}removePrincipalFromRole
|
925
|
+
# in0 - AuthenticatedToken
|
926
|
+
# in1 - SOAP::SOAPString
|
927
|
+
# in2 - SOAP::SOAPString
|
928
|
+
class RemovePrincipalFromRole
|
929
|
+
attr_accessor :in0
|
930
|
+
attr_accessor :in1
|
931
|
+
attr_accessor :in2
|
932
|
+
|
933
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
934
|
+
@in0 = in0
|
935
|
+
@in1 = in1
|
936
|
+
@in2 = in2
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# {urn:SecurityServer}removePrincipalFromRoleResponse
|
941
|
+
class RemovePrincipalFromRoleResponse
|
942
|
+
def initialize
|
943
|
+
end
|
944
|
+
end
|
945
|
+
|
946
|
+
# {urn:SecurityServer}authenticatePrincipal
|
947
|
+
# in0 - AuthenticatedToken
|
948
|
+
# in1 - PrincipalAuthenticationContext
|
949
|
+
class AuthenticatePrincipal
|
950
|
+
attr_accessor :in0
|
951
|
+
attr_accessor :in1
|
952
|
+
|
953
|
+
def initialize(in0 = nil, in1 = nil)
|
954
|
+
@in0 = in0
|
955
|
+
@in1 = in1
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
959
|
+
# {urn:SecurityServer}authenticatePrincipalResponse
|
960
|
+
# out - SOAP::SOAPString
|
961
|
+
class AuthenticatePrincipalResponse
|
962
|
+
attr_accessor :out
|
963
|
+
|
964
|
+
def initialize(out = nil)
|
965
|
+
@out = out
|
966
|
+
end
|
967
|
+
end
|
968
|
+
|
969
|
+
# {urn:SecurityServer}findGroupMemberships
|
970
|
+
# in0 - AuthenticatedToken
|
971
|
+
# in1 - SOAP::SOAPString
|
972
|
+
class FindGroupMemberships
|
973
|
+
attr_accessor :in0
|
974
|
+
attr_accessor :in1
|
975
|
+
|
976
|
+
def initialize(in0 = nil, in1 = nil)
|
977
|
+
@in0 = in0
|
978
|
+
@in1 = in1
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
982
|
+
# {urn:SecurityServer}findGroupMembershipsResponse
|
983
|
+
# out - ArrayOfString
|
984
|
+
class FindGroupMembershipsResponse
|
985
|
+
attr_accessor :out
|
986
|
+
|
987
|
+
def initialize(out = nil)
|
988
|
+
@out = out
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
992
|
+
# {urn:SecurityServer}addPrincipalToGroup
|
993
|
+
# in0 - AuthenticatedToken
|
994
|
+
# in1 - SOAP::SOAPString
|
995
|
+
# in2 - SOAP::SOAPString
|
996
|
+
class AddPrincipalToGroup
|
997
|
+
attr_accessor :in0
|
998
|
+
attr_accessor :in1
|
999
|
+
attr_accessor :in2
|
1000
|
+
|
1001
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
1002
|
+
@in0 = in0
|
1003
|
+
@in1 = in1
|
1004
|
+
@in2 = in2
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
# {urn:SecurityServer}addPrincipalToGroupResponse
|
1009
|
+
class AddPrincipalToGroupResponse
|
1010
|
+
def initialize
|
1011
|
+
end
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# {urn:SecurityServer}removeGroup
|
1015
|
+
# in0 - AuthenticatedToken
|
1016
|
+
# in1 - SOAP::SOAPString
|
1017
|
+
class RemoveGroup
|
1018
|
+
attr_accessor :in0
|
1019
|
+
attr_accessor :in1
|
1020
|
+
|
1021
|
+
def initialize(in0 = nil, in1 = nil)
|
1022
|
+
@in0 = in0
|
1023
|
+
@in1 = in1
|
1024
|
+
end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# {urn:SecurityServer}removeGroupResponse
|
1028
|
+
class RemoveGroupResponse
|
1029
|
+
def initialize
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# {urn:SecurityServer}removeAttributeFromPrincipal
|
1034
|
+
# in0 - AuthenticatedToken
|
1035
|
+
# in1 - SOAP::SOAPString
|
1036
|
+
# in2 - SOAP::SOAPString
|
1037
|
+
class RemoveAttributeFromPrincipal
|
1038
|
+
attr_accessor :in0
|
1039
|
+
attr_accessor :in1
|
1040
|
+
attr_accessor :in2
|
1041
|
+
|
1042
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
1043
|
+
@in0 = in0
|
1044
|
+
@in1 = in1
|
1045
|
+
@in2 = in2
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# {urn:SecurityServer}removeAttributeFromPrincipalResponse
|
1050
|
+
class RemoveAttributeFromPrincipalResponse
|
1051
|
+
def initialize
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# {urn:SecurityServer}findAllPrincipalNames
|
1056
|
+
# in0 - AuthenticatedToken
|
1057
|
+
class FindAllPrincipalNames
|
1058
|
+
attr_accessor :in0
|
1059
|
+
|
1060
|
+
def initialize(in0 = nil)
|
1061
|
+
@in0 = in0
|
1062
|
+
end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# {urn:SecurityServer}findAllPrincipalNamesResponse
|
1066
|
+
# out - ArrayOfString
|
1067
|
+
class FindAllPrincipalNamesResponse
|
1068
|
+
attr_accessor :out
|
1069
|
+
|
1070
|
+
def initialize(out = nil)
|
1071
|
+
@out = out
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# {urn:SecurityServer}addRole
|
1076
|
+
# in0 - AuthenticatedToken
|
1077
|
+
# in1 - SOAPRole
|
1078
|
+
class AddRole
|
1079
|
+
attr_accessor :in0
|
1080
|
+
attr_accessor :in1
|
1081
|
+
|
1082
|
+
def initialize(in0 = nil, in1 = nil)
|
1083
|
+
@in0 = in0
|
1084
|
+
@in1 = in1
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# {urn:SecurityServer}addRoleResponse
|
1089
|
+
# out - SOAPRole
|
1090
|
+
class AddRoleResponse
|
1091
|
+
attr_accessor :out
|
1092
|
+
|
1093
|
+
def initialize(out = nil)
|
1094
|
+
@out = out
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# {urn:SecurityServer}createPrincipalToken
|
1099
|
+
# in0 - AuthenticatedToken
|
1100
|
+
# in1 - SOAP::SOAPString
|
1101
|
+
# in2 - ArrayOfValidationFactor
|
1102
|
+
class CreatePrincipalToken
|
1103
|
+
attr_accessor :in0
|
1104
|
+
attr_accessor :in1
|
1105
|
+
attr_accessor :in2
|
1106
|
+
|
1107
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
1108
|
+
@in0 = in0
|
1109
|
+
@in1 = in1
|
1110
|
+
@in2 = in2
|
1111
|
+
end
|
1112
|
+
end
|
1113
|
+
|
1114
|
+
# {urn:SecurityServer}createPrincipalTokenResponse
|
1115
|
+
# out - SOAP::SOAPString
|
1116
|
+
class CreatePrincipalTokenResponse
|
1117
|
+
attr_accessor :out
|
1118
|
+
|
1119
|
+
def initialize(out = nil)
|
1120
|
+
@out = out
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# {urn:SecurityServer}searchRoles
|
1125
|
+
# in0 - AuthenticatedToken
|
1126
|
+
# in1 - ArrayOfSearchRestriction
|
1127
|
+
class SearchRoles
|
1128
|
+
attr_accessor :in0
|
1129
|
+
attr_accessor :in1
|
1130
|
+
|
1131
|
+
def initialize(in0 = nil, in1 = nil)
|
1132
|
+
@in0 = in0
|
1133
|
+
@in1 = in1
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
# {urn:SecurityServer}searchRolesResponse
|
1138
|
+
# out - ArrayOfSOAPRole
|
1139
|
+
class SearchRolesResponse
|
1140
|
+
attr_accessor :out
|
1141
|
+
|
1142
|
+
def initialize(out = nil)
|
1143
|
+
@out = out
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# {urn:SecurityServer}removePrincipalFromGroup
|
1148
|
+
# in0 - AuthenticatedToken
|
1149
|
+
# in1 - SOAP::SOAPString
|
1150
|
+
# in2 - SOAP::SOAPString
|
1151
|
+
class RemovePrincipalFromGroup
|
1152
|
+
attr_accessor :in0
|
1153
|
+
attr_accessor :in1
|
1154
|
+
attr_accessor :in2
|
1155
|
+
|
1156
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
1157
|
+
@in0 = in0
|
1158
|
+
@in1 = in1
|
1159
|
+
@in2 = in2
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# {urn:SecurityServer}removePrincipalFromGroupResponse
|
1164
|
+
class RemovePrincipalFromGroupResponse
|
1165
|
+
def initialize
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# {urn:SecurityServer}findPrincipalByName
|
1170
|
+
# in0 - AuthenticatedToken
|
1171
|
+
# in1 - SOAP::SOAPString
|
1172
|
+
class FindPrincipalByName
|
1173
|
+
attr_accessor :in0
|
1174
|
+
attr_accessor :in1
|
1175
|
+
|
1176
|
+
def initialize(in0 = nil, in1 = nil)
|
1177
|
+
@in0 = in0
|
1178
|
+
@in1 = in1
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# {urn:SecurityServer}findPrincipalByNameResponse
|
1183
|
+
# out - SOAPPrincipal
|
1184
|
+
class FindPrincipalByNameResponse
|
1185
|
+
attr_accessor :out
|
1186
|
+
|
1187
|
+
def initialize(out = nil)
|
1188
|
+
@out = out
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# {urn:SecurityServer}resetPrincipalCredential
|
1193
|
+
# in0 - AuthenticatedToken
|
1194
|
+
# in1 - SOAP::SOAPString
|
1195
|
+
class ResetPrincipalCredential
|
1196
|
+
attr_accessor :in0
|
1197
|
+
attr_accessor :in1
|
1198
|
+
|
1199
|
+
def initialize(in0 = nil, in1 = nil)
|
1200
|
+
@in0 = in0
|
1201
|
+
@in1 = in1
|
1202
|
+
end
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
# {urn:SecurityServer}resetPrincipalCredentialResponse
|
1206
|
+
class ResetPrincipalCredentialResponse
|
1207
|
+
def initialize
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# {urn:SecurityServer}isGroupMember
|
1212
|
+
# in0 - AuthenticatedToken
|
1213
|
+
# in1 - SOAP::SOAPString
|
1214
|
+
# in2 - SOAP::SOAPString
|
1215
|
+
class IsGroupMember
|
1216
|
+
attr_accessor :in0
|
1217
|
+
attr_accessor :in1
|
1218
|
+
attr_accessor :in2
|
1219
|
+
|
1220
|
+
def initialize(in0 = nil, in1 = nil, in2 = nil)
|
1221
|
+
@in0 = in0
|
1222
|
+
@in1 = in1
|
1223
|
+
@in2 = in2
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
# {urn:SecurityServer}isGroupMemberResponse
|
1228
|
+
# out - SOAP::SOAPBoolean
|
1229
|
+
class IsGroupMemberResponse
|
1230
|
+
attr_accessor :out
|
1231
|
+
|
1232
|
+
def initialize(out = nil)
|
1233
|
+
@out = out
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# {urn:SecurityServer}searchPrincipals
|
1238
|
+
# in0 - AuthenticatedToken
|
1239
|
+
# in1 - ArrayOfSearchRestriction
|
1240
|
+
class SearchPrincipals
|
1241
|
+
attr_accessor :in0
|
1242
|
+
attr_accessor :in1
|
1243
|
+
|
1244
|
+
def initialize(in0 = nil, in1 = nil)
|
1245
|
+
@in0 = in0
|
1246
|
+
@in1 = in1
|
1247
|
+
end
|
1248
|
+
end
|
1249
|
+
|
1250
|
+
# {urn:SecurityServer}searchPrincipalsResponse
|
1251
|
+
# out - ArrayOfSOAPPrincipal
|
1252
|
+
class SearchPrincipalsResponse
|
1253
|
+
attr_accessor :out
|
1254
|
+
|
1255
|
+
def initialize(out = nil)
|
1256
|
+
@out = out
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
# {urn:SecurityServer}getDomain
|
1261
|
+
# in0 - AuthenticatedToken
|
1262
|
+
class GetDomain
|
1263
|
+
attr_accessor :in0
|
1264
|
+
|
1265
|
+
def initialize(in0 = nil)
|
1266
|
+
@in0 = in0
|
1267
|
+
end
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
# {urn:SecurityServer}getDomainResponse
|
1271
|
+
# out - SOAP::SOAPString
|
1272
|
+
class GetDomainResponse
|
1273
|
+
attr_accessor :out
|
1274
|
+
|
1275
|
+
def initialize(out = nil)
|
1276
|
+
@out = out
|
1277
|
+
end
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# {urn:SecurityServer}authenticateApplication
|
1281
|
+
# in0 - ApplicationAuthenticationContext
|
1282
|
+
class AuthenticateApplication
|
1283
|
+
attr_accessor :in0
|
1284
|
+
|
1285
|
+
def initialize(in0 = nil)
|
1286
|
+
@in0 = in0
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
# {urn:SecurityServer}authenticateApplicationResponse
|
1291
|
+
# out - AuthenticatedToken
|
1292
|
+
class AuthenticateApplicationResponse
|
1293
|
+
attr_accessor :out
|
1294
|
+
|
1295
|
+
def initialize(out = nil)
|
1296
|
+
@out = out
|
1297
|
+
end
|
1298
|
+
end
|