in reply to RFC: Authentication/Authorization System
Some quick notes:
At first, I had some reservations against must(), and can(), but if you do drop performing auth, then those would be moot :) If you do want to implement it, I'd suggest must_have_role() and has_role() (or maybe may() or something like that, but can() is already used for OO purposes, and carries too much of that meaning).
Bottom line: I'd like to see a nice framework for user and role data management. I don't know if it'll be easy for you to make it such that it can target PAM, SASL, Kerberos, Active Directory etc., but I bet there's demand for such a beast.
Update: I rummaged around CPAN some more, and found Aut. Seems fairly similar to your scope. There's also Tree::Authz, which looks fairly comprehensive as well. If you haven't done so yet (but I bet you have), I recommend searching CPAN for "authentication" and/or "authorization". There's a lot to wade through, but that'll give you a good idea what's out there, and what's still missing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Authentication/Authorization System
by eric256 (Parson) on Jul 19, 2006 at 19:45 UTC | |
by rhesa (Vicar) on Jul 19, 2006 at 20:52 UTC |