crowd 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ == 0.5.0 / 2007-10-21
2
+
3
+ * 0.5.0
4
+ * Allow application to re-authenticate if token is invalid.
5
+ * Refactored all methods to reduce code and generalize exception handling.
6
+ * 0.4.0
7
+ * Added find_principal_by_token
8
+ * r3 - 10/16/07
9
+ * Extracted class
10
+ * Shifted test to TestUnit
11
+ * Test creates and cleans up all actors
12
+ * Added partial error handling
13
+ * Implemented more function points
14
+ * Tweaked directory structure
15
+ * r2 - 7/10/07
16
+ * Cleaned up commenting
17
+ * Reformatted output
18
+ * Parsing principal
19
+ * Added delete of test attribute before and after run
20
+ * Corrected WSDL
21
+ * r1 - 7/5/07
22
+ * Intial release
@@ -0,0 +1,12 @@
1
+ History.txt
2
+ Manifest.txt
3
+ README.txt
4
+ Rakefile
5
+ lib/SecurityServerClient.rb
6
+ lib/crowd-1.1.0.wsdl
7
+ lib/crowd.rb
8
+ lib/crowd/version.rb
9
+ lib/default.rb
10
+ lib/defaultDriver.rb
11
+ lib/defaultMappingRegistry.rb
12
+ test/test_crowd.rb
@@ -0,0 +1,68 @@
1
+ crowd
2
+ by Jason Rimmer (jrimmer@irth.net) & gemified by Daniel Morrison (http://collectiveidea.com)
3
+
4
+ == DESCRIPTION:
5
+
6
+ A client for Atlassian Crowd v1.1.0r2.
7
+
8
+ Notes:
9
+ WSDL stub generated with wsdl2ruby.rb --wsdl http://localhost:8095/crowd/services/SecurityServer?wsdl --type client
10
+
11
+ Files:
12
+ default.rb - Generated
13
+ defaultDriver.rb - Generated
14
+ defaultMappingRegistry - Generated
15
+ README - You're soaking in it
16
+ SecurityServerClient.rb - Generated
17
+ crowd.rb - Class wrapping crowd calls
18
+ test_crowd.rb - Unit tests
19
+
20
+
21
+ == FEATURES:
22
+
23
+ Methods exercised:
24
+ authenticatePrincipal
25
+ addPrincipal
26
+ findPrincipalByName
27
+ findPrincipalByToken
28
+ removeAttributeFromPrincipal
29
+ addAttributeToPrincipal
30
+ updatePrincipalAttribute
31
+ removePrincipal
32
+ findAllPrincipalNames
33
+ findAllRoleNames
34
+ addRole
35
+ addPrincipalToRole
36
+ removePrincipalFromRole
37
+ isRoleMember
38
+ removeRole
39
+
40
+ Assumptions (configured in CrowdTest.rb):
41
+ Application name and password is 'soaptest'
42
+ Crowd Server is on localhost
43
+
44
+ == TODO:
45
+
46
+ Rightsize error handling
47
+ Create Rails plugin
48
+
49
+ == SYNOPSIS:
50
+
51
+ Ruby client for Atlassian Crowd v1.1.0r2
52
+
53
+ == REQUIREMENTS:
54
+
55
+ * Ruby v1.8.6
56
+ * soap4r v1.5.6
57
+
58
+ == INSTALL:
59
+
60
+ * sudo gem install crowd
61
+
62
+ == LICENSE:
63
+
64
+ Public Domain
65
+
66
+ Created by Jason Rimmer, jrimmer@irth.net on 2007-10-16.
67
+ I hereby place this work that I have authored into the public domain
68
+ and in the process abandon all copyright protection.
@@ -0,0 +1,20 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+ # require './lib/crowd.rb'
6
+ require './lib/crowd/version'
7
+
8
+ Hoe.new('crowd', Crowd::Version::STRING) do |p|
9
+ p.rubyforge_name = 'crowd'
10
+ p.author = 'Jason Rimmer & Daniel Morrison'
11
+ p.email = 'jrimmer@irth.net'
12
+ p.summary = 'Ruby client for Atlassian Crowd'
13
+ p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
14
+ p.url = 'http://crowd.rubyforge.org'
15
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
16
+ p.remote_rdoc_dir = ''
17
+ p.extra_deps << ['soap4r']
18
+ end
19
+
20
+ # vim: syntax=Ruby
@@ -0,0 +1,626 @@
1
+ #!/usr/bin/env ruby
2
+ require File.join(File.dirname(__FILE__), 'defaultDriver.rb')
3
+
4
+ endpoint_url = ARGV.shift
5
+ obj = SecurityServerPortType.new(endpoint_url)
6
+
7
+ # run ruby with -d to see SOAP wiredumps.
8
+ obj.wiredump_dev = STDERR if $DEBUG
9
+
10
+ # SYNOPSIS
11
+ # findPrincipalByName(parameters)
12
+ #
13
+ # ARGS
14
+ # parameters FindPrincipalByName - {urn:SecurityServer}findPrincipalByName
15
+ #
16
+ # RETURNS
17
+ # parameters FindPrincipalByNameResponse - {urn:SecurityServer}findPrincipalByNameResponse
18
+ #
19
+ # RAISES
20
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
21
+ # remoteException RemoteException - {http://rmi.java}RemoteException
22
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
23
+ #
24
+ parameters = nil
25
+ puts obj.findPrincipalByName(parameters)
26
+
27
+ # SYNOPSIS
28
+ # authenticateApplication(parameters)
29
+ #
30
+ # ARGS
31
+ # parameters AuthenticateApplication - {urn:SecurityServer}authenticateApplication
32
+ #
33
+ # RETURNS
34
+ # parameters AuthenticateApplicationResponse - {urn:SecurityServer}authenticateApplicationResponse
35
+ #
36
+ # RAISES
37
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
38
+ # invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
39
+ # remoteException RemoteException - {http://rmi.java}RemoteException
40
+ #
41
+ parameters = nil
42
+ puts obj.authenticateApplication(parameters)
43
+
44
+ # SYNOPSIS
45
+ # addPrincipalToGroup(parameters)
46
+ #
47
+ # ARGS
48
+ # parameters AddPrincipalToGroup - {urn:SecurityServer}addPrincipalToGroup
49
+ #
50
+ # RETURNS
51
+ # parameters AddPrincipalToGroupResponse - {urn:SecurityServer}addPrincipalToGroupResponse
52
+ #
53
+ # RAISES
54
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
55
+ # remoteException RemoteException - {http://rmi.java}RemoteException
56
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
57
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
58
+ #
59
+ parameters = nil
60
+ puts obj.addPrincipalToGroup(parameters)
61
+
62
+ # SYNOPSIS
63
+ # findRoleByName(parameters)
64
+ #
65
+ # ARGS
66
+ # parameters FindRoleByName - {urn:SecurityServer}findRoleByName
67
+ #
68
+ # RETURNS
69
+ # parameters FindRoleByNameResponse - {urn:SecurityServer}findRoleByNameResponse
70
+ #
71
+ # RAISES
72
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
73
+ # remoteException RemoteException - {http://rmi.java}RemoteException
74
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
75
+ #
76
+ parameters = nil
77
+ puts obj.findRoleByName(parameters)
78
+
79
+ # SYNOPSIS
80
+ # addRole(parameters)
81
+ #
82
+ # ARGS
83
+ # parameters AddRole - {urn:SecurityServer}addRole
84
+ #
85
+ # RETURNS
86
+ # parameters AddRoleResponse - {urn:SecurityServer}addRoleResponse
87
+ #
88
+ # RAISES
89
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
90
+ # remoteException RemoteException - {http://rmi.java}RemoteException
91
+ # invalidRoleException InvalidRoleException - {http://exception.integration.crowd.atlassian.com}InvalidRoleException
92
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
93
+ #
94
+ parameters = nil
95
+ puts obj.addRole(parameters)
96
+
97
+ # SYNOPSIS
98
+ # findPrincipalByToken(parameters)
99
+ #
100
+ # ARGS
101
+ # parameters FindPrincipalByToken - {urn:SecurityServer}findPrincipalByToken
102
+ #
103
+ # RETURNS
104
+ # parameters FindPrincipalByTokenResponse - {urn:SecurityServer}findPrincipalByTokenResponse
105
+ #
106
+ # RAISES
107
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
108
+ # invalidTokenException InvalidTokenException - {http://exception.integration.crowd.atlassian.com}InvalidTokenException
109
+ # remoteException RemoteException - {http://rmi.java}RemoteException
110
+ #
111
+ parameters = nil
112
+ puts obj.findPrincipalByToken(parameters)
113
+
114
+ # SYNOPSIS
115
+ # isGroupMember(parameters)
116
+ #
117
+ # ARGS
118
+ # parameters IsGroupMember - {urn:SecurityServer}isGroupMember
119
+ #
120
+ # RETURNS
121
+ # parameters IsGroupMemberResponse - {urn:SecurityServer}isGroupMemberResponse
122
+ #
123
+ # RAISES
124
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
125
+ # remoteException RemoteException - {http://rmi.java}RemoteException
126
+ #
127
+ parameters = nil
128
+ puts obj.isGroupMember(parameters)
129
+
130
+ # SYNOPSIS
131
+ # searchGroups(parameters)
132
+ #
133
+ # ARGS
134
+ # parameters SearchGroups - {urn:SecurityServer}searchGroups
135
+ #
136
+ # RETURNS
137
+ # parameters SearchGroupsResponse - {urn:SecurityServer}searchGroupsResponse
138
+ #
139
+ # RAISES
140
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
141
+ # remoteException RemoteException - {http://rmi.java}RemoteException
142
+ #
143
+ parameters = nil
144
+ puts obj.searchGroups(parameters)
145
+
146
+ # SYNOPSIS
147
+ # getDomain(parameters)
148
+ #
149
+ # ARGS
150
+ # parameters GetDomain - {urn:SecurityServer}getDomain
151
+ #
152
+ # RETURNS
153
+ # parameters GetDomainResponse - {urn:SecurityServer}getDomainResponse
154
+ #
155
+ # RAISES
156
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
157
+ # remoteException RemoteException - {http://rmi.java}RemoteException
158
+ #
159
+ parameters = nil
160
+ puts obj.getDomain(parameters)
161
+
162
+ # SYNOPSIS
163
+ # removeAttributeFromPrincipal(parameters)
164
+ #
165
+ # ARGS
166
+ # parameters RemoveAttributeFromPrincipal - {urn:SecurityServer}removeAttributeFromPrincipal
167
+ #
168
+ # RETURNS
169
+ # parameters RemoveAttributeFromPrincipalResponse - {urn:SecurityServer}removeAttributeFromPrincipalResponse
170
+ #
171
+ # RAISES
172
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
173
+ # remoteException RemoteException - {http://rmi.java}RemoteException
174
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
175
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
176
+ #
177
+ parameters = nil
178
+ puts obj.removeAttributeFromPrincipal(parameters)
179
+
180
+ # SYNOPSIS
181
+ # isRoleMember(parameters)
182
+ #
183
+ # ARGS
184
+ # parameters IsRoleMember - {urn:SecurityServer}isRoleMember
185
+ #
186
+ # RETURNS
187
+ # parameters IsRoleMemberResponse - {urn:SecurityServer}isRoleMemberResponse
188
+ #
189
+ # RAISES
190
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
191
+ # remoteException RemoteException - {http://rmi.java}RemoteException
192
+ #
193
+ parameters = nil
194
+ puts obj.isRoleMember(parameters)
195
+
196
+ # SYNOPSIS
197
+ # removeRole(parameters)
198
+ #
199
+ # ARGS
200
+ # parameters RemoveRole - {urn:SecurityServer}removeRole
201
+ #
202
+ # RETURNS
203
+ # parameters RemoveRoleResponse - {urn:SecurityServer}removeRoleResponse
204
+ #
205
+ # RAISES
206
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
207
+ # remoteException RemoteException - {http://rmi.java}RemoteException
208
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
209
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
210
+ #
211
+ parameters = nil
212
+ puts obj.removeRole(parameters)
213
+
214
+ # SYNOPSIS
215
+ # removePrincipalFromRole(parameters)
216
+ #
217
+ # ARGS
218
+ # parameters RemovePrincipalFromRole - {urn:SecurityServer}removePrincipalFromRole
219
+ #
220
+ # RETURNS
221
+ # parameters RemovePrincipalFromRoleResponse - {urn:SecurityServer}removePrincipalFromRoleResponse
222
+ #
223
+ # RAISES
224
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
225
+ # remoteException RemoteException - {http://rmi.java}RemoteException
226
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
227
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
228
+ #
229
+ parameters = nil
230
+ puts obj.removePrincipalFromRole(parameters)
231
+
232
+ # SYNOPSIS
233
+ # addGroup(parameters)
234
+ #
235
+ # ARGS
236
+ # parameters AddGroup - {urn:SecurityServer}addGroup
237
+ #
238
+ # RETURNS
239
+ # parameters AddGroupResponse - {urn:SecurityServer}addGroupResponse
240
+ #
241
+ # RAISES
242
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
243
+ # remoteException RemoteException - {http://rmi.java}RemoteException
244
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
245
+ # invalidGroupException InvalidGroupException - {http://exception.integration.crowd.atlassian.com}InvalidGroupException
246
+ #
247
+ parameters = nil
248
+ puts obj.addGroup(parameters)
249
+
250
+ # SYNOPSIS
251
+ # findRoleMemberships(parameters)
252
+ #
253
+ # ARGS
254
+ # parameters FindRoleMemberships - {urn:SecurityServer}findRoleMemberships
255
+ #
256
+ # RETURNS
257
+ # parameters FindRoleMembershipsResponse - {urn:SecurityServer}findRoleMembershipsResponse
258
+ #
259
+ # RAISES
260
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
261
+ # remoteException RemoteException - {http://rmi.java}RemoteException
262
+ #
263
+ parameters = nil
264
+ puts obj.findRoleMemberships(parameters)
265
+
266
+ # SYNOPSIS
267
+ # getCacheTime(parameters)
268
+ #
269
+ # ARGS
270
+ # parameters GetCacheTime - {urn:SecurityServer}getCacheTime
271
+ #
272
+ # RETURNS
273
+ # parameters GetCacheTimeResponse - {urn:SecurityServer}getCacheTimeResponse
274
+ #
275
+ # RAISES
276
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
277
+ # remoteException RemoteException - {http://rmi.java}RemoteException
278
+ #
279
+ parameters = nil
280
+ puts obj.getCacheTime(parameters)
281
+
282
+ # SYNOPSIS
283
+ # removePrincipal(parameters)
284
+ #
285
+ # ARGS
286
+ # parameters RemovePrincipal - {urn:SecurityServer}removePrincipal
287
+ #
288
+ # RETURNS
289
+ # parameters RemovePrincipalResponse - {urn:SecurityServer}removePrincipalResponse
290
+ #
291
+ # RAISES
292
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
293
+ # remoteException RemoteException - {http://rmi.java}RemoteException
294
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
295
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
296
+ #
297
+ parameters = nil
298
+ puts obj.removePrincipal(parameters)
299
+
300
+ # SYNOPSIS
301
+ # resetPrincipalCredential(parameters)
302
+ #
303
+ # ARGS
304
+ # parameters ResetPrincipalCredential - {urn:SecurityServer}resetPrincipalCredential
305
+ #
306
+ # RETURNS
307
+ # parameters ResetPrincipalCredentialResponse - {urn:SecurityServer}resetPrincipalCredentialResponse
308
+ #
309
+ # RAISES
310
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
311
+ # invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
312
+ # remoteException RemoteException - {http://rmi.java}RemoteException
313
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
314
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
315
+ #
316
+ parameters = nil
317
+ puts obj.resetPrincipalCredential(parameters)
318
+
319
+ # SYNOPSIS
320
+ # findAllRoleNames(parameters)
321
+ #
322
+ # ARGS
323
+ # parameters FindAllRoleNames - {urn:SecurityServer}findAllRoleNames
324
+ #
325
+ # RETURNS
326
+ # parameters FindAllRoleNamesResponse - {urn:SecurityServer}findAllRoleNamesResponse
327
+ #
328
+ # RAISES
329
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
330
+ # remoteException RemoteException - {http://rmi.java}RemoteException
331
+ #
332
+ parameters = nil
333
+ puts obj.findAllRoleNames(parameters)
334
+
335
+ # SYNOPSIS
336
+ # addPrincipalToRole(parameters)
337
+ #
338
+ # ARGS
339
+ # parameters AddPrincipalToRole - {urn:SecurityServer}addPrincipalToRole
340
+ #
341
+ # RETURNS
342
+ # parameters AddPrincipalToRoleResponse - {urn:SecurityServer}addPrincipalToRoleResponse
343
+ #
344
+ # RAISES
345
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
346
+ # remoteException RemoteException - {http://rmi.java}RemoteException
347
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
348
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
349
+ #
350
+ parameters = nil
351
+ puts obj.addPrincipalToRole(parameters)
352
+
353
+ # SYNOPSIS
354
+ # invalidatePrincipalToken(parameters)
355
+ #
356
+ # ARGS
357
+ # parameters InvalidatePrincipalToken - {urn:SecurityServer}invalidatePrincipalToken
358
+ #
359
+ # RETURNS
360
+ # parameters InvalidatePrincipalTokenResponse - {urn:SecurityServer}invalidatePrincipalTokenResponse
361
+ #
362
+ # RAISES
363
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
364
+ # remoteException RemoteException - {http://rmi.java}RemoteException
365
+ #
366
+ parameters = nil
367
+ puts obj.invalidatePrincipalToken(parameters)
368
+
369
+ # SYNOPSIS
370
+ # searchPrincipals(parameters)
371
+ #
372
+ # ARGS
373
+ # parameters SearchPrincipals - {urn:SecurityServer}searchPrincipals
374
+ #
375
+ # RETURNS
376
+ # parameters SearchPrincipalsResponse - {urn:SecurityServer}searchPrincipalsResponse
377
+ #
378
+ # RAISES
379
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
380
+ # remoteException RemoteException - {http://rmi.java}RemoteException
381
+ #
382
+ parameters = nil
383
+ puts obj.searchPrincipals(parameters)
384
+
385
+ # SYNOPSIS
386
+ # findGroupByName(parameters)
387
+ #
388
+ # ARGS
389
+ # parameters FindGroupByName - {urn:SecurityServer}findGroupByName
390
+ #
391
+ # RETURNS
392
+ # parameters FindGroupByNameResponse - {urn:SecurityServer}findGroupByNameResponse
393
+ #
394
+ # RAISES
395
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
396
+ # remoteException RemoteException - {http://rmi.java}RemoteException
397
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
398
+ #
399
+ parameters = nil
400
+ puts obj.findGroupByName(parameters)
401
+
402
+ # SYNOPSIS
403
+ # findAllGroupNames(parameters)
404
+ #
405
+ # ARGS
406
+ # parameters FindAllGroupNames - {urn:SecurityServer}findAllGroupNames
407
+ #
408
+ # RETURNS
409
+ # parameters FindAllGroupNamesResponse - {urn:SecurityServer}findAllGroupNamesResponse
410
+ #
411
+ # RAISES
412
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
413
+ # remoteException RemoteException - {http://rmi.java}RemoteException
414
+ #
415
+ parameters = nil
416
+ puts obj.findAllGroupNames(parameters)
417
+
418
+ # SYNOPSIS
419
+ # addAttributeToPrincipal(parameters)
420
+ #
421
+ # ARGS
422
+ # parameters AddAttributeToPrincipal - {urn:SecurityServer}addAttributeToPrincipal
423
+ #
424
+ # RETURNS
425
+ # parameters AddAttributeToPrincipalResponse - {urn:SecurityServer}addAttributeToPrincipalResponse
426
+ #
427
+ # RAISES
428
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
429
+ # remoteException RemoteException - {http://rmi.java}RemoteException
430
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
431
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
432
+ #
433
+ parameters = nil
434
+ puts obj.addAttributeToPrincipal(parameters)
435
+
436
+ # SYNOPSIS
437
+ # removePrincipalFromGroup(parameters)
438
+ #
439
+ # ARGS
440
+ # parameters RemovePrincipalFromGroup - {urn:SecurityServer}removePrincipalFromGroup
441
+ #
442
+ # RETURNS
443
+ # parameters RemovePrincipalFromGroupResponse - {urn:SecurityServer}removePrincipalFromGroupResponse
444
+ #
445
+ # RAISES
446
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
447
+ # remoteException RemoteException - {http://rmi.java}RemoteException
448
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
449
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
450
+ #
451
+ parameters = nil
452
+ puts obj.removePrincipalFromGroup(parameters)
453
+
454
+ # SYNOPSIS
455
+ # findGroupMemberships(parameters)
456
+ #
457
+ # ARGS
458
+ # parameters FindGroupMemberships - {urn:SecurityServer}findGroupMemberships
459
+ #
460
+ # RETURNS
461
+ # parameters FindGroupMembershipsResponse - {urn:SecurityServer}findGroupMembershipsResponse
462
+ #
463
+ # RAISES
464
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
465
+ # remoteException RemoteException - {http://rmi.java}RemoteException
466
+ #
467
+ parameters = nil
468
+ puts obj.findGroupMemberships(parameters)
469
+
470
+ # SYNOPSIS
471
+ # updatePrincipalCredential(parameters)
472
+ #
473
+ # ARGS
474
+ # parameters UpdatePrincipalCredential - {urn:SecurityServer}updatePrincipalCredential
475
+ #
476
+ # RETURNS
477
+ # parameters UpdatePrincipalCredentialResponse - {urn:SecurityServer}updatePrincipalCredentialResponse
478
+ #
479
+ # RAISES
480
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
481
+ # invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
482
+ # remoteException RemoteException - {http://rmi.java}RemoteException
483
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
484
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
485
+ #
486
+ parameters = nil
487
+ puts obj.updatePrincipalCredential(parameters)
488
+
489
+ # SYNOPSIS
490
+ # updatePrincipalAttribute(parameters)
491
+ #
492
+ # ARGS
493
+ # parameters UpdatePrincipalAttribute - {urn:SecurityServer}updatePrincipalAttribute
494
+ #
495
+ # RETURNS
496
+ # parameters UpdatePrincipalAttributeResponse - {urn:SecurityServer}updatePrincipalAttributeResponse
497
+ #
498
+ # RAISES
499
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
500
+ # remoteException RemoteException - {http://rmi.java}RemoteException
501
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
502
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
503
+ #
504
+ parameters = nil
505
+ puts obj.updatePrincipalAttribute(parameters)
506
+
507
+ # SYNOPSIS
508
+ # findAllPrincipalNames(parameters)
509
+ #
510
+ # ARGS
511
+ # parameters FindAllPrincipalNames - {urn:SecurityServer}findAllPrincipalNames
512
+ #
513
+ # RETURNS
514
+ # parameters FindAllPrincipalNamesResponse - {urn:SecurityServer}findAllPrincipalNamesResponse
515
+ #
516
+ # RAISES
517
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
518
+ # remoteException RemoteException - {http://rmi.java}RemoteException
519
+ #
520
+ parameters = nil
521
+ puts obj.findAllPrincipalNames(parameters)
522
+
523
+ # SYNOPSIS
524
+ # searchRoles(parameters)
525
+ #
526
+ # ARGS
527
+ # parameters SearchRoles - {urn:SecurityServer}searchRoles
528
+ #
529
+ # RETURNS
530
+ # parameters SearchRolesResponse - {urn:SecurityServer}searchRolesResponse
531
+ #
532
+ # RAISES
533
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
534
+ # remoteException RemoteException - {http://rmi.java}RemoteException
535
+ #
536
+ parameters = nil
537
+ puts obj.searchRoles(parameters)
538
+
539
+ # SYNOPSIS
540
+ # isCacheEnabled(parameters)
541
+ #
542
+ # ARGS
543
+ # parameters IsCacheEnabled - {urn:SecurityServer}isCacheEnabled
544
+ #
545
+ # RETURNS
546
+ # parameters IsCacheEnabledResponse - {urn:SecurityServer}isCacheEnabledResponse
547
+ #
548
+ # RAISES
549
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
550
+ # remoteException RemoteException - {http://rmi.java}RemoteException
551
+ #
552
+ parameters = nil
553
+ puts obj.isCacheEnabled(parameters)
554
+
555
+ # SYNOPSIS
556
+ # addPrincipal(parameters)
557
+ #
558
+ # ARGS
559
+ # parameters AddPrincipal - {urn:SecurityServer}addPrincipal
560
+ #
561
+ # RETURNS
562
+ # parameters AddPrincipalResponse - {urn:SecurityServer}addPrincipalResponse
563
+ #
564
+ # RAISES
565
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
566
+ # invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
567
+ # invalidPrincipalException InvalidPrincipalException - {http://exception.integration.crowd.atlassian.com}InvalidPrincipalException
568
+ # remoteException RemoteException - {http://rmi.java}RemoteException
569
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
570
+ #
571
+ parameters = nil
572
+ puts obj.addPrincipal(parameters)
573
+
574
+ # SYNOPSIS
575
+ # isValidPrincipalToken(parameters)
576
+ #
577
+ # ARGS
578
+ # parameters IsValidPrincipalToken - {urn:SecurityServer}isValidPrincipalToken
579
+ #
580
+ # RETURNS
581
+ # parameters IsValidPrincipalTokenResponse - {urn:SecurityServer}isValidPrincipalTokenResponse
582
+ #
583
+ # RAISES
584
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
585
+ # remoteException RemoteException - {http://rmi.java}RemoteException
586
+ #
587
+ parameters = nil
588
+ puts obj.isValidPrincipalToken(parameters)
589
+
590
+ # SYNOPSIS
591
+ # removeGroup(parameters)
592
+ #
593
+ # ARGS
594
+ # parameters RemoveGroup - {urn:SecurityServer}removeGroup
595
+ #
596
+ # RETURNS
597
+ # parameters RemoveGroupResponse - {urn:SecurityServer}removeGroupResponse
598
+ #
599
+ # RAISES
600
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
601
+ # remoteException RemoteException - {http://rmi.java}RemoteException
602
+ # objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
603
+ # directoryPermissionException DirectoryPermissionException - {http://exception.integration.crowd.atlassian.com}DirectoryPermissionException
604
+ #
605
+ parameters = nil
606
+ puts obj.removeGroup(parameters)
607
+
608
+ # SYNOPSIS
609
+ # authenticatePrincipal(parameters)
610
+ #
611
+ # ARGS
612
+ # parameters AuthenticatePrincipal - {urn:SecurityServer}authenticatePrincipal
613
+ #
614
+ # RETURNS
615
+ # parameters AuthenticatePrincipalResponse - {urn:SecurityServer}authenticatePrincipalResponse
616
+ #
617
+ # RAISES
618
+ # invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
619
+ # invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
620
+ # remoteException RemoteException - {http://rmi.java}RemoteException
621
+ # inactiveAccountException InactiveAccountException - {http://exception.integration.crowd.atlassian.com}InactiveAccountException
622
+ #
623
+ parameters = nil
624
+ puts obj.authenticatePrincipal(parameters)
625
+
626
+