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] Authorization and Authentication Question

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 <jhki...@summa-tech.com> wrote:

> 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 <w...@wantii.com> wrote:
>
> > 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
> > > authorization list, roles etc in DB2 database
> > >
> > > Has anyone done anything like this before, i am using Weblogic and
> tomcat
> > > application servers
> > >
> >
> > I would suggest using Spring Security. I think what you'll need to do is
> > create a bean that implements the
> > org.springframework.security.userdetails.UserDetailsService interface,
> then
> > wire it into your configuration.
> >
> > --
> >
> > Wes Wannemacher
> > Author - Struts 2 In Practice
> > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> > http://www.manning.com/wannemacher
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
>
>
> --
> Jim Kiley
> Technical Consultant | Summa
> [p] 412.258.3346 [m] 412.445.1729
> http://www.summa-tech.com
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to