blob: b974ada80a56fbce7a2ad2266a7ac38702b40d14 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.7) on Mon Aug 17 10:33:47 EDT 2020 -->
<title>Uses of Interface org.apache.shiro.session.mgt.SessionKey (Apache Shiro :: Core 1.6.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-08-17">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.apache.shiro.session.mgt.SessionKey (Apache Shiro :: Core 1.6.0 API)";
}
}
catch(err) {
}
//-->
var pathtoroot = "../../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Interface org.apache.shiro.session.mgt.SessionKey" class="title">Uses of Interface<br>org.apache.shiro.session.mgt.SessionKey</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.mgt">org.apache.shiro.mgt</a></th>
<td class="colLast">
<div class="block">Provides the master <a href="../../../mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt"><code>SecurityManager</code></a> interface and a default implementation
hierarchy for managing all aspects of Shiro's functionality in an application.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.shiro.session.mgt">org.apache.shiro.session.mgt</a></th>
<td class="colLast">
<div class="block"><a href="../SessionManager.html" title="interface in org.apache.shiro.session.mgt"><code>SessionManager</code></a> components supporting enterprise session management.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.apache.shiro.mgt">
<!-- -->
</a>
<h3>Uses of <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a> in <a href="../../../mgt/package-summary.html">org.apache.shiro.mgt</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../../mgt/package-summary.html">org.apache.shiro.mgt</a> that return <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultSecurityManager.</span><code><span class="memberNameLink"><a href="../../../mgt/DefaultSecurityManager.html#getSessionKey(org.apache.shiro.subject.SubjectContext)">getSessionKey</a></span>&#8203;(<a href="../../../subject/SubjectContext.html" title="interface in org.apache.shiro.subject">SubjectContext</a>&nbsp;context)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../../mgt/package-summary.html">org.apache.shiro.mgt</a> with parameters of type <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SessionsSecurityManager.</span><code><span class="memberNameLink"><a href="../../../mgt/SessionsSecurityManager.html#getSession(org.apache.shiro.session.mgt.SessionKey)">getSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.shiro.session.mgt">
<!-- -->
</a>
<h3>Uses of <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a> in <a href="../package-summary.html">org.apache.shiro.session.mgt</a></h3>
<table class="useSummary">
<caption><span>Classes in <a href="../package-summary.html">org.apache.shiro.session.mgt</a> that implement <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../DefaultSessionKey.html" title="class in org.apache.shiro.session.mgt">DefaultSessionKey</a></span></code></th>
<td class="colLast">
<div class="block">Default implementation of the <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt"><code>SessionKey</code></a> interface, which allows setting and retrieval of a concrete
<a href="../DefaultSessionKey.html#getSessionId()"><code>sessionId</code></a> that the <code>SessionManager</code> implementation can use to look up a
<code>Session</code> instance.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.shiro.session.mgt</a> with parameters of type <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#checkValid(org.apache.shiro.session.mgt.SessionKey)">checkValid</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#checkValid(org.apache.shiro.session.mgt.SessionKey)">checkValid</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns quietly if the associated session is valid (it exists and is not stopped or expired) or throws
an <a href="../../InvalidSessionException.html" title="class in org.apache.shiro.session"><code>InvalidSessionException</code></a> indicating that the session id is invalid.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#createExposedSession(org.apache.shiro.session.Session,org.apache.shiro.session.mgt.SessionKey)">createExposedSession</a></span>&#8203;(<a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a>&nbsp;session,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#doGetSession(org.apache.shiro.session.mgt.SessionKey)">doGetSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractValidatingSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractValidatingSessionManager.html#doGetSession(org.apache.shiro.session.mgt.SessionKey)">doGetSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object)">getAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object)">getAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey)</code></th>
<td class="colLast">
<div class="block">Returns the object bound to the associated session identified by the specified attribute key.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getAttributeKeys(org.apache.shiro.session.mgt.SessionKey)">getAttributeKeys</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&gt;</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getAttributeKeys(org.apache.shiro.session.mgt.SessionKey)">getAttributeKeys</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey)</code></th>
<td class="colLast">
<div class="block">Returns all attribute keys maintained by the target session or an empty collection if there are no attributes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getHost(org.apache.shiro.session.mgt.SessionKey)">getHost</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getHost(org.apache.shiro.session.mgt.SessionKey)">getHost</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns the host name or IP string of the host where the session was started, if known.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util" class="externalLink">Date</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getLastAccessTime(org.apache.shiro.session.mgt.SessionKey)">getLastAccessTime</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util" class="externalLink">Date</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getLastAccessTime(org.apache.shiro.session.mgt.SessionKey)">getLastAccessTime</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns the time the associated <code>Session</code> last interacted with the system.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getSession(org.apache.shiro.session.mgt.SessionKey)">getSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">SessionManager.</span><code><span class="memberNameLink"><a href="../SessionManager.html#getSession(org.apache.shiro.session.mgt.SessionKey)">getSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Retrieves the session corresponding to the specified contextual data (such as a session ID if applicable), or
<code>null</code> if no Session could be found.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultSessionManager.</span><code><span class="memberNameLink"><a href="../DefaultSessionManager.html#getSessionId(org.apache.shiro.session.mgt.SessionKey)">getSessionId</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util" class="externalLink">Date</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getStartTimestamp(org.apache.shiro.session.mgt.SessionKey)">getStartTimestamp</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util" class="externalLink">Date</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getStartTimestamp(org.apache.shiro.session.mgt.SessionKey)">getStartTimestamp</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns the time the associated <code>Session</code> started (was created).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#getTimeout(org.apache.shiro.session.mgt.SessionKey)">getTimeout</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#getTimeout(org.apache.shiro.session.mgt.SessionKey)">getTimeout</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns the time in milliseconds that the associated session may remain idle before expiring.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#isValid(org.apache.shiro.session.mgt.SessionKey)">isValid</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#isValid(org.apache.shiro.session.mgt.SessionKey)">isValid</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns <code>true</code> if the associated session is valid (it exists and is not stopped nor expired),
<code>false</code> otherwise.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractValidatingSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractValidatingSessionManager.html#onExpiration(org.apache.shiro.session.Session,org.apache.shiro.session.ExpiredSessionException,org.apache.shiro.session.mgt.SessionKey)">onExpiration</a></span>&#8203;(<a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a>&nbsp;s,
<a href="../../ExpiredSessionException.html" title="class in org.apache.shiro.session">ExpiredSessionException</a>&nbsp;ese,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractValidatingSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractValidatingSessionManager.html#onInvalidation(org.apache.shiro.session.Session,org.apache.shiro.session.InvalidSessionException,org.apache.shiro.session.mgt.SessionKey)">onInvalidation</a></span>&#8203;(<a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a>&nbsp;s,
<a href="../../InvalidSessionException.html" title="class in org.apache.shiro.session">InvalidSessionException</a>&nbsp;ise,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#onStop(org.apache.shiro.session.Session,org.apache.shiro.session.mgt.SessionKey)">onStop</a></span>&#8203;(<a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a>&nbsp;session,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#removeAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object)">removeAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#removeAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object)">removeAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey)</code></th>
<td class="colLast">
<div class="block">Removes (unbinds) the object bound to associated <code>Session</code> under the given <code>attributeKey</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected abstract <a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractValidatingSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractValidatingSessionManager.html#retrieveSession(org.apache.shiro.session.mgt.SessionKey)">retrieveSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Looks up a session from the underlying data store based on the specified session key.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DefaultSessionManager.</span><code><span class="memberNameLink"><a href="../DefaultSessionManager.html#retrieveSession(org.apache.shiro.session.mgt.SessionKey)">retrieveSession</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#setAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object,java.lang.Object)">setAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#setAttribute(org.apache.shiro.session.mgt.SessionKey,java.lang.Object,java.lang.Object)">setAttribute</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;sessionKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;attributeKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;value)</code></th>
<td class="colLast">
<div class="block">Binds the specified <code>value</code> to the associated session uniquely identified by the <code>attributeKey</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#setTimeout(org.apache.shiro.session.mgt.SessionKey,long)">setTimeout</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key,
long&nbsp;maxIdleTimeInMillis)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#setTimeout(org.apache.shiro.session.mgt.SessionKey,long)">setTimeout</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key,
long&nbsp;maxIdleTimeInMillis)</code></th>
<td class="colLast">
<div class="block">Sets the time in milliseconds that the associated session may remain idle before expiring.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#stop(org.apache.shiro.session.mgt.SessionKey)">stop</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#stop(org.apache.shiro.session.mgt.SessionKey)">stop</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Explicitly stops the associated session, thereby releasing all of its resources.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractNativeSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractNativeSessionManager.html#touch(org.apache.shiro.session.mgt.SessionKey)">touch</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">NativeSessionManager.</span><code><span class="memberNameLink"><a href="../NativeSessionManager.html#touch(org.apache.shiro.session.mgt.SessionKey)">touch</a></span>&#8203;(<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Updates the last accessed time of the session identified by <code>sessionId</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractValidatingSessionManager.</span><code><span class="memberNameLink"><a href="../AbstractValidatingSessionManager.html#validate(org.apache.shiro.session.Session,org.apache.shiro.session.mgt.SessionKey)">validate</a></span>&#8203;(<a href="../../Session.html" title="interface in org.apache.shiro.session">Session</a>&nbsp;session,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Constructors in <a href="../package-summary.html">org.apache.shiro.session.mgt</a> with parameters of type <a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../DelegatingSession.html#%3Cinit%3E(org.apache.shiro.session.mgt.NativeSessionManager,org.apache.shiro.session.mgt.SessionKey)">DelegatingSession</a></span>&#8203;(<a href="../NativeSessionManager.html" title="interface in org.apache.shiro.session.mgt">NativeSessionManager</a>&nbsp;sessionManager,
<a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">SessionKey</a>&nbsp;key)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../SessionKey.html" title="interface in org.apache.shiro.session.mgt">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>