Dear Monks,

I am really trying not to reinvent the flat tire again. I wrote a web application with login and passwords and it works. But now we want multiple levels of administration and possibly the ability for people to log into different applications with the same username and password. I can write this but it seems like something that someone else would have written before. Right now my user data lives in a table in a MySQL database. And I need to combine that data with other data from the database for reports. So keeping it in the database would be preferable.

I checked Super Search and got that many people suggest using LDAP. And I looked around and found that it was good and there are perl modules to allow the access of that data contained within and reading the data from it. There is even one that makes it look like SQL.

But then I have a database with the data in it and a database with the login information in it. Does there exist a set of modules or an application with an API that use MySQL or Postgres and has user accounts and user groups already implemented. I found some stuff on CPAN. I have a add/mod/delete user thing written but having one that handles multiple addresses/phone numbers/ect out of the box that I don't have to code would be a great time saver.

If not I write it make sure its not filled with security holes and then put it on CUPF.

User::Simple has some of the features but only simple access levels. This means I might not be searching for the right thing.Any ideas of where to look? Or of any idea of where to start>

 


In reply to Users and Usergroups Modules or Application with API by Angel

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.