Peter,
Overall, I would say that writing an Apache authentication module is
not a very complicated task (speaking in hindsight).  I would estimate
that a programmer with reasonable C/debugging skills would be able to
write a similar, robust module in about 5-8 days time (dedicated),
which allows for testing, debugging, etc.  The first pass that Matt
speaks of below is just that, a relatively stable, "functional" module
that could interact with the CAS protocol.

The Apache API, like Matt says, is not the best documented API on the
planet, but with use of resources like Google code search and access
to the source code of existing Apache modules, it is not too difficult
to find ways to solve problems you might encounter as you write the
module.

In the end, there are only so many hooks that Apache provides to
handle authn/authz functions, and you just have to be sure that your
intended solution is one that can be implemented in Apache using the
hooks they provide.

HTH,

-Phil

On Sun, Mar 1, 2009 at 1:20 PM, Matt Smith <[email protected]> wrote:
>> Could you give me an estimate of how many man hours do you think
>> mod_auth_cas took to write total?
>
> I have to chuckle a bit at this question -- it took Phil (a "C ninja")
> ~8 hours to code the first, fully functional pass.  In comparison, it
> would have taken me weeks.  Since then, work has focused on feature
> requests and minor bug fixes that appear sporadically and range in
> complexity.  And a warning -- the Apache API's power is surpassed only
> by it's *lack* of good documentation or official tutorials.
>
> Perhaps Phil can be more quantitative here ... but unfortunately, I
> cannot give you a good estimate other than: it should take as long as
> any other Apache module you have written.
>
> HTH,
> -Matt
>
> --
> [email protected]
> Key ID:D6EEC5B5
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to