Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bertrand Paquet
committed
May 22, 2011
0 parents
commit f7b5126
Showing
16 changed files
with
1,591 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Revision history for Perl extension Apache::CrowdAuth. | ||
|
||
0.06 Mon Jul 16 2007 | ||
- Better handle undefined responses to SOAP calls (CWD-426) | ||
|
||
0.05 Mon Jun 25 2007 | ||
- Fix problem where all-numeric password weren't being passed | ||
correctly in the SOAP call. | ||
|
||
0.04 Sun May 27 2007 | ||
- Implement local filesystem caching to improve performance and | ||
reduce load on Crowd server (CWD-313). | ||
|
||
0.03 Sun Feb 11 2007 | ||
- Use standard Perl packaging conventions. | ||
|
||
0.01 Sat Feb 10 21:28:13 2007 | ||
- original version; created by h2xs 1.23 with options | ||
-AXc -n Apache::CrowdAuth | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Changes | ||
Makefile.PL | ||
MANIFEST | ||
README | ||
t/Apache-CrowdAuth.t | ||
lib/Apache/CrowdAuth.pm | ||
META.yml Module meta-data (added by MakeMaker) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- #YAML:1.0 | ||
name: Apache-CrowdAuth | ||
version: 1.2.3 | ||
abstract: Apache authentication handler that uses Atlassian Crowd. | ||
license: ~ | ||
author: | ||
- Atlassian Pty Ltd <andrewr@> | ||
generated_by: ExtUtils::MakeMaker version 6.42 | ||
distribution_type: module | ||
requires: | ||
meta-spec: | ||
url: http://module-build.sourceforge.net/META-spec-v1.3.html | ||
version: 1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
use 5.008000; | ||
use ExtUtils::MakeMaker; | ||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence | ||
# the contents of the Makefile that is written. | ||
|
||
my $succeeded = 0; | ||
|
||
print "\nChecking for required modules:\n\n"; | ||
|
||
my %requiredModules = ( | ||
"SOAP::Lite" => 0, | ||
"Digest::SHA1" => 0, | ||
"Cache::Cache" => 0, | ||
"Error" => 0, | ||
"CGI::Cookie" => 0, | ||
"Atlassian::Crowd" => 0, | ||
"APR::SockAddr" => 0, | ||
); | ||
|
||
my @moduleNames = sort(keys(%requiredModules)); | ||
|
||
foreach my $module (@moduleNames) | ||
{ | ||
eval "require $module"; | ||
print "$module is installed... " | ||
. ($@ ? "no" : "yes") . "\n"; | ||
|
||
$succeeded++ unless ($@); | ||
} | ||
|
||
unless ($succeeded == scalar(@moduleNames)) | ||
{ | ||
print "\nYou must install " . join(", ", @moduleNames) . "\n"; | ||
exit; | ||
} | ||
print "\n"; | ||
|
||
|
||
WriteMakefile( | ||
NAME => 'Apache::CrowdAuth', | ||
VERSION_FROM => 'lib/Apache/CrowdAuth.pm', # finds $VERSION | ||
PREREQ_PM => {}, # e.g., Module::Name => 1.1 | ||
($] >= 5.005 ? ## Add these new keywords supported since 5.005 | ||
(ABSTRACT_FROM => 'lib/Apache/CrowdAuth.pm', # retrieve abstract from module | ||
AUTHOR => 'Atlassian Pty Ltd <andrewr@>') : ()), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Apache-CrowdAuth version 0.06 | ||
============================= | ||
|
||
This Module allows you to configure Apache to use Atlassian Crowd to | ||
handle basic authentication. | ||
|
||
See http://confluence.atlassian.com/x/rgGY | ||
|
||
for full documentation. | ||
|
||
INSTALLATION | ||
|
||
To install this module type the following: | ||
|
||
perl Makefile.PL | ||
make | ||
make install | ||
|
||
DEPENDENCIES | ||
|
||
This module requires these other modules and libraries: | ||
|
||
SOAP::Lite (v0.69 or greater recommended) | ||
Digest::SHA1 | ||
Cache::FileCache | ||
Error | ||
|
||
COPYRIGHT AND LICENCE | ||
|
||
Copyright (C) 2007 by Atlassian | ||
|
||
This library is free software; you can redistribute it and/or modify | ||
it under the same terms as Perl itself, either Perl version 5.8.7 or, | ||
at your option, any later version of Perl 5 you may have available. | ||
|
||
|
Oops, something went wrong.