Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Lukasz Lenart
2009/3/11 Ashish Kulkarni : > HiI was able to configure LDAP to do authentication, but how do i use > UserDetailsService, > is there any example of how to use this and implement it in my project to > get user and role from DB2 database I did that like this, extended DefaultLdapAuthoritiesPopulator

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Wes Wannemacher
On Wed, Mar 11, 2009 at 3:23 PM, Ashish Kulkarni wrote: > HiI was able to configure LDAP to do authentication, but how do i use > UserDetailsService, > is there any example of how to use this and implement it in my project to > get user and role from DB2 database > > UserDetailsService is an inte

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
ot;petshop" >> tutorial >> page got me going. >> >> -Original Message- >> From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] >> Sent: Wednesday, March 11, 2009 9:53 AM >> To: Struts Users Mailing List >> Subject: Re: [OT] Authorization and Authe

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
ing. > > -Original Message- > From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] > Sent: Wednesday, March 11, 2009 9:53 AM > To: Struts Users Mailing List > Subject: Re: [OT] Authorization and Authentication Question > > HiThanks for the suggestion, this applicatio

RE: [OT] Authorization and Authentication Question

2009-03-11 Thread Security Management
I got it working in less than a day using the docs. The "petshop" tutorial page got me going. -Original Message- From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Sent: Wednesday, March 11, 2009 9:53 AM To: Struts Users Mailing List Subject: Re: [OT] Authori

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Wes Wannemacher
Spring Security is it's own filter, and my experience is that it is pretty easy to integrate with just about any type of web-app. As far as existing tutorials, I'd say to check google. -Wes On Wed, Mar 11, 2009 at 9:52 AM, Ashish Kulkarni wrote: > HiThanks for the suggestion, this application wh

Re: [OT] Authorization and Authentication Question

2009-03-11 Thread Ashish Kulkarni
HiThanks for the suggestion, this application which i need to do this is developed using Struts 1.2.6, can i add Spring Security to this, just as a drop in, is there any how to documents to add spring support to struts web application Ashish On Tue, Mar 10, 2009 at 7:43 PM, Jim Kiley wrote: > I

Re: [OT] Authorization and Authentication Question

2009-03-10 Thread Jim Kiley
I'd agree. Have your UserDetailsService implementation hit LDAP for authentication, and pass GrantedAuthorities[] on to the returned object by asking DB2 about that info if the user is authenticated. jk On Tue, Mar 10, 2009 at 6:44 PM, Wes Wannemacher wrote: > On Tuesday 10 March 2009 17:56:30

Re: [OT] Authorization and Authentication Question

2009-03-10 Thread Wes Wannemacher
On Tuesday 10 March 2009 17:56:30 Ashish Kulkarni wrote: > HiIs it possible to Authenticate user using LDAP, but authorize using a DB2 > database, > I have situation where i need to authenticate and authorize some web pages. > > I want to authenticate users against LDAP, but have to maintain > auth