Re: OSUser: partial success
Scott Farquhar <[email protected]> Thu, 8 Jan 2004 01:04:46 -0600
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
What is really needed here is a delegating&creating usermanager, that takes two other user managers as arguments. What I want is to be able to authenticate against one usermanager (local - db / ejb / hibernate), and if that fails (user doesn't exit / password wrong), then it tests against the other user manager (ldap). It then either updates the password or creates the user locally as required. This allows you to have a local store of users (which you can attach propertysets etc etc to), without having to manually create them or keep them in sync. Thoughts? Scott On Wed, Jan 07, 2004 at 11:00:39PM -0800, Patrick Lightbody wrote: > Ye of little faith -- I wrote the LDAP stuff and it definitely works for > authentication. It doesn't (and doesn't try to) work wrt to creating > users or managing groups (authorization). It merely indicates if a > password is correct or not. > > Oh, and it requires an underlying user provider exist -- otherwise no > one will authenticate. > > -Pat > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of Hani Suleiman > Sent: Wednesday, January 07, 2004 3:07 PM > To: [email protected] > Subject: Re: [Opensymphony-developers] OSUser: partial success > > Excellent! Also do keep us posted on your progress with the ldap stuff, > I've never used it so am mildly curious if it works at all ;) > > On Jan 7, 2004, at 5:30 PM, Nick Faiz wrote: > > > Hani, > > Sure. I can give you guys the configuration notes I'll be > including > > in my app., which will have to briefly describe building and deploying > > OSUser, etc.. > > I'll send them through when they're written. > > > > Nick > > > > -----Original Message----- > > From: Hani Suleiman [mailto:[email protected]] > > Sent: Thursday, 8 January 2004 3:04 AM > > To: [email protected] > > Subject: Re: [Opensymphony-developers] OSUser: partial success > > > > Can you document anything special you had to do so we can put it in > the > > docs? > > > > Nick Faiz wrote: > > > >> I've found some partial success with OSUser. > >> > >> I was finally able to integrate OSUser into my app. to the extent > >> where I > >> can now create users and groups in the db., just as the example does. > > >> It > >> took me quite a bit of messing about, but it was still faster than > >> writing > >> it myself. When it all fell together the payoff seems quite decent > and > >> achieves the majority of what I wanted from a user API. > >> > >> I'm now at the stage of working out how to hook up the inbuilt LDAP > in > >> WebLogic 7.2 with the LDAP description in osuser.xml . I'll let > people > > know > >> how that goes, if the list is interested. I don't know if you want to > > >> hear > >> about success/failure stories or not. > >> > >> > >> > >> > >> > >> Regards, > >> Nick Faiz > >> B2B Developer > >> Corporate Express Australia Ltd. > >> > >> Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [email protected] > >> > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: IBM Linux Tutorials. > >> Become an expert in LINUX or just sharpen your skills. Sign up for > >> IBM's > >> Free Linux Tutorials. Learn everything from the bash shell to sys > >> admin. > >> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > >> _______________________________________________ > >> Opensymphony-developers mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > >> > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Opensymphony-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Opensymphony-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html