/** * @see org.apache.shiro.session.Session#getAttribute(Object key) */ public Object getAttribute(Object attributeKey) throws InvalidSessionException { return sessionManager.getAttribute(this.key, attributeKey); }
/** * @see org.apache.shiro.session.Session#getAttributeKeys */ public Collection<Object> getAttributeKeys() throws InvalidSessionException { return sessionManager.getAttributeKeys(key); }
public String getHost() { if (host == null) { host = sessionManager.getHost(key); } return host; }
/** * @see org.apache.shiro.session.Session#getLastAccessTime() */ public Date getLastAccessTime() { //can't cache - only business pojo knows the accurate time: return sessionManager.getLastAccessTime(key); }
/** * @see Session#setAttribute(Object key, Object value) */ public void setAttribute(Object attributeKey, Object value) throws InvalidSessionException { if (value == null) { removeAttribute(attributeKey); } else { sessionManager.setAttribute(this.key, attributeKey, value); } }
/** * @see org.apache.shiro.session.Session#getStartTimestamp() */ public Date getStartTimestamp() { if (startTimestamp == null) { startTimestamp = sessionManager.getStartTimestamp(key); } return startTimestamp; }
/** * @see org.apache.shiro.session.Session#stop() */ public void stop() throws InvalidSessionException { sessionManager.stop(key); }
/** * @see Session#removeAttribute(Object key) */ public Object removeAttribute(Object attributeKey) throws InvalidSessionException { return sessionManager.removeAttribute(this.key, attributeKey); } }
public void setTimeout(long maxIdleTimeInMillis) throws InvalidSessionException { sessionManager.setTimeout(key, maxIdleTimeInMillis); }
public long getTimeout() throws InvalidSessionException { return sessionManager.getTimeout(key); }
/** * @see org.apache.shiro.session.Session#getLastAccessTime() */ public Date getLastAccessTime() { //can't cache - only business pojo knows the accurate time: return sessionManager.getLastAccessTime(key); }
/** * @see Session#setAttribute(Object key, Object value) */ public void setAttribute(Object attributeKey, Object value) throws InvalidSessionException { if (value == null) { removeAttribute(attributeKey); } else { sessionManager.setAttribute(this.key, attributeKey, value); } }
/** * @see org.apache.shiro.session.Session#getStartTimestamp() */ public Date getStartTimestamp() { if (startTimestamp == null) { startTimestamp = sessionManager.getStartTimestamp(key); } return startTimestamp; }
/** * @see org.apache.shiro.session.Session#stop() */ public void stop() throws InvalidSessionException { sessionManager.stop(key); }
/** * @see Session#removeAttribute(Object key) */ public Object removeAttribute(Object attributeKey) throws InvalidSessionException { return sessionManager.removeAttribute(this.key, attributeKey); } }
public void setTimeout(long maxIdleTimeInMillis) throws InvalidSessionException { sessionManager.setTimeout(key, maxIdleTimeInMillis); }
public long getTimeout() throws InvalidSessionException { return sessionManager.getTimeout(key); }
/** * @see org.apache.shiro.session.Session#getLastAccessTime() */ public Date getLastAccessTime() { //can't cache - only business pojo knows the accurate time: return sessionManager.getLastAccessTime(key); }
/** * @see Session#setAttribute(Object key, Object value) */ public void setAttribute(Object attributeKey, Object value) throws InvalidSessionException { if (value == null) { removeAttribute(attributeKey); } else { sessionManager.setAttribute(this.key, attributeKey, value); } }
/** * @see org.apache.shiro.session.Session#getStartTimestamp() */ public Date getStartTimestamp() { if (startTimestamp == null) { startTimestamp = sessionManager.getStartTimestamp(key); } return startTimestamp; }