Allowing a user to login again to a different ID using the same session is a
FAIL.  

It is not really a S2 issue, but an authentication implementation issue.  It
is true that S2 does not provide a default authentication/authorization
implementation, but Spring Security does the job very well.   Why reinvent
it?

Having a stateful conversation that is independent of the users HTTP session
is an interesting feature, but not really a basic requirement of all
enterprise web-based applications.  There have been several suggestions on
how you might do this using tokens in the URL, etc.  S2 does provide the
tools to make this happen with interceptors.  

My recommendation is to either a) implement Spring Security or b) improve
the session handling of your current authentication mechanism so that a new
session is required in order for someone to login as two different users at
the same time.  




RajibJana wrote:
> 
> Sorry for replying late, as there is time diff ( living in India)
> 
> 
> Yes, the app wants SEAM conversation feature. Does S 2.1.6 provide any
> such feature or any other future version? 
> 
> 
> Thanks
> 
> Rajib
> 
> 
> newton.dave wrote:
>> 
>> Dale Newfield wrote:
>>> One running browser instance shares session across all windows.  Using 
>>> Safari and Firefox in tandem will allow two sessions from one machine. 
>> 
>> The OP wants a SEAM-like solution, but S2 doesn't have that 
>> functionality built-in (nor do most other frameworks, AFAIK).
>> 
>> It *would* be a nice feature to add, though.
>> 
>>>> 2) If one opens two window instances ( not tabbed one), logs into the 
>>>> app by giving different user info [...]
>>> I would like to know what browser shows this behavior.
>> 
>> I can never remember which is which, but IIRC IE (pre-6, don't remember 
>> after that) would give different sessions per-window, FF wouldn't. In 
>> any case, I agree that it's a bad idea to rely on browser behavior 
>> (unless you're controlling browser deployment, but I don't like that 
>> much either :)
>> 
>> Dave
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-2-session-problem-tp21513305p21524655.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to