|
From: Steven J. <st...@mj...> - 2003-12-09 20:54:13
|
I am working on converting my logon mechanism to the FormAuthentication method. I use a database to store usernames, passwords, and roles. I have created a custom realm class that extends the org.mortbay.http.HashUserRealm class and accesses my database. My question is ... is there any way to access the current session from this class. I would like to put some user/role information into the session upon successful authentication. My legacy code stored this information in the session and I wanted to be able to migrate it over time. Thanks in advance for the help. Steve |