Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Jim,

Not sure how much help my comments will be but this is how I would attack what I perceive your challenge to be:

1. Go with LDAP (or perhaps just a database) as a central user/group backend. Connect as many of the applications/apps to LDAP as possible.
2. Build routines to export LDAP user data to apps that cannot natively use LDAP for authentication.
3. Be sure to limit the ability to update user data from the systems that are not the "master" location.
4. If LDAP isn't going to be used identify which system will be considered the "master" system and start with #2 to export the data to the other systems.

Things to consider:
1. User/group creation/deletion/modification - these are circumstances that will need to trigger updates to systems that don't directly use the master location.
2. Are you looking for single sign on - thats a totally different animal and will likely require a token server where a cookie will be checked against currently active session token and possibly other information, etc... Each app will likely need work to integrate.
3. Does the target unix platform support ACLs? Its a much more complicated method of permissions for files and directories, but will likely mesh better with application groups where each group is a sub/superset of another.
4. Does disabling an account need to equate to an immediate denial of access (through currently active sessions?) this can be tricky and a royal pain.
5. How do you handle failed user/group synchronization attempts? Do you roll all systems back or try to push the changes through again?

If you can stray outside the realm of perl there are applications like Jitterbit that can wire together applications in various ways, but the learning curve may not be worth it when much can be done in perl as well.

As far as state of the art for mod_perl webapps goes, my vote is with Catalyst. Its an application server for perl that lets you trivially integrate things like svn, databases, http auth, ldap, Plucene, Mason and more. It covers session management as well as a mechanism for authentication via a plethora of means.

Hope my babble helps!

dratsab

In reply to Re: web authentication 2008 by bastard
in thread web authentication 2008 by cutlass2006

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found