public class org.apache.shiro.web.servlet.ShiroHttpSession extends java.lang.Object implements javax.servlet.http.HttpSession
{
public static final java.lang.String DEFAULT_SESSION_ID_NAME;
private static final java.util.Enumeration EMPTY_ENUMERATION;
private static final javax.servlet.http.HttpSessionContext HTTP_SESSION_CONTEXT;
protected javax.servlet.ServletContext servletContext;
protected javax.servlet.http.HttpServletRequest currentRequest;
protected org.apache.shiro.session.Session session;
public void <init>(org.apache.shiro.session.Session, javax.servlet.http.HttpServletRequest, javax.servlet.ServletContext)
{
javax.servlet.http.HttpServletRequest v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
javax.servlet.ServletContext v;
java.lang.IllegalArgumentException v;
org.apache.shiro.session.Session v;
boolean v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: org.apache.shiro.session.Session;
v := @parameter: javax.servlet.http.HttpServletRequest;
v := @parameter: javax.servlet.ServletContext;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.ServletContext servletContext> = null;
v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.http.HttpServletRequest currentRequest> = null;
v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session session> = null;
v = v instanceof org.apache.shiro.web.session.HttpServletSession;
if v == 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Session constructor argument cannot be an instance of HttpServletSession.  This is enforced to prevent circular dependencies and infinite loops.");
throw v;
label:
v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session session> = v;
v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.http.HttpServletRequest currentRequest> = v;
v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.ServletContext servletContext> = v;
return;
}
public org.apache.shiro.session.Session getSession()
{
org.apache.shiro.session.Session v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session session>;
return v;
}
public long getCreationTime()
{
java.lang.IllegalStateException v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.util.Date v;
long v;
org.apache.shiro.session.Session v;
java.lang.Exception v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.util.Date getStartTimestamp()>();
v = virtualinvoke v.<java.util.Date: long getTime()>();
label:
return v;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
catch java.lang.Exception from label to label with label;
}
public java.lang.String getId()
{
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.String v;
org.apache.shiro.session.Session v;
java.io.Serializable v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.io.Serializable getId()>();
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
return v;
}
public long getLastAccessedTime()
{
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.util.Date v;
long v;
org.apache.shiro.session.Session v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.util.Date getLastAccessTime()>();
v = virtualinvoke v.<java.util.Date: long getTime()>();
return v;
}
public javax.servlet.ServletContext getServletContext()
{
javax.servlet.ServletContext v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.ServletContext servletContext>;
return v;
}
public void setMaxInactiveInterval(int)
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
int v;
long v;
org.apache.shiro.session.Session v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: int;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = v * 1000L;
interfaceinvoke v.<org.apache.shiro.session.Session: void setTimeout(long)>(v);
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public int getMaxInactiveInterval()
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
long v, v;
org.apache.shiro.session.Session v;
java.lang.Long v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
int v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
label:
v = new java.lang.Long;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: long getTimeout()>();
v = v / 1000L;
specialinvoke v.<java.lang.Long: void <init>(long)>(v);
v = virtualinvoke v.<java.lang.Long: int intValue()>();
label:
return v;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public javax.servlet.http.HttpSessionContext getSessionContext()
{
javax.servlet.http.HttpSessionContext v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = <org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.http.HttpSessionContext HTTP_SESSION_CONTEXT>;
return v;
}
public java.lang.Object getAttribute(java.lang.String)
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Object v;
java.lang.String v;
org.apache.shiro.session.Session v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.lang.Object getAttribute(java.lang.Object)>(v);
label:
return v;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public java.lang.Object getValue(java.lang.String)
{
java.lang.Object v;
java.lang.String v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: java.lang.Object getAttribute(java.lang.String)>(v);
return v;
}
protected java.util.Set getKeyNames()
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
java.util.Iterator v;
java.util.Collection v;
java.util.Set v;
org.apache.shiro.session.Session v;
java.util.HashSet v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
int v;
java.lang.Object v;
java.lang.String v;
boolean v, v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.util.Collection getAttributeKeys()>();
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
if v == null goto label;
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v != 0 goto label;
v = new java.util.HashSet;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.HashSet: void <init>(int)>(v);
v = v;
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<java.lang.Object: java.lang.String toString()>();
interfaceinvoke v.<java.util.Set: boolean add(java.lang.Object)>(v);
goto label;
label:
v = <java.util.Collections: java.util.Set EMPTY_SET>;
label:
return v;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public java.util.Enumeration getAttributeNames()
{
org.apache.shiro.web.servlet.ShiroHttpSession$3 v;
java.util.Iterator v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.util.Set v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: java.util.Set getKeyNames()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
v = new org.apache.shiro.web.servlet.ShiroHttpSession$3;
specialinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession$3: void <init>(org.apache.shiro.web.servlet.ShiroHttpSession,java.util.Iterator)>(v, v);
return v;
}
public java.lang.String[] getValueNames()
{
java.lang.Object[] v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
int v, v;
java.util.Set v;
java.lang.String[] v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: java.util.Set getKeyNames()>();
v = interfaceinvoke v.<java.util.Set: int size()>();
v = newarray (java.lang.String)[v];
v = interfaceinvoke v.<java.util.Set: int size()>();
if v <= 0 goto label;
v = interfaceinvoke v.<java.util.Set: java.lang.Object[] toArray(java.lang.Object[])>(v);
label:
return v;
}
protected void afterBound(java.lang.String, java.lang.Object)
{
javax.servlet.http.HttpSessionBindingEvent v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Object v;
java.lang.String v;
boolean v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
v = v instanceof javax.servlet.http.HttpSessionBindingListener;
if v == 0 goto label;
v = new javax.servlet.http.HttpSessionBindingEvent;
specialinvoke v.<javax.servlet.http.HttpSessionBindingEvent: void <init>(javax.servlet.http.HttpSession,java.lang.String,java.lang.Object)>(v, v, v);
interfaceinvoke v.<javax.servlet.http.HttpSessionBindingListener: void valueBound(javax.servlet.http.HttpSessionBindingEvent)>(v);
label:
return;
}
protected void afterUnbound(java.lang.String, java.lang.Object)
{
javax.servlet.http.HttpSessionBindingEvent v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Object v;
java.lang.String v;
boolean v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
v = v instanceof javax.servlet.http.HttpSessionBindingListener;
if v == 0 goto label;
v = new javax.servlet.http.HttpSessionBindingEvent;
specialinvoke v.<javax.servlet.http.HttpSessionBindingEvent: void <init>(javax.servlet.http.HttpSession,java.lang.String,java.lang.Object)>(v, v, v);
interfaceinvoke v.<javax.servlet.http.HttpSessionBindingListener: void valueUnbound(javax.servlet.http.HttpSessionBindingEvent)>(v);
label:
return;
}
public void setAttribute(java.lang.String, java.lang.Object)
{
java.lang.Throwable v;
java.lang.IllegalStateException v, v;
org.apache.shiro.session.InvalidSessionException v;
org.apache.shiro.session.Session v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Object v;
java.lang.String v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
interfaceinvoke v.<org.apache.shiro.session.Session: void setAttribute(java.lang.Object,java.lang.Object)>(v, v);
virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: void afterBound(java.lang.String,java.lang.Object)>(v, v);
label:
goto label;
label:
v := @caughtexception;
label:
virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: void afterUnbound(java.lang.String,java.lang.Object)>(v, v);
label:
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public void putValue(java.lang.String, java.lang.Object)
{
java.lang.Object v;
java.lang.String v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
v := @parameter: java.lang.Object;
virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: void setAttribute(java.lang.String,java.lang.Object)>(v, v);
return;
}
public void removeAttribute(java.lang.String)
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Object v;
java.lang.String v;
org.apache.shiro.session.Session v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
v = interfaceinvoke v.<org.apache.shiro.session.Session: java.lang.Object removeAttribute(java.lang.Object)>(v);
virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: void afterUnbound(java.lang.String,java.lang.Object)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public void removeValue(java.lang.String)
{
java.lang.String v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v := @parameter: java.lang.String;
virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: void removeAttribute(java.lang.String)>(v);
return;
}
public void invalidate()
{
java.lang.IllegalStateException v;
org.apache.shiro.session.InvalidSessionException v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
org.apache.shiro.session.Session v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
label:
v = virtualinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession: org.apache.shiro.session.Session getSession()>();
interfaceinvoke v.<org.apache.shiro.session.Session: void stop()>();
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
return;
catch org.apache.shiro.session.InvalidSessionException from label to label with label;
}
public boolean isNew()
{
javax.servlet.http.HttpServletRequest v;
org.apache.shiro.web.servlet.ShiroHttpSession v;
java.lang.Boolean v;
java.lang.Object v;
java.lang.String v;
boolean v, v;
v := @this: org.apache.shiro.web.servlet.ShiroHttpSession;
v = v.<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.http.HttpServletRequest currentRequest>;
v = <org.apache.shiro.web.servlet.ShiroHttpServletRequest: java.lang.String REFERENCED_SESSION_IS_NEW>;
v = interfaceinvoke v.<javax.servlet.http.HttpServletRequest: java.lang.Object getAttribute(java.lang.String)>(v);
if v == null goto label;
v = <java.lang.Boolean: java.lang.Boolean TRUE>;
v = virtualinvoke v.<java.lang.Boolean: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
static void <clinit>()
{
org.apache.shiro.web.servlet.ShiroHttpSession$1 v;
org.apache.shiro.web.servlet.ShiroHttpSession$2 v;
v = new org.apache.shiro.web.servlet.ShiroHttpSession$1;
specialinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession$1: void <init>()>();
<org.apache.shiro.web.servlet.ShiroHttpSession: java.util.Enumeration EMPTY_ENUMERATION> = v;
v = new org.apache.shiro.web.servlet.ShiroHttpSession$2;
specialinvoke v.<org.apache.shiro.web.servlet.ShiroHttpSession$2: void <init>()>();
<org.apache.shiro.web.servlet.ShiroHttpSession: javax.servlet.http.HttpSessionContext HTTP_SESSION_CONTEXT> = v;
return;
}
}