PEAR Atlassian Crowd Service

You can also find this via PEAR: Services_Atlassian_Crowd

Source :
Authors : kelvin & Paul Boyum & Marko Nordberg

We've been using Crowd as an authentication method for one of the PHP applications we use (SugarCRM) for a few weeks now. So far, it's been working really well for us.

I've attached a copy of the library we created as well as a file that shows how to use it. It doesn't implement the entire SOAP API, but the basic stuff is there. This was developed and tested on PHP 5.2.4.

Here is a dump of a working SOAP communication, if that is of any help:

POST http://localhost:8095/crowd/services/SecurityServer HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
Content-Length: 942
Content-Type: text/xml; charset=utf-8
SOAPAction: ""

<?xml version="1.0" encoding="UTF-8"?>
<namesp1:authenticateApplication xmlns:namesp1="urn:SecurityServer">
<credential xmlns="">
<credential xsi:type="xsd:string">perldemo</credential>
<name xmlns="" xsi:type="xsd:string">perldemo</name>
<validationFactors xmlns="" xsi:nil="true" />

200 OK
Connection: close
Date: Wed, 20 Feb 2008 11:17:59 GMT
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Client-Date: Wed, 20 Feb 2008 11:17:59 GMT
Client-Response-Num: 1

<soap:Envelope xmlns:soap="" xmlns:xsd="" xmlns:xsi=""><soap:Body><ns1:authenticateApplicationResponse xmlns:ns1="urn:SecurityServer"><ns1:out><name xmlns="">perldemo</name><token xmlns="">pf3RnniOucUA0owLo3tS5A00</token></ns1:out></ns1:authenticateApplicationResponse></soap:Body></soap:Envelop

  • No labels