Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2012-08-30 02:16:44 -0400
committerJan Bartel2012-08-30 02:16:44 -0400
commitc7b9081a5234eaa1a5b4403a6fdfc523e91bd4f0 (patch)
treeb199c7e524e9a3681dc490898299741563e7c419 /jetty-security/src/main/java
parentef17e69bd5f65116cce6b3b6914f02f2c18593c1 (diff)
parent2ed3a1688dc9720ffa46252db87472bed8cc43a9 (diff)
downloadorg.eclipse.jetty.project-c7b9081a5234eaa1a5b4403a6fdfc523e91bd4f0.tar.gz
org.eclipse.jetty.project-c7b9081a5234eaa1a5b4403a6fdfc523e91bd4f0.tar.xz
org.eclipse.jetty.project-c7b9081a5234eaa1a5b4403a6fdfc523e91bd4f0.zip
Merge remote-tracking branch 'origin/master' into jetty-8
Diffstat (limited to 'jetty-security/src/main/java')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java
index 74f143b05f..260d5ddd3f 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/authentication/SessionAuthentication.java
@@ -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)

Back to the top