com.ideo.sweetdevria.page.user
Class DefaultSessionUserGetter

java.lang.Object
  extended by com.ideo.sweetdevria.page.user.DefaultSessionUserGetter
All Implemented Interfaces:
ISessionUserGetter

public class DefaultSessionUserGetter
extends java.lang.Object
implements ISessionUserGetter

Default implementation of the user targeting The user is associated to his session id.

Author:
Julien Maupoux

Constructor Summary
DefaultSessionUserGetter()
           
 
Method Summary
 java.lang.Object getUser(javax.servlet.http.HttpSession session)
          Get from the session the object identifying the user Note that this object will be set as a key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSessionUserGetter

public DefaultSessionUserGetter()
Method Detail

getUser

public java.lang.Object getUser(javax.servlet.http.HttpSession session)
Description copied from interface: ISessionUserGetter
Get from the session the object identifying the user Note that this object will be set as a key

Specified by:
getUser in interface ISessionUserGetter
Parameters:
session - the session currently running
Returns:
an object permitting to identify the user


Copyright © 2010 Ideo Technologies. All Rights Reserved.