[Bug 387896] populate session in SessionAuthentication as a valueBound in addition to activation so it is populate when needed
This commit is contained in:
parent
7af3d5c047
commit
f7793ae94d
|
@ -119,16 +119,23 @@ public class SessionAuthentication implements Authentication.User, Serializable,
|
|||
|
||||
public void sessionWillPassivate(HttpSessionEvent se)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void sessionDidActivate(HttpSessionEvent se)
|
||||
{
|
||||
if (_session==null)
|
||||
{
|
||||
_session=se.getSession();
|
||||
}
|
||||
}
|
||||
|
||||
public void valueBound(HttpSessionBindingEvent event)
|
||||
{
|
||||
if (_session==null)
|
||||
{
|
||||
_session=event.getSession();
|
||||
}
|
||||
}
|
||||
|
||||
public void valueUnbound(HttpSessionBindingEvent event)
|
||||
|
|
Loading…
Reference in New Issue