Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Poor man's mod_perl 2.0 and SSO

by muzakfetch (Scribe)
on Nov 23, 2004 at 23:43 UTC ( [id://410019]=perlquestion: print w/replies, xml ) Need Help??

muzakfetch has asked for the wisdom of the Perl Monks concerning the following question:

So I'm looking into SSO stuff for work. All existing solutions look really good, and I'm impressed with the work already done (and open-sourced).

However, all of these require a little overhaul to an already existing infrastructure that I'm at this point a little lazy to deal with.

So.. I'm thinking of sha1 session keys via cookies, and a database. Forgetting for the moment the backend authentication , (I'll use a login page over SSL LDAP for buzzword compliance blah blah blah).

Cursory investigation seems to point that I want to use PerlHeaderParserHandler to extract the cookie and determine the user's access.

What says the community? Am I on the right track with this? I'm trying to be as least intrusive as possible mostly utilizing tools already at my finger tips, and making it fairly easy to maintain for the guy that follows.

muzakfetch

Update:

After much more research I have now discovered how to do this exact thing using the PerlAuthzHandler instead. mod_perl AAA Funny thing is I own this book but am currently seperated from it. Sheesh!

Update 2:

Now that I have a good method for this, I'm going to write a howto as well

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://410019]
Approved by Joost
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found