Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
yes :-) you are right ! i just confused bcoz showing various aspects :confused::confused: Jeromy Evans - Blue Sky Minds wrote: > > > 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 orig

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
Jeromy Evans - Blue Sky Minds wrote: > > 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 through the tutorials. > > yes you are right ,i have just seen that ,it might be took

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 t

Re: how to set remoteuser

2008-08-27 Thread Hardik Shah
Jeromy Evans - Blue Sky Minds wrote: > > > > Do you mean single sign-on as in across multiple domains or webapps? If > so, this will probably be container specific. > > If you mean a stateless authentication approach (ie. they sign in once, > then each subsequent request includes the credent

Re: how to set remoteuser

2008-08-26 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 gives

Re: how to set remoteuser

2008-08-26 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-26 Thread Hardik Shah
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 gives error like H

Re: how to set remoteuser

2008-08-26 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 see

Re: how to set remoteuser

2008-08-26 Thread Hardik Shah
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? - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View

Re: how to set remoteuser

2008-08-26 Thread Hardik Shah
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! - Java/J2EE developer India blogs http://hardik4u.wo

Re: how to set remoteuser

2008-08-26 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. Wh