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