Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: hi we can get remoteuser using request.getremoteuser() but how we can set it? - One approach is to wrap the request object. Create a Filter, decorate the HttpServletRequest with one the implements setRemoteUser() and delegates all other methods to the original.

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19175267.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
-- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19175306.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: Jeromy Evans - Blue Sky Minds wrote: A better approach is to use the container's authentication as intended so the remoteUser is managed by it.. i think u are saying about jdbc realm for container's authentication! Correct. It's not as bad as it first

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19175390.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: my first and last goal about that i want to maintain single sign on without storing user information in session i have also integrated hibernate with it ,can i use for achieve somthing like or not? Do you mean single sign-on as in across multiple domains or webapps? If

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: Jeromy Evans - Blue Sky Minds wrote: Correct. It's not as bad as it first seems if you manage the entries in the two tables (for tomcat) yourself. Otherwise the next step is a third party library like Spring Security. try to use jdbcrealm but when submit

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
should go with spring security ,but it works fine with s2? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19175681.html Sent from the Struts - User mailing list archive

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: this approach in single webapp thanks i should go with spring security ,but it works fine with s2? \ Yes, others definitely use it with S2 and Spring. It takes substantial amount of effort to learn. You may have to ask for specific help about that after going

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19177247.html Sent from the Struts - User mailing list archive at Nabble.com

Re: how to set remoteuser

2008-08-27 Thread Jeromy Evans
Hardik Shah wrote: could you provide basic stuff or link for implementing Guice/Warp with s2 - he he, that's also a major decision if you want to go down that path. I don't recommend jumping after whichever approach seems least effort (btw, your original approach to use a realm

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19177755.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

how to set remoteuser

2008-08-26 Thread Hardik Shah
hi we can get remoteuser using request.getremoteuser() but how we can set it? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in context: http://www.nabble.com/how-to-set-remoteuser-tp19174978p19174978.html Sent from the Struts