Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A ruby client for Atlassian Crowd
branch: master

This branch is 14 commits ahead, 11 commits behind kesor:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
lib
spec
.gitignore
History.txt
Manifest.txt
README.rdoc
Rakefile
crowd.gemspec

README.rdoc

crowd

updated by Olli Helenius <liff@iki.fi>
updated by Evgeny Zislis (evgeny.zislis@gmail.com)
original by Jason Rimmer (jrimmer@irth.net) & gemified for rubyforge by Daniel Morrison (http://collectiveidea.com)

DESCRIPTION:

A client for Atlassian Crowd v1.6.1

NOTES:

WSDL stub generated with:

wsdl2ruby.rb --wsdl http://localhost:8095/crowd/services/SecurityServer?wsdl --type client

Original SOAP API is available from Atlassian at confluence.atlassian.com/display/CROWD/SOAP+API

FEATURES:

Methods exercised (implemented, not implemented):

  • addAttributeToPrincipal

  • addGroup

  • addPrincipal

  • addPrincipalToGroup

  • addPrincipalToRole

  • addRole

  • authenticateApplication

  • authenticatePrincipal

  • authenticatePrincipalSimple

  • createPrincipalToken

  • findAllGroupNames

  • findAllGroupRelationships

  • findAllPrincipalNames

  • findAllRoleNames

  • findGroupByName

  • findGroupMemberships

  • findPrincipalByName

  • findPrincipalByToken

  • findRoleByName

  • findRoleMemberships

  • getCookieInfo

  • getGrantedAuthorities

  • invalidatePrincipalToken

  • isCacheEnabled

  • isGroupMember

  • isRoleMember

  • isValidPrincipalToken

  • removeAttributeFromPrincipal

  • removeGroup

  • removePrincipal

  • removePrincipalFromGroup

  • removePrincipalFromRole

  • removeRole

  • resetPrincipalCredential

  • searchGroups

  • searchPrincipals

  • searchRoles

  • updateGroup

  • updatePrincipalAttribute

  • updatePrincipalCredential

Assumptions (configured in CrowdTest.rb):

  • Application name and password is 'soaptest'

  • Application 'soaptest' directory set to 'True'

  • Crowd Server is on localhost, port 8095

TODO:

  • Rightsize error handling

  • Create Rails plugin

SYNOPSIS:

Ruby client for Atlassian Crowd v1.6.1

REQUIREMENTS:

INSTALL:

sudo gem install crowd

FILES:

  • README.rdoc - You're soaking in it

  • lib/crowd/soap/crowd-1.6.1.wsdl - Downloaded from Crowd

  • lib/crowd/soap/driver.rb - Generated

  • lib/crowd/soap/mapping_registry.rb - Generated

  • lib/crowd/soap/default.rb - Generated

  • lib/crowd/soap/SecurityServerClient.rb - Generated

  • lib/crowd.rb - Class wrapping crowd calls

  • spec/crowd_spec.rb - Tests

LICENSE:

Public Domain

Created by Jason Rimmer, jrimmer@irth.net on 2007-10-16. I hereby place this work that I have authored into the public domain and in the process abandon all copyright protection.

Updated by Evgeny Zislis, evgeny.zislis@gmail.com on 2008-05-14

Updated by Olli Helenius <liff@iki.fi> on 2009-09-09

Something went wrong with that request. Please try again.