struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Kulkarni <ashish.kulkarn...@gmail.com>
Subject Re: [OT] Authorization and Authentication Question
Date Wed, 11 Mar 2009 13:52:55 GMT
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 <jhkiley@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 <wesw@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-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Jim Kiley
> Technical Consultant | Summa
> [p] 412.258.3346 [m] 412.445.1729
> http://www.summa-tech.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message