2009/4/16 Security Management :
> I think I just was being dumb and did not make the IUser serializable, which
> should be all I need to do, yes?
Yes, you should get exception when session will be saved to disk.
Regards
--
Lukasz
http://www.lenart.org.pl/
--
: Storing interface instance in a user's session
If you use SessionAware in your actions, you can receive a Map that
represents the session. You could pass that Map into your user manager
class, and do the storage that way.
On Thu, Apr 16, 2009 at 10:18 AM, Security Management <
list-su
If you use SessionAware in your actions, you can receive a Map that
represents the session. You could pass that Map into your user manager
class, and do the storage that way.
On Thu, Apr 16, 2009 at 10:18 AM, Security Management <
list-subscripti...@secmgmt.com> wrote:
> I want to store a list o
I want to store a list of interface instances (i.e. UserImpl which
implements IUser), so I can have methods:
public void setUser(List users)
{
This.getSession().put(SESSION_USER_LIST_KEY, users);
}
public List getUsers()
{
return (List) this.getSession().get(SESSION_USER_LIST_KEY)
4 matches
Mail list logo