crowd-stefanwille 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/History.txt +37 -0
- data/README.rdoc +122 -0
- data/Rakefile +44 -0
- data/demo/crowd_demo.rb +24 -0
- data/lib/crowd/http/request.rb +6 -0
- data/lib/crowd/http/response.rb +5 -0
- data/lib/crowd/http/sso.rb +101 -0
- data/lib/crowd/soap/SecurityServerClient.rb +844 -0
- data/lib/crowd/soap/crowd-2.0.5.wsdl +3158 -0
- data/lib/crowd/soap/default.rb +1525 -0
- data/lib/crowd/soap/driver.rb +423 -0
- data/lib/crowd/soap/mapping_registry.rb +1614 -0
- data/lib/crowd/version.rb +9 -0
- data/lib/crowd.rb +669 -0
- data/spec/crowd_spec.rb +149 -0
- data/stefanwille-crowd.gemspec +62 -0
- metadata +112 -0
data/.gitignore
ADDED
data/History.txt
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
|
2
|
+
== 0.5.8 / 2010-07-14
|
3
|
+
|
4
|
+
* 0.5.8 update by Stefan Wille <post@stefanwille.com>
|
5
|
+
* upgrade to crowd 2.0.5
|
6
|
+
* comment out specs for roles because of deprecation
|
7
|
+
* 0.5.5 update by Olli Helenius <liff@iki.fi>
|
8
|
+
* upgrade to crowd 1.6.1
|
9
|
+
* 0.5.4 update by evgeny.zislis@gmail.com
|
10
|
+
* upgrade to crowd 1.4.0
|
11
|
+
* bump soap4r to 1.5.8
|
12
|
+
* 0.5.3
|
13
|
+
* Added is_valid_principal_token?
|
14
|
+
* 0.5.2
|
15
|
+
* Fixed an uncaught exception when finding a user by an expired token.
|
16
|
+
* 0.5.1
|
17
|
+
* Added invalidate_principal_token
|
18
|
+
* 0.5.0
|
19
|
+
* Allow application to re-authenticate if token is invalid.
|
20
|
+
* Refactored all methods to reduce code and generalize exception handling.
|
21
|
+
* 0.4.0
|
22
|
+
* Added find_principal_by_token
|
23
|
+
* r3 - 10/16/07
|
24
|
+
* Extracted class
|
25
|
+
* Shifted test to TestUnit
|
26
|
+
* Test creates and cleans up all actors
|
27
|
+
* Added partial error handling
|
28
|
+
* Implemented more function points
|
29
|
+
* Tweaked directory structure
|
30
|
+
* r2 - 7/10/07
|
31
|
+
* Cleaned up commenting
|
32
|
+
* Reformatted output
|
33
|
+
* Parsing principal
|
34
|
+
* Added delete of test attribute before and after run
|
35
|
+
* Corrected WSDL
|
36
|
+
* r1 - 7/5/07
|
37
|
+
* Intial release
|
data/README.rdoc
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
= crowd
|
2
|
+
updated by Stefan Wille <post@stefanwille.com>
|
3
|
+
updated by Olli Helenius <liff@iki.fi>
|
4
|
+
updated by Evgeny Zislis (evgeny.zislis@gmail.com)
|
5
|
+
original by Jason Rimmer (jrimmer@irth.net) & gemified for rubyforge by Daniel Morrison (http://collectiveidea.com)
|
6
|
+
|
7
|
+
== DESCRIPTION:
|
8
|
+
|
9
|
+
A client for Atlassian[http://www.atlassian.com] Crowd[http://www.atlassian.com/crowd] v2.0.5
|
10
|
+
|
11
|
+
=== NOTES:
|
12
|
+
WSDL stub generated with:
|
13
|
+
rake wsdl2ruby
|
14
|
+
|
15
|
+
RSpec tests run with:
|
16
|
+
rake test
|
17
|
+
(requires a Crowd server on localhost, easy to setup)
|
18
|
+
|
19
|
+
Local gem installed with:
|
20
|
+
rake install
|
21
|
+
|
22
|
+
|
23
|
+
Original SOAP API is available from Atlassian at http://confluence.atlassian.com/display/CROWDDEV/SOAP+API
|
24
|
+
|
25
|
+
== FEATURES:
|
26
|
+
|
27
|
+
Methods exercised (*implemented*, not implemented):
|
28
|
+
|
29
|
+
* *addAttributeToPrincipal*
|
30
|
+
- addGroup
|
31
|
+
* *addPrincipal*
|
32
|
+
- addPrincipalToGroup
|
33
|
+
* *addPrincipalToRole*
|
34
|
+
* *addRole*
|
35
|
+
* *authenticateApplication*
|
36
|
+
* *authenticatePrincipal*
|
37
|
+
- authenticatePrincipalSimple
|
38
|
+
- createPrincipalToken
|
39
|
+
* *findAllGroupNames*
|
40
|
+
- findAllGroupRelationships
|
41
|
+
* *findAllPrincipalNames*
|
42
|
+
* *findAllRoleNames*
|
43
|
+
- findGroupByName
|
44
|
+
* *findGroupMemberships*
|
45
|
+
* *findPrincipalByName*
|
46
|
+
* *findPrincipalByToken*
|
47
|
+
- findRoleByName
|
48
|
+
- findRoleMemberships
|
49
|
+
- getCookieInfo
|
50
|
+
- getGrantedAuthorities
|
51
|
+
* *invalidatePrincipalToken*
|
52
|
+
- isCacheEnabled
|
53
|
+
- isGroupMember
|
54
|
+
* *isRoleMember*
|
55
|
+
* *isValidPrincipalToken*
|
56
|
+
* *removeAttributeFromPrincipal*
|
57
|
+
- removeGroup
|
58
|
+
* *removePrincipal*
|
59
|
+
- removePrincipalFromGroup
|
60
|
+
* *removePrincipalFromRole*
|
61
|
+
* *removeRole*
|
62
|
+
- resetPrincipalCredential
|
63
|
+
- searchGroups
|
64
|
+
- searchPrincipals
|
65
|
+
- searchRoles
|
66
|
+
- updateGroup
|
67
|
+
* *updatePrincipalAttribute*
|
68
|
+
- updatePrincipalCredential
|
69
|
+
|
70
|
+
Role related methods were left in the Ruby API but are not tested. Roles are deprecated in favor of groups in Crowd 2.0
|
71
|
+
|
72
|
+
Assumptions (configured in CrowdTest.rb):
|
73
|
+
|
74
|
+
* Crowd Server is on localhost, port 8095
|
75
|
+
* Application name and password is 'soaptest'
|
76
|
+
* Application 'soaptest' directory set to 'True'
|
77
|
+
|
78
|
+
== TODO:
|
79
|
+
|
80
|
+
* Rightsize error handling
|
81
|
+
* Create Rails plugin
|
82
|
+
|
83
|
+
== SYNOPSIS:
|
84
|
+
|
85
|
+
Ruby client for Atlassian Crowd 2.0.5
|
86
|
+
|
87
|
+
== REQUIREMENTS:
|
88
|
+
|
89
|
+
* Ruby v1.8.6
|
90
|
+
* soap4r[http://dev.ctor.org/soap4r] v1.5.8
|
91
|
+
* Atlassian Crowd[http://atlassian.com/crowd] v2.0
|
92
|
+
|
93
|
+
== INSTALL:
|
94
|
+
|
95
|
+
sudo gem install crowd2
|
96
|
+
|
97
|
+
== FILES:
|
98
|
+
|
99
|
+
* <tt>README.rdoc</tt> - You're soaking in it
|
100
|
+
* <tt>demo/crowd_demo.rb</tt> - A demo that will get you started quickly
|
101
|
+
* <tt>spec/crowd_spec.rb</tt> - Tests. Also the API documentation.
|
102
|
+
* <tt>lib/crowd.rb</tt> - Class wrapping crowd calls
|
103
|
+
* <tt>lib/crowd/soap/crowd-2.0.5.wsdl</tt> - Downloaded from Crowd
|
104
|
+
* <tt>lib/crowd/soap/driver.rb</tt> - Generated
|
105
|
+
* <tt>lib/crowd/soap/mapping_registry.rb</tt> - Generated
|
106
|
+
* <tt>lib/crowd/soap/default.rb</tt> - Generated
|
107
|
+
* <tt>lib/crowd/soap/SecurityServerClient.rb</tt> - Generated
|
108
|
+
|
109
|
+
== LICENSE:
|
110
|
+
|
111
|
+
Public Domain
|
112
|
+
|
113
|
+
Created by Jason Rimmer, jrimmer@irth.net on 2007-10-16.
|
114
|
+
I hereby place this work that I have authored into the public domain
|
115
|
+
and in the process abandon all copyright protection.
|
116
|
+
|
117
|
+
Updated by Evgeny Zislis, evgeny.zislis@gmail.com on 2008-05-14
|
118
|
+
|
119
|
+
Updated by Olli Helenius <liff@iki.fi> on 2009-09-09
|
120
|
+
|
121
|
+
Updated by Stefan Wille <post@stefanwille.com> on 2010-07-14
|
122
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rake'
|
5
|
+
require 'jeweler'
|
6
|
+
require './lib/crowd/version'
|
7
|
+
|
8
|
+
|
9
|
+
# Install the gem locally via 'rake install'.
|
10
|
+
|
11
|
+
task :default => :test
|
12
|
+
|
13
|
+
task :test do
|
14
|
+
system("spec spec/crowd_spec.rb")
|
15
|
+
end
|
16
|
+
|
17
|
+
task :wsdl2ruby do
|
18
|
+
system("cd lib/crowd/soap/ && wsdl2ruby.rb --force --wsdl http://localhost:8095/crowd/services/SecurityServer?wsdl --type client")
|
19
|
+
system("cp lib/crowd/soap/defaultMappingRegistry.rb lib/crowd/soap/mapping_registry.rb")
|
20
|
+
system("rm lib/crowd/soap/defaultMappingRegistry.rb")
|
21
|
+
system("cp lib/crowd/soap/defaultDriver.rb lib/crowd/soap/driver.rb")
|
22
|
+
system("rm lib/crowd/soap/defaultDriver.rb")
|
23
|
+
puts "You will need to modify some 'require' statements in the generated sources manually to load files from the right location."
|
24
|
+
end
|
25
|
+
|
26
|
+
begin
|
27
|
+
require 'jeweler'
|
28
|
+
Jeweler::Tasks.new do |gemspec|
|
29
|
+
gemspec.name = "crowd-stefanwille"
|
30
|
+
gemspec.version = Crowd::Version::STRING
|
31
|
+
gemspec.summary = "Ruby client for Atlassian Crowd"
|
32
|
+
gemspec.description = "A client for Atlassian[http://www.atlassian.com] Crowd[http://www.atlassian.com/crowd] v2.0.5"
|
33
|
+
gemspec.email = "post @nospam@ stefanwille.com"
|
34
|
+
gemspec.homepage = "http://github.com/stefanwille/crowd"
|
35
|
+
gemspec.authors = ["Stefan Wille", "Evgeny Zislis", "Jason Rimmer & Daniel Morrison"]
|
36
|
+
gemspec.add_dependency('soap4r')
|
37
|
+
gemspec.add_development_dependency('rspec')
|
38
|
+
end
|
39
|
+
rescue LoadError
|
40
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
41
|
+
end
|
42
|
+
|
43
|
+
|
44
|
+
# vim:syn=ruby
|
data/demo/crowd_demo.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
gem 'soap4r'
|
5
|
+
|
6
|
+
require File.join(File.dirname(__FILE__), '..', 'lib', 'crowd')
|
7
|
+
|
8
|
+
# For this demo to work, you must go to Crowd admin area (ususally http://localhost:8095/crowd)
|
9
|
+
# and set up an application named 'soaptest' with password 'soaptest'.
|
10
|
+
#
|
11
|
+
# Also, you need to add a user 'demo' with password 'demo'.
|
12
|
+
|
13
|
+
puts "Crowd client configuration"
|
14
|
+
Crowd.crowd_url = 'http://127.0.0.1:8095/crowd/services/SecurityServer'
|
15
|
+
Crowd.crowd_app_name = 'soaptest'
|
16
|
+
Crowd.crowd_app_pword = 'soaptest'
|
17
|
+
|
18
|
+
puts "Authenticate the application"
|
19
|
+
Crowd.authenticate_application
|
20
|
+
|
21
|
+
puts "Authenticate user 'demo'"
|
22
|
+
token = Crowd.authenticate_principal('demo','demo')
|
23
|
+
|
24
|
+
puts "User authenticated"
|
@@ -0,0 +1,101 @@
|
|
1
|
+
##
|
2
|
+
# This class is used to manage HTTP authentication. It is the fundamental class for
|
3
|
+
# web/SSO authentication integration. For most applications, using the following
|
4
|
+
# methods will be sufficient to achieve SSO:
|
5
|
+
# authenticate:: authenticate a user
|
6
|
+
# +is_authenticated?+:: determine if a request is authenticated
|
7
|
+
# principal:: retrieve the principal for an authenticated request
|
8
|
+
# logoff:: sign the user out
|
9
|
+
|
10
|
+
class Crowd::HTTP::SSO
|
11
|
+
@@request = nil
|
12
|
+
@@response = nil
|
13
|
+
|
14
|
+
##
|
15
|
+
# Retrieve the underlying client properties used
|
16
|
+
# to communicate with the Crowd Security Server.
|
17
|
+
def client_properties
|
18
|
+
end
|
19
|
+
|
20
|
+
##
|
21
|
+
# Retrieve the underlying SecurityServerClient used
|
22
|
+
# to communicate with the Crowd Security Server.
|
23
|
+
def security_server_client
|
24
|
+
end
|
25
|
+
|
26
|
+
|
27
|
+
##
|
28
|
+
# Sets the underlying principal token
|
29
|
+
def principal_token=(token)
|
30
|
+
end
|
31
|
+
|
32
|
+
##
|
33
|
+
# Attempts to retrive the principal from the request.
|
34
|
+
def principal(request)
|
35
|
+
end
|
36
|
+
|
37
|
+
##
|
38
|
+
# Retrieve the Crowd authentication token from the request
|
39
|
+
def token(request)
|
40
|
+
end
|
41
|
+
|
42
|
+
##
|
43
|
+
# Tests whether a request is authenticated via SSO
|
44
|
+
def is_authenticated?
|
45
|
+
end
|
46
|
+
|
47
|
+
##
|
48
|
+
# Authenticate a remote user using SSO
|
49
|
+
def authenticate(username, password)
|
50
|
+
end
|
51
|
+
|
52
|
+
##
|
53
|
+
# Verifies the authentication of a principal's username/password,
|
54
|
+
#
|
55
|
+
# Without validation_factors,
|
56
|
+
# This performs an instant verification of username/password with
|
57
|
+
# the centralised user repository (Crowd Server).
|
58
|
+
#
|
59
|
+
# Given a set of validation factors.
|
60
|
+
# This will authenticate the principal using the username and password
|
61
|
+
# provided, and will use the validation factors to generate an SSO
|
62
|
+
# token. This token can then be used by 3rd party systems to implement
|
63
|
+
# SSO or can be ignored to only provide centralised authentication.
|
64
|
+
#
|
65
|
+
# NOTE: This method will not provide SSO functionality directly - use the
|
66
|
+
# <code>authenticate</code> method instead.
|
67
|
+
def verify_authentication(username, password, validation_factors = {})
|
68
|
+
end
|
69
|
+
|
70
|
+
##
|
71
|
+
# Retrieves validation factors from the request
|
72
|
+
# {
|
73
|
+
# 'USER_AGENT' => "the User-Agent HTTP header",
|
74
|
+
# 'REMOTE_ADDRESS' => "the source IP address of the HTTP request",
|
75
|
+
# 'X_FORWARDED_FOR' => Original Address, if present and distinct from the REMOTE_ADDRESS
|
76
|
+
# }
|
77
|
+
def validation_factors
|
78
|
+
end
|
79
|
+
|
80
|
+
##
|
81
|
+
# Log off the SSO authenticated user. This will also effectively
|
82
|
+
# log them off from all SSO applications.
|
83
|
+
#
|
84
|
+
# This will sign out an authenticated user by invalidating their
|
85
|
+
# SSO token and removing it from their cookies.
|
86
|
+
#
|
87
|
+
# If the request is not authenticated, this method will have
|
88
|
+
# no effect and will not throw an exception.
|
89
|
+
#
|
90
|
+
def logoff
|
91
|
+
end
|
92
|
+
|
93
|
+
##
|
94
|
+
# Generate a PrincipalAuthenticationContext object containing the
|
95
|
+
# provided username and password, and validation factors from the
|
96
|
+
# the request.
|
97
|
+
#
|
98
|
+
def principal_authentication_context(username, password)
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
@@ -0,0 +1,844 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require '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
|
+
obj.wiredump_dev = STDOUT
|
10
|
+
|
11
|
+
# SYNOPSIS
|
12
|
+
# findAllGroupRelationships(parameters)
|
13
|
+
#
|
14
|
+
# ARGS
|
15
|
+
# parameters FindAllGroupRelationships - {urn:SecurityServer}findAllGroupRelationships
|
16
|
+
#
|
17
|
+
# RETURNS
|
18
|
+
# parameters FindAllGroupRelationshipsResponse - {urn:SecurityServer}findAllGroupRelationshipsResponse
|
19
|
+
#
|
20
|
+
# RAISES
|
21
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
22
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
23
|
+
#
|
24
|
+
parameters = nil
|
25
|
+
puts obj.findAllGroupRelationships(parameters)
|
26
|
+
|
27
|
+
# SYNOPSIS
|
28
|
+
# addGroup(parameters)
|
29
|
+
#
|
30
|
+
# ARGS
|
31
|
+
# parameters AddGroup - {urn:SecurityServer}addGroup
|
32
|
+
#
|
33
|
+
# RETURNS
|
34
|
+
# parameters AddGroupResponse - {urn:SecurityServer}addGroupResponse
|
35
|
+
#
|
36
|
+
# RAISES
|
37
|
+
# invalidGroupException InvalidGroupException - {http://exception.integration.crowd.atlassian.com}InvalidGroupException
|
38
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
39
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
40
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
41
|
+
#
|
42
|
+
parameters = nil
|
43
|
+
puts obj.addGroup(parameters)
|
44
|
+
|
45
|
+
# SYNOPSIS
|
46
|
+
# addPrincipalToRole(parameters)
|
47
|
+
#
|
48
|
+
# ARGS
|
49
|
+
# parameters AddPrincipalToRole - {urn:SecurityServer}addPrincipalToRole
|
50
|
+
#
|
51
|
+
# RETURNS
|
52
|
+
# parameters AddPrincipalToRoleResponse - {urn:SecurityServer}addPrincipalToRoleResponse
|
53
|
+
#
|
54
|
+
# RAISES
|
55
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
56
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
57
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
58
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
59
|
+
#
|
60
|
+
parameters = nil
|
61
|
+
puts obj.addPrincipalToRole(parameters)
|
62
|
+
|
63
|
+
# SYNOPSIS
|
64
|
+
# findPrincipalByToken(parameters)
|
65
|
+
#
|
66
|
+
# ARGS
|
67
|
+
# parameters FindPrincipalByToken - {urn:SecurityServer}findPrincipalByToken
|
68
|
+
#
|
69
|
+
# RETURNS
|
70
|
+
# parameters FindPrincipalByTokenResponse - {urn:SecurityServer}findPrincipalByTokenResponse
|
71
|
+
#
|
72
|
+
# RAISES
|
73
|
+
# invalidTokenException InvalidTokenException - {http://exception.integration.crowd.atlassian.com}InvalidTokenException
|
74
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
75
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
76
|
+
#
|
77
|
+
parameters = nil
|
78
|
+
puts obj.findPrincipalByToken(parameters)
|
79
|
+
|
80
|
+
# SYNOPSIS
|
81
|
+
# updatePrincipalCredential(parameters)
|
82
|
+
#
|
83
|
+
# ARGS
|
84
|
+
# parameters UpdatePrincipalCredential - {urn:SecurityServer}updatePrincipalCredential
|
85
|
+
#
|
86
|
+
# RETURNS
|
87
|
+
# parameters UpdatePrincipalCredentialResponse - {urn:SecurityServer}updatePrincipalCredentialResponse
|
88
|
+
#
|
89
|
+
# RAISES
|
90
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
91
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
92
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
93
|
+
# invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
|
94
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
95
|
+
#
|
96
|
+
parameters = nil
|
97
|
+
puts obj.updatePrincipalCredential(parameters)
|
98
|
+
|
99
|
+
# SYNOPSIS
|
100
|
+
# getGrantedAuthorities(parameters)
|
101
|
+
#
|
102
|
+
# ARGS
|
103
|
+
# parameters GetGrantedAuthorities - {urn:SecurityServer}getGrantedAuthorities
|
104
|
+
#
|
105
|
+
# RETURNS
|
106
|
+
# parameters GetGrantedAuthoritiesResponse - {urn:SecurityServer}getGrantedAuthoritiesResponse
|
107
|
+
#
|
108
|
+
# RAISES
|
109
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
110
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
111
|
+
#
|
112
|
+
parameters = nil
|
113
|
+
puts obj.getGrantedAuthorities(parameters)
|
114
|
+
|
115
|
+
# SYNOPSIS
|
116
|
+
# addPrincipal(parameters)
|
117
|
+
#
|
118
|
+
# ARGS
|
119
|
+
# parameters AddPrincipal - {urn:SecurityServer}addPrincipal
|
120
|
+
#
|
121
|
+
# RETURNS
|
122
|
+
# parameters AddPrincipalResponse - {urn:SecurityServer}addPrincipalResponse
|
123
|
+
#
|
124
|
+
# RAISES
|
125
|
+
# invalidUserException InvalidUserException - {http://exception.integration.crowd.atlassian.com}InvalidUserException
|
126
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
127
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
128
|
+
# invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
|
129
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
130
|
+
#
|
131
|
+
parameters = nil
|
132
|
+
puts obj.addPrincipal(parameters)
|
133
|
+
|
134
|
+
# SYNOPSIS
|
135
|
+
# addAttributeToPrincipal(parameters)
|
136
|
+
#
|
137
|
+
# ARGS
|
138
|
+
# parameters AddAttributeToPrincipal - {urn:SecurityServer}addAttributeToPrincipal
|
139
|
+
#
|
140
|
+
# RETURNS
|
141
|
+
# parameters AddAttributeToPrincipalResponse - {urn:SecurityServer}addAttributeToPrincipalResponse
|
142
|
+
#
|
143
|
+
# RAISES
|
144
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
145
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
146
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
147
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
148
|
+
#
|
149
|
+
parameters = nil
|
150
|
+
puts obj.addAttributeToPrincipal(parameters)
|
151
|
+
|
152
|
+
# SYNOPSIS
|
153
|
+
# invalidatePrincipalToken(parameters)
|
154
|
+
#
|
155
|
+
# ARGS
|
156
|
+
# parameters InvalidatePrincipalToken - {urn:SecurityServer}invalidatePrincipalToken
|
157
|
+
#
|
158
|
+
# RETURNS
|
159
|
+
# parameters InvalidatePrincipalTokenResponse - {urn:SecurityServer}invalidatePrincipalTokenResponse
|
160
|
+
#
|
161
|
+
# RAISES
|
162
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
163
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
164
|
+
#
|
165
|
+
parameters = nil
|
166
|
+
puts obj.invalidatePrincipalToken(parameters)
|
167
|
+
|
168
|
+
# SYNOPSIS
|
169
|
+
# findAllGroupNames(parameters)
|
170
|
+
#
|
171
|
+
# ARGS
|
172
|
+
# parameters FindAllGroupNames - {urn:SecurityServer}findAllGroupNames
|
173
|
+
#
|
174
|
+
# RETURNS
|
175
|
+
# parameters FindAllGroupNamesResponse - {urn:SecurityServer}findAllGroupNamesResponse
|
176
|
+
#
|
177
|
+
# RAISES
|
178
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
179
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
180
|
+
#
|
181
|
+
parameters = nil
|
182
|
+
puts obj.findAllGroupNames(parameters)
|
183
|
+
|
184
|
+
# SYNOPSIS
|
185
|
+
# findRoleMemberships(parameters)
|
186
|
+
#
|
187
|
+
# ARGS
|
188
|
+
# parameters FindRoleMemberships - {urn:SecurityServer}findRoleMemberships
|
189
|
+
#
|
190
|
+
# RETURNS
|
191
|
+
# parameters FindRoleMembershipsResponse - {urn:SecurityServer}findRoleMembershipsResponse
|
192
|
+
#
|
193
|
+
# RAISES
|
194
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
195
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
196
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
197
|
+
#
|
198
|
+
parameters = nil
|
199
|
+
puts obj.findRoleMemberships(parameters)
|
200
|
+
|
201
|
+
# SYNOPSIS
|
202
|
+
# removePrincipal(parameters)
|
203
|
+
#
|
204
|
+
# ARGS
|
205
|
+
# parameters RemovePrincipal - {urn:SecurityServer}removePrincipal
|
206
|
+
#
|
207
|
+
# RETURNS
|
208
|
+
# parameters RemovePrincipalResponse - {urn:SecurityServer}removePrincipalResponse
|
209
|
+
#
|
210
|
+
# RAISES
|
211
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
212
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
213
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
214
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
215
|
+
#
|
216
|
+
parameters = nil
|
217
|
+
puts obj.removePrincipal(parameters)
|
218
|
+
|
219
|
+
# SYNOPSIS
|
220
|
+
# isValidPrincipalToken(parameters)
|
221
|
+
#
|
222
|
+
# ARGS
|
223
|
+
# parameters IsValidPrincipalToken - {urn:SecurityServer}isValidPrincipalToken
|
224
|
+
#
|
225
|
+
# RETURNS
|
226
|
+
# parameters IsValidPrincipalTokenResponse - {urn:SecurityServer}isValidPrincipalTokenResponse
|
227
|
+
#
|
228
|
+
# RAISES
|
229
|
+
# applicationAccessDeniedException ApplicationAccessDeniedException - {http://exception.integration.crowd.atlassian.com}ApplicationAccessDeniedException
|
230
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
231
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
232
|
+
#
|
233
|
+
parameters = nil
|
234
|
+
puts obj.isValidPrincipalToken(parameters)
|
235
|
+
|
236
|
+
# SYNOPSIS
|
237
|
+
# authenticatePrincipalSimple(parameters)
|
238
|
+
#
|
239
|
+
# ARGS
|
240
|
+
# parameters AuthenticatePrincipalSimple - {urn:SecurityServer}authenticatePrincipalSimple
|
241
|
+
#
|
242
|
+
# RETURNS
|
243
|
+
# parameters AuthenticatePrincipalSimpleResponse - {urn:SecurityServer}authenticatePrincipalSimpleResponse
|
244
|
+
#
|
245
|
+
# RAISES
|
246
|
+
# applicationAccessDeniedException ApplicationAccessDeniedException - {http://exception.integration.crowd.atlassian.com}ApplicationAccessDeniedException
|
247
|
+
# invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
|
248
|
+
# expiredCredentialException ExpiredCredentialException - {http://exception.integration.crowd.atlassian.com}ExpiredCredentialException
|
249
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
250
|
+
# inactiveAccountException InactiveAccountException - {http://exception.integration.crowd.atlassian.com}InactiveAccountException
|
251
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
252
|
+
#
|
253
|
+
parameters = nil
|
254
|
+
puts obj.authenticatePrincipalSimple(parameters)
|
255
|
+
|
256
|
+
# SYNOPSIS
|
257
|
+
# removeRole(parameters)
|
258
|
+
#
|
259
|
+
# ARGS
|
260
|
+
# parameters RemoveRole - {urn:SecurityServer}removeRole
|
261
|
+
#
|
262
|
+
# RETURNS
|
263
|
+
# parameters RemoveRoleResponse - {urn:SecurityServer}removeRoleResponse
|
264
|
+
#
|
265
|
+
# RAISES
|
266
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
267
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
268
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
269
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
270
|
+
#
|
271
|
+
parameters = nil
|
272
|
+
puts obj.removeRole(parameters)
|
273
|
+
|
274
|
+
# SYNOPSIS
|
275
|
+
# getCookieInfo(parameters)
|
276
|
+
#
|
277
|
+
# ARGS
|
278
|
+
# parameters GetCookieInfo - {urn:SecurityServer}getCookieInfo
|
279
|
+
#
|
280
|
+
# RETURNS
|
281
|
+
# parameters GetCookieInfoResponse - {urn:SecurityServer}getCookieInfoResponse
|
282
|
+
#
|
283
|
+
# RAISES
|
284
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
285
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
286
|
+
#
|
287
|
+
parameters = nil
|
288
|
+
puts obj.getCookieInfo(parameters)
|
289
|
+
|
290
|
+
# SYNOPSIS
|
291
|
+
# updatePrincipalAttribute(parameters)
|
292
|
+
#
|
293
|
+
# ARGS
|
294
|
+
# parameters UpdatePrincipalAttribute - {urn:SecurityServer}updatePrincipalAttribute
|
295
|
+
#
|
296
|
+
# RETURNS
|
297
|
+
# parameters UpdatePrincipalAttributeResponse - {urn:SecurityServer}updatePrincipalAttributeResponse
|
298
|
+
#
|
299
|
+
# RAISES
|
300
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
301
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
302
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
303
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
304
|
+
#
|
305
|
+
parameters = nil
|
306
|
+
puts obj.updatePrincipalAttribute(parameters)
|
307
|
+
|
308
|
+
# SYNOPSIS
|
309
|
+
# searchGroups(parameters)
|
310
|
+
#
|
311
|
+
# ARGS
|
312
|
+
# parameters SearchGroups - {urn:SecurityServer}searchGroups
|
313
|
+
#
|
314
|
+
# RETURNS
|
315
|
+
# parameters SearchGroupsResponse - {urn:SecurityServer}searchGroupsResponse
|
316
|
+
#
|
317
|
+
# RAISES
|
318
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
319
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
320
|
+
#
|
321
|
+
parameters = nil
|
322
|
+
puts obj.searchGroups(parameters)
|
323
|
+
|
324
|
+
# SYNOPSIS
|
325
|
+
# getCacheTime(parameters)
|
326
|
+
#
|
327
|
+
# ARGS
|
328
|
+
# parameters GetCacheTime - {urn:SecurityServer}getCacheTime
|
329
|
+
#
|
330
|
+
# RETURNS
|
331
|
+
# parameters GetCacheTimeResponse - {urn:SecurityServer}getCacheTimeResponse
|
332
|
+
#
|
333
|
+
# RAISES
|
334
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
335
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
336
|
+
#
|
337
|
+
parameters = nil
|
338
|
+
puts obj.getCacheTime(parameters)
|
339
|
+
|
340
|
+
# SYNOPSIS
|
341
|
+
# isRoleMember(parameters)
|
342
|
+
#
|
343
|
+
# ARGS
|
344
|
+
# parameters IsRoleMember - {urn:SecurityServer}isRoleMember
|
345
|
+
#
|
346
|
+
# RETURNS
|
347
|
+
# parameters IsRoleMemberResponse - {urn:SecurityServer}isRoleMemberResponse
|
348
|
+
#
|
349
|
+
# RAISES
|
350
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
351
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
352
|
+
#
|
353
|
+
parameters = nil
|
354
|
+
puts obj.isRoleMember(parameters)
|
355
|
+
|
356
|
+
# SYNOPSIS
|
357
|
+
# updateGroup(parameters)
|
358
|
+
#
|
359
|
+
# ARGS
|
360
|
+
# parameters UpdateGroup - {urn:SecurityServer}updateGroup
|
361
|
+
#
|
362
|
+
# RETURNS
|
363
|
+
# parameters UpdateGroupResponse - {urn:SecurityServer}updateGroupResponse
|
364
|
+
#
|
365
|
+
# RAISES
|
366
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
367
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
368
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
369
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
370
|
+
#
|
371
|
+
parameters = nil
|
372
|
+
puts obj.updateGroup(parameters)
|
373
|
+
|
374
|
+
# SYNOPSIS
|
375
|
+
# addAttributeToGroup(parameters)
|
376
|
+
#
|
377
|
+
# ARGS
|
378
|
+
# parameters AddAttributeToGroup - {urn:SecurityServer}addAttributeToGroup
|
379
|
+
#
|
380
|
+
# RETURNS
|
381
|
+
# parameters AddAttributeToGroupResponse - {urn:SecurityServer}addAttributeToGroupResponse
|
382
|
+
#
|
383
|
+
# RAISES
|
384
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
385
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
386
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
387
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
388
|
+
#
|
389
|
+
parameters = nil
|
390
|
+
puts obj.addAttributeToGroup(parameters)
|
391
|
+
|
392
|
+
# SYNOPSIS
|
393
|
+
# findAllRoleNames(parameters)
|
394
|
+
#
|
395
|
+
# ARGS
|
396
|
+
# parameters FindAllRoleNames - {urn:SecurityServer}findAllRoleNames
|
397
|
+
#
|
398
|
+
# RETURNS
|
399
|
+
# parameters FindAllRoleNamesResponse - {urn:SecurityServer}findAllRoleNamesResponse
|
400
|
+
#
|
401
|
+
# RAISES
|
402
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
403
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
404
|
+
#
|
405
|
+
parameters = nil
|
406
|
+
puts obj.findAllRoleNames(parameters)
|
407
|
+
|
408
|
+
# SYNOPSIS
|
409
|
+
# findRoleByName(parameters)
|
410
|
+
#
|
411
|
+
# ARGS
|
412
|
+
# parameters FindRoleByName - {urn:SecurityServer}findRoleByName
|
413
|
+
#
|
414
|
+
# RETURNS
|
415
|
+
# parameters FindRoleByNameResponse - {urn:SecurityServer}findRoleByNameResponse
|
416
|
+
#
|
417
|
+
# RAISES
|
418
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
419
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
420
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
421
|
+
#
|
422
|
+
parameters = nil
|
423
|
+
puts obj.findRoleByName(parameters)
|
424
|
+
|
425
|
+
# SYNOPSIS
|
426
|
+
# isCacheEnabled(parameters)
|
427
|
+
#
|
428
|
+
# ARGS
|
429
|
+
# parameters IsCacheEnabled - {urn:SecurityServer}isCacheEnabled
|
430
|
+
#
|
431
|
+
# RETURNS
|
432
|
+
# parameters IsCacheEnabledResponse - {urn:SecurityServer}isCacheEnabledResponse
|
433
|
+
#
|
434
|
+
# RAISES
|
435
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
436
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
437
|
+
#
|
438
|
+
parameters = nil
|
439
|
+
puts obj.isCacheEnabled(parameters)
|
440
|
+
|
441
|
+
# SYNOPSIS
|
442
|
+
# findGroupByName(parameters)
|
443
|
+
#
|
444
|
+
# ARGS
|
445
|
+
# parameters FindGroupByName - {urn:SecurityServer}findGroupByName
|
446
|
+
#
|
447
|
+
# RETURNS
|
448
|
+
# parameters FindGroupByNameResponse - {urn:SecurityServer}findGroupByNameResponse
|
449
|
+
#
|
450
|
+
# RAISES
|
451
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
452
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
453
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
454
|
+
#
|
455
|
+
parameters = nil
|
456
|
+
puts obj.findGroupByName(parameters)
|
457
|
+
|
458
|
+
# SYNOPSIS
|
459
|
+
# findGroupWithAttributesByName(parameters)
|
460
|
+
#
|
461
|
+
# ARGS
|
462
|
+
# parameters FindGroupWithAttributesByName - {urn:SecurityServer}findGroupWithAttributesByName
|
463
|
+
#
|
464
|
+
# RETURNS
|
465
|
+
# parameters FindGroupWithAttributesByNameResponse - {urn:SecurityServer}findGroupWithAttributesByNameResponse
|
466
|
+
#
|
467
|
+
# RAISES
|
468
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
469
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
470
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
471
|
+
#
|
472
|
+
parameters = nil
|
473
|
+
puts obj.findGroupWithAttributesByName(parameters)
|
474
|
+
|
475
|
+
# SYNOPSIS
|
476
|
+
# removePrincipalFromRole(parameters)
|
477
|
+
#
|
478
|
+
# ARGS
|
479
|
+
# parameters RemovePrincipalFromRole - {urn:SecurityServer}removePrincipalFromRole
|
480
|
+
#
|
481
|
+
# RETURNS
|
482
|
+
# parameters RemovePrincipalFromRoleResponse - {urn:SecurityServer}removePrincipalFromRoleResponse
|
483
|
+
#
|
484
|
+
# RAISES
|
485
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
486
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
487
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
488
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
489
|
+
#
|
490
|
+
parameters = nil
|
491
|
+
puts obj.removePrincipalFromRole(parameters)
|
492
|
+
|
493
|
+
# SYNOPSIS
|
494
|
+
# findPrincipalWithAttributesByName(parameters)
|
495
|
+
#
|
496
|
+
# ARGS
|
497
|
+
# parameters FindPrincipalWithAttributesByName - {urn:SecurityServer}findPrincipalWithAttributesByName
|
498
|
+
#
|
499
|
+
# RETURNS
|
500
|
+
# parameters FindPrincipalWithAttributesByNameResponse - {urn:SecurityServer}findPrincipalWithAttributesByNameResponse
|
501
|
+
#
|
502
|
+
# RAISES
|
503
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
504
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
505
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
506
|
+
#
|
507
|
+
parameters = nil
|
508
|
+
puts obj.findPrincipalWithAttributesByName(parameters)
|
509
|
+
|
510
|
+
# SYNOPSIS
|
511
|
+
# authenticatePrincipal(parameters)
|
512
|
+
#
|
513
|
+
# ARGS
|
514
|
+
# parameters AuthenticatePrincipal - {urn:SecurityServer}authenticatePrincipal
|
515
|
+
#
|
516
|
+
# RETURNS
|
517
|
+
# parameters AuthenticatePrincipalResponse - {urn:SecurityServer}authenticatePrincipalResponse
|
518
|
+
#
|
519
|
+
# RAISES
|
520
|
+
# applicationAccessDeniedException ApplicationAccessDeniedException - {http://exception.integration.crowd.atlassian.com}ApplicationAccessDeniedException
|
521
|
+
# invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
|
522
|
+
# expiredCredentialException ExpiredCredentialException - {http://exception.integration.crowd.atlassian.com}ExpiredCredentialException
|
523
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
524
|
+
# inactiveAccountException InactiveAccountException - {http://exception.integration.crowd.atlassian.com}InactiveAccountException
|
525
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
526
|
+
#
|
527
|
+
parameters = nil
|
528
|
+
puts obj.authenticatePrincipal(parameters)
|
529
|
+
|
530
|
+
# SYNOPSIS
|
531
|
+
# findGroupMemberships(parameters)
|
532
|
+
#
|
533
|
+
# ARGS
|
534
|
+
# parameters FindGroupMemberships - {urn:SecurityServer}findGroupMemberships
|
535
|
+
#
|
536
|
+
# RETURNS
|
537
|
+
# parameters FindGroupMembershipsResponse - {urn:SecurityServer}findGroupMembershipsResponse
|
538
|
+
#
|
539
|
+
# RAISES
|
540
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
541
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
542
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
543
|
+
#
|
544
|
+
parameters = nil
|
545
|
+
puts obj.findGroupMemberships(parameters)
|
546
|
+
|
547
|
+
# SYNOPSIS
|
548
|
+
# addPrincipalToGroup(parameters)
|
549
|
+
#
|
550
|
+
# ARGS
|
551
|
+
# parameters AddPrincipalToGroup - {urn:SecurityServer}addPrincipalToGroup
|
552
|
+
#
|
553
|
+
# RETURNS
|
554
|
+
# parameters AddPrincipalToGroupResponse - {urn:SecurityServer}addPrincipalToGroupResponse
|
555
|
+
#
|
556
|
+
# RAISES
|
557
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
558
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
559
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
560
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
561
|
+
#
|
562
|
+
parameters = nil
|
563
|
+
puts obj.addPrincipalToGroup(parameters)
|
564
|
+
|
565
|
+
# SYNOPSIS
|
566
|
+
# removeGroup(parameters)
|
567
|
+
#
|
568
|
+
# ARGS
|
569
|
+
# parameters RemoveGroup - {urn:SecurityServer}removeGroup
|
570
|
+
#
|
571
|
+
# RETURNS
|
572
|
+
# parameters RemoveGroupResponse - {urn:SecurityServer}removeGroupResponse
|
573
|
+
#
|
574
|
+
# RAISES
|
575
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
576
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
577
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
578
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
579
|
+
#
|
580
|
+
parameters = nil
|
581
|
+
puts obj.removeGroup(parameters)
|
582
|
+
|
583
|
+
# SYNOPSIS
|
584
|
+
# removeAttributeFromGroup(parameters)
|
585
|
+
#
|
586
|
+
# ARGS
|
587
|
+
# parameters RemoveAttributeFromGroup - {urn:SecurityServer}removeAttributeFromGroup
|
588
|
+
#
|
589
|
+
# RETURNS
|
590
|
+
# parameters RemoveAttributeFromGroupResponse - {urn:SecurityServer}removeAttributeFromGroupResponse
|
591
|
+
#
|
592
|
+
# RAISES
|
593
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
594
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
595
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
596
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
597
|
+
#
|
598
|
+
parameters = nil
|
599
|
+
puts obj.removeAttributeFromGroup(parameters)
|
600
|
+
|
601
|
+
# SYNOPSIS
|
602
|
+
# addAllPrincipals(parameters)
|
603
|
+
#
|
604
|
+
# ARGS
|
605
|
+
# parameters AddAllPrincipals - {urn:SecurityServer}addAllPrincipals
|
606
|
+
#
|
607
|
+
# RETURNS
|
608
|
+
# parameters AddAllPrincipalsResponse - {urn:SecurityServer}addAllPrincipalsResponse
|
609
|
+
#
|
610
|
+
# RAISES
|
611
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
612
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
613
|
+
# bulkAddFailedException BulkAddFailedException - {http://exception.integration.crowd.atlassian.com}BulkAddFailedException
|
614
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
615
|
+
#
|
616
|
+
parameters = nil
|
617
|
+
puts obj.addAllPrincipals(parameters)
|
618
|
+
|
619
|
+
# SYNOPSIS
|
620
|
+
# removeAttributeFromPrincipal(parameters)
|
621
|
+
#
|
622
|
+
# ARGS
|
623
|
+
# parameters RemoveAttributeFromPrincipal - {urn:SecurityServer}removeAttributeFromPrincipal
|
624
|
+
#
|
625
|
+
# RETURNS
|
626
|
+
# parameters RemoveAttributeFromPrincipalResponse - {urn:SecurityServer}removeAttributeFromPrincipalResponse
|
627
|
+
#
|
628
|
+
# RAISES
|
629
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
630
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
631
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
632
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
633
|
+
#
|
634
|
+
parameters = nil
|
635
|
+
puts obj.removeAttributeFromPrincipal(parameters)
|
636
|
+
|
637
|
+
# SYNOPSIS
|
638
|
+
# addRole(parameters)
|
639
|
+
#
|
640
|
+
# ARGS
|
641
|
+
# parameters AddRole - {urn:SecurityServer}addRole
|
642
|
+
#
|
643
|
+
# RETURNS
|
644
|
+
# parameters AddRoleResponse - {urn:SecurityServer}addRoleResponse
|
645
|
+
#
|
646
|
+
# RAISES
|
647
|
+
# invalidRoleException InvalidRoleException - {http://exception.integration.crowd.atlassian.com}InvalidRoleException
|
648
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
649
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
650
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
651
|
+
#
|
652
|
+
parameters = nil
|
653
|
+
puts obj.addRole(parameters)
|
654
|
+
|
655
|
+
# SYNOPSIS
|
656
|
+
# findAllPrincipalNames(parameters)
|
657
|
+
#
|
658
|
+
# ARGS
|
659
|
+
# parameters FindAllPrincipalNames - {urn:SecurityServer}findAllPrincipalNames
|
660
|
+
#
|
661
|
+
# RETURNS
|
662
|
+
# parameters FindAllPrincipalNamesResponse - {urn:SecurityServer}findAllPrincipalNamesResponse
|
663
|
+
#
|
664
|
+
# RAISES
|
665
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
666
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
667
|
+
#
|
668
|
+
parameters = nil
|
669
|
+
puts obj.findAllPrincipalNames(parameters)
|
670
|
+
|
671
|
+
# SYNOPSIS
|
672
|
+
# createPrincipalToken(parameters)
|
673
|
+
#
|
674
|
+
# ARGS
|
675
|
+
# parameters CreatePrincipalToken - {urn:SecurityServer}createPrincipalToken
|
676
|
+
#
|
677
|
+
# RETURNS
|
678
|
+
# parameters CreatePrincipalTokenResponse - {urn:SecurityServer}createPrincipalTokenResponse
|
679
|
+
#
|
680
|
+
# RAISES
|
681
|
+
# applicationAccessDeniedException ApplicationAccessDeniedException - {http://exception.integration.crowd.atlassian.com}ApplicationAccessDeniedException
|
682
|
+
# invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
|
683
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
684
|
+
# inactiveAccountException InactiveAccountException - {http://exception.integration.crowd.atlassian.com}InactiveAccountException
|
685
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
686
|
+
#
|
687
|
+
parameters = nil
|
688
|
+
puts obj.createPrincipalToken(parameters)
|
689
|
+
|
690
|
+
# SYNOPSIS
|
691
|
+
# searchRoles(parameters)
|
692
|
+
#
|
693
|
+
# ARGS
|
694
|
+
# parameters SearchRoles - {urn:SecurityServer}searchRoles
|
695
|
+
#
|
696
|
+
# RETURNS
|
697
|
+
# parameters SearchRolesResponse - {urn:SecurityServer}searchRolesResponse
|
698
|
+
#
|
699
|
+
# RAISES
|
700
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
701
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
702
|
+
#
|
703
|
+
parameters = nil
|
704
|
+
puts obj.searchRoles(parameters)
|
705
|
+
|
706
|
+
# SYNOPSIS
|
707
|
+
# removePrincipalFromGroup(parameters)
|
708
|
+
#
|
709
|
+
# ARGS
|
710
|
+
# parameters RemovePrincipalFromGroup - {urn:SecurityServer}removePrincipalFromGroup
|
711
|
+
#
|
712
|
+
# RETURNS
|
713
|
+
# parameters RemovePrincipalFromGroupResponse - {urn:SecurityServer}removePrincipalFromGroupResponse
|
714
|
+
#
|
715
|
+
# RAISES
|
716
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
717
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
718
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
719
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
720
|
+
#
|
721
|
+
parameters = nil
|
722
|
+
puts obj.removePrincipalFromGroup(parameters)
|
723
|
+
|
724
|
+
# SYNOPSIS
|
725
|
+
# findPrincipalByName(parameters)
|
726
|
+
#
|
727
|
+
# ARGS
|
728
|
+
# parameters FindPrincipalByName - {urn:SecurityServer}findPrincipalByName
|
729
|
+
#
|
730
|
+
# RETURNS
|
731
|
+
# parameters FindPrincipalByNameResponse - {urn:SecurityServer}findPrincipalByNameResponse
|
732
|
+
#
|
733
|
+
# RAISES
|
734
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
735
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
736
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
737
|
+
#
|
738
|
+
parameters = nil
|
739
|
+
puts obj.findPrincipalByName(parameters)
|
740
|
+
|
741
|
+
# SYNOPSIS
|
742
|
+
# resetPrincipalCredential(parameters)
|
743
|
+
#
|
744
|
+
# ARGS
|
745
|
+
# parameters ResetPrincipalCredential - {urn:SecurityServer}resetPrincipalCredential
|
746
|
+
#
|
747
|
+
# RETURNS
|
748
|
+
# parameters ResetPrincipalCredentialResponse - {urn:SecurityServer}resetPrincipalCredentialResponse
|
749
|
+
#
|
750
|
+
# RAISES
|
751
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
752
|
+
# invalidEmailAddressException InvalidEmailAddressException - {http://exception.integration.crowd.atlassian.com}InvalidEmailAddressException
|
753
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
754
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
755
|
+
# invalidCredentialException InvalidCredentialException - {http://exception.integration.crowd.atlassian.com}InvalidCredentialException
|
756
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
757
|
+
#
|
758
|
+
parameters = nil
|
759
|
+
puts obj.resetPrincipalCredential(parameters)
|
760
|
+
|
761
|
+
# SYNOPSIS
|
762
|
+
# updateGroupAttribute(parameters)
|
763
|
+
#
|
764
|
+
# ARGS
|
765
|
+
# parameters UpdateGroupAttribute - {urn:SecurityServer}updateGroupAttribute
|
766
|
+
#
|
767
|
+
# RETURNS
|
768
|
+
# parameters UpdateGroupAttributeResponse - {urn:SecurityServer}updateGroupAttributeResponse
|
769
|
+
#
|
770
|
+
# RAISES
|
771
|
+
# objectNotFoundException ObjectNotFoundException - {http://exception.integration.crowd.atlassian.com}ObjectNotFoundException
|
772
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
773
|
+
# applicationPermissionException ApplicationPermissionException - {http://exception.integration.crowd.atlassian.com}ApplicationPermissionException
|
774
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
775
|
+
#
|
776
|
+
parameters = nil
|
777
|
+
puts obj.updateGroupAttribute(parameters)
|
778
|
+
|
779
|
+
# SYNOPSIS
|
780
|
+
# isGroupMember(parameters)
|
781
|
+
#
|
782
|
+
# ARGS
|
783
|
+
# parameters IsGroupMember - {urn:SecurityServer}isGroupMember
|
784
|
+
#
|
785
|
+
# RETURNS
|
786
|
+
# parameters IsGroupMemberResponse - {urn:SecurityServer}isGroupMemberResponse
|
787
|
+
#
|
788
|
+
# RAISES
|
789
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
790
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
791
|
+
#
|
792
|
+
parameters = nil
|
793
|
+
puts obj.isGroupMember(parameters)
|
794
|
+
|
795
|
+
# SYNOPSIS
|
796
|
+
# searchPrincipals(parameters)
|
797
|
+
#
|
798
|
+
# ARGS
|
799
|
+
# parameters SearchPrincipals - {urn:SecurityServer}searchPrincipals
|
800
|
+
#
|
801
|
+
# RETURNS
|
802
|
+
# parameters SearchPrincipalsResponse - {urn:SecurityServer}searchPrincipalsResponse
|
803
|
+
#
|
804
|
+
# RAISES
|
805
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
806
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
807
|
+
#
|
808
|
+
parameters = nil
|
809
|
+
puts obj.searchPrincipals(parameters)
|
810
|
+
|
811
|
+
# SYNOPSIS
|
812
|
+
# getDomain(parameters)
|
813
|
+
#
|
814
|
+
# ARGS
|
815
|
+
# parameters GetDomain - {urn:SecurityServer}getDomain
|
816
|
+
#
|
817
|
+
# RETURNS
|
818
|
+
# parameters GetDomainResponse - {urn:SecurityServer}getDomainResponse
|
819
|
+
#
|
820
|
+
# RAISES
|
821
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
822
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
823
|
+
#
|
824
|
+
parameters = nil
|
825
|
+
puts obj.getDomain(parameters)
|
826
|
+
|
827
|
+
# SYNOPSIS
|
828
|
+
# authenticateApplication(parameters)
|
829
|
+
#
|
830
|
+
# ARGS
|
831
|
+
# parameters AuthenticateApplication - {urn:SecurityServer}authenticateApplication
|
832
|
+
#
|
833
|
+
# RETURNS
|
834
|
+
# parameters AuthenticateApplicationResponse - {urn:SecurityServer}authenticateApplicationResponse
|
835
|
+
#
|
836
|
+
# RAISES
|
837
|
+
# invalidAuthenticationException InvalidAuthenticationException - {http://exception.integration.crowd.atlassian.com}InvalidAuthenticationException
|
838
|
+
# invalidAuthorizationTokenException InvalidAuthorizationTokenException - {http://exception.integration.crowd.atlassian.com}InvalidAuthorizationTokenException
|
839
|
+
# remoteException RemoteException - {http://rmi.java}RemoteException
|
840
|
+
#
|
841
|
+
parameters = nil
|
842
|
+
puts obj.authenticateApplication(parameters)
|
843
|
+
|
844
|
+
|