restore deleted methods in SessionAuthentication
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
c60f38f387
commit
a4185bf5ac
|
@ -19,6 +19,7 @@ import java.io.Serializable;
|
|||
import javax.servlet.http.HttpSession;
|
||||
import javax.servlet.http.HttpSessionActivationListener;
|
||||
import javax.servlet.http.HttpSessionBindingListener;
|
||||
import javax.servlet.http.HttpSessionEvent;
|
||||
|
||||
import org.eclipse.jetty.security.AbstractUserAuthentication;
|
||||
import org.eclipse.jetty.security.Authenticator;
|
||||
|
@ -99,4 +100,18 @@ public class SessionAuthentication extends AbstractUserAuthentication
|
|||
{
|
||||
return String.format("%s@%x{%s,%s}", this.getClass().getSimpleName(), hashCode(), _session == null ? "-" : _session.getId(), _userIdentity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sessionWillPassivate(HttpSessionEvent se)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void sessionDidActivate(HttpSessionEvent se)
|
||||
{
|
||||
if (_session == null)
|
||||
{
|
||||
_session = se.getSession();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue