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


In reply to Poor man's mod_perl 2.0 and SSO by muzakfetch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.