-
Suggestion
-
Resolution: Fixed
-
None
An apache authentication module needs to be programmed to support Crowd.
This will involve writing a C/C++ client that will call the /crowd/services/SecurityServer?wsdl and authenticate a user through http-form based authentication.
The SecurityServerClient can serve as a good starting point for how to connect to the security server, get a valid authentication token and then query if the user has a valid username and password.
This following how-tos describes how the LDAP module works, which would be similar to the Crowd Java integration libraries. Based on the path/host/url Apache would use Crowd to validate through a positive authentication if the user is allowed to access a particular resource. Once the authentication is verified, no validation between request would be necessary as apache can handle if this is a continuous web session.
It appears that Firefox has a bug (https://bugzilla.mozilla.org/show_bug.cgi?id=57342) that corrupts the downloading of .gz files (it attempts to uncompress and then recompress them). What you actually get on disk is a file that has been gzipped twice.
So, to work around the problem:
a)
gunzip Apache-CrowdAuth-0.03.tar.gz followed by
tar xzvf Apache-CrowdAuth-0.03.tar
(note the 'z' in the arguments to tar)
b) use wget instead
wget http://confluence.atlassian.com/download/attachments/9961902/Apache-CrowdAuth-0.03.tar.gz