| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="fr"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_201) on Sat May 02 22:20:04 CEST 2020 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>WebDelegatingSubject (Apache Shiro 1.5.3 API)</title> |
| <meta name="date" content="2020-05-02"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="WebDelegatingSubject (Apache Shiro 1.5.3 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/WebDelegatingSubject.html">Use</a></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"> |
| <li><a href="../../../../../../org/apache/shiro/web/subject/support/DefaultWebSubjectContext.html" title="class in org.apache.shiro.web.subject.support"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/shiro/web/subject/support/WebDelegatingSubject.html" target="_top">Frames</a></li> |
| <li><a href="WebDelegatingSubject.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.shiro.subject.support.DelegatingSubject">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.shiro.web.subject.support</div> |
| <h2 title="Class WebDelegatingSubject" class="title">Class WebDelegatingSubject</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">org.apache.shiro.subject.support.DelegatingSubject</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.shiro.web.subject.support.WebDelegatingSubject</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../../org/apache/shiro/subject/Subject.html" title="interface in org.apache.shiro.subject">Subject</a>, <a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject">WebSubject</a>, <a href="../../../../../../org/apache/shiro/web/util/RequestPairSource.html" title="interface in org.apache.shiro.web.util">RequestPairSource</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.41">WebDelegatingSubject</a> |
| extends <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">DelegatingSubject</a> |
| implements <a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject">WebSubject</a></pre> |
| <div class="block">Default <a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject"><code>WebSubject</code></a> implementation that additional ensures the ability to retain a |
| servlet request/response pair to be used by internal shiro components as necessary during the request execution.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.shiro.web.subject.WebSubject"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface org.apache.shiro.web.subject.<a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject">WebSubject</a></h3> |
| <code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.Builder.html" title="class in org.apache.shiro.web.subject">WebSubject.Builder</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.shiro.subject.support.DelegatingSubject"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.shiro.subject.support.<a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">DelegatingSubject</a></h3> |
| <code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#authenticated">authenticated</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#host">host</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#principals">principals</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#securityManager">securityManager</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#session">session</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#sessionCreationEnabled">sessionCreationEnabled</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#WebDelegatingSubject-org.apache.shiro.subject.PrincipalCollection-boolean-java.lang.String-org.apache.shiro.session.Session-boolean-javax.servlet.ServletRequest-javax.servlet.ServletResponse-org.apache.shiro.mgt.SecurityManager-">WebDelegatingSubject</a></span>(<a href="../../../../../../org/apache/shiro/subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| boolean authenticated, |
| <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host, |
| <a href="../../../../../../org/apache/shiro/session/Session.html" title="interface in org.apache.shiro.session">Session</a> session, |
| boolean sessionEnabled, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a> request, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a> response, |
| <a href="../../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#WebDelegatingSubject-org.apache.shiro.subject.PrincipalCollection-boolean-java.lang.String-org.apache.shiro.session.Session-javax.servlet.ServletRequest-javax.servlet.ServletResponse-org.apache.shiro.mgt.SecurityManager-">WebDelegatingSubject</a></span>(<a href="../../../../../../org/apache/shiro/subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| boolean authenticated, |
| <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host, |
| <a href="../../../../../../org/apache/shiro/session/Session.html" title="interface in org.apache.shiro.session">Session</a> session, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a> request, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a> response, |
| <a href="../../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/shiro/session/mgt/SessionContext.html" title="interface in org.apache.shiro.session.mgt">SessionContext</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#createSessionContext--">createSessionContext</a></span>()</code> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#getServletRequest--">getServletRequest</a></span>()</code> |
| <div class="block">Returns the <code>ServletRequest</code> accessible when the Subject instance was created.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#getServletResponse--">getServletResponse</a></span>()</code> |
| <div class="block">Returns the <code>ServletResponse</code> accessible when the Subject instance was created.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/shiro/web/subject/support/WebDelegatingSubject.html#isSessionCreationEnabled--">isSessionCreationEnabled</a></span>()</code> |
| <div class="block">Returns <code>true</code> if session creation is allowed (as determined by the super class's |
| <code>super#isSessionCreationEnabled()</code> value and no request-specific override has disabled sessions for this subject, |
| <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.shiro.subject.support.DelegatingSubject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.shiro.subject.support.<a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">DelegatingSubject</a></h3> |
| <code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#assertAuthzCheckPossible--">assertAuthzCheckPossible</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#associateWith-java.util.concurrent.Callable-">associateWith</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#associateWith-java.lang.Runnable-">associateWith</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkPermission-org.apache.shiro.authz.Permission-">checkPermission</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkPermission-java.lang.String-">checkPermission</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkPermissions-java.util.Collection-">checkPermissions</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkPermissions-java.lang.String...-">checkPermissions</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkRole-java.lang.String-">checkRole</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkRoles-java.util.Collection-">checkRoles</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#checkRoles-java.lang.String...-">checkRoles</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#decorate-org.apache.shiro.session.Session-">decorate</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#execute-java.util.concurrent.Callable-">execute</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#execute-java.lang.Runnable-">execute</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getHost--">getHost</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getPreviousPrincipals--">getPreviousPrincipals</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getPrincipal--">getPrincipal</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getPrincipals--">getPrincipals</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getSecurityManager--">getSecurityManager</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getSession--">getSession</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#getSession-boolean-">getSession</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#hasAllRoles-java.util.Collection-">hasAllRoles</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#hasPrincipals--">hasPrincipals</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#hasRole-java.lang.String-">hasRole</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#hasRoles-java.util.List-">hasRoles</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isAuthenticated--">isAuthenticated</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermitted-java.util.List-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermitted-org.apache.shiro.authz.Permission-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermitted-java.lang.String...-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermitted-java.lang.String-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermittedAll-java.util.Collection-">isPermittedAll</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isPermittedAll-java.lang.String...-">isPermittedAll</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isRemembered--">isRemembered</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isRunAs--">isRunAs</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#login-org.apache.shiro.authc.AuthenticationToken-">login</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#logout--">logout</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#releaseRunAs--">releaseRunAs</a>, <a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#runAs-org.apache.shiro.subject.PrincipalCollection-">runAs</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.shiro.subject.Subject"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.shiro.subject.<a href="../../../../../../org/apache/shiro/subject/Subject.html" title="interface in org.apache.shiro.subject">Subject</a></h3> |
| <code><a href="../../../../../../org/apache/shiro/subject/Subject.html#associateWith-java.util.concurrent.Callable-">associateWith</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#associateWith-java.lang.Runnable-">associateWith</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkPermission-org.apache.shiro.authz.Permission-">checkPermission</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkPermission-java.lang.String-">checkPermission</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkPermissions-java.util.Collection-">checkPermissions</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkPermissions-java.lang.String...-">checkPermissions</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkRole-java.lang.String-">checkRole</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkRoles-java.util.Collection-">checkRoles</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#checkRoles-java.lang.String...-">checkRoles</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#execute-java.util.concurrent.Callable-">execute</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#execute-java.lang.Runnable-">execute</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#getPreviousPrincipals--">getPreviousPrincipals</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#getPrincipal--">getPrincipal</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#getPrincipals--">getPrincipals</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#getSession--">getSession</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#getSession-boolean-">getSession</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#hasAllRoles-java.util.Collection-">hasAllRoles</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#hasRole-java.lang.String-">hasRole</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#hasRoles-java.util.List-">hasRoles</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isAuthenticated--">isAuthenticated</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermitted-java.util.List-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermitted-org.apache.shiro.authz.Permission-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermitted-java.lang.String...-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermitted-java.lang.String-">isPermitted</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermittedAll-java.util.Collection-">isPermittedAll</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isPermittedAll-java.lang.String...-">isPermittedAll</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isRemembered--">isRemembered</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#isRunAs--">isRunAs</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#login-org.apache.shiro.authc.AuthenticationToken-">login</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#logout--">logout</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#releaseRunAs--">releaseRunAs</a>, <a href="../../../../../../org/apache/shiro/subject/Subject.html#runAs-org.apache.shiro.subject.PrincipalCollection-">runAs</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="WebDelegatingSubject-org.apache.shiro.subject.PrincipalCollection-boolean-java.lang.String-org.apache.shiro.session.Session-javax.servlet.ServletRequest-javax.servlet.ServletResponse-org.apache.shiro.mgt.SecurityManager-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>WebDelegatingSubject</h4> |
| <pre>public <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.48">WebDelegatingSubject</a>(<a href="../../../../../../org/apache/shiro/subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| boolean authenticated, |
| <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host, |
| <a href="../../../../../../org/apache/shiro/session/Session.html" title="interface in org.apache.shiro.session">Session</a> session, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a> request, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a> response, |
| <a href="../../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</pre> |
| </li> |
| </ul> |
| <a name="WebDelegatingSubject-org.apache.shiro.subject.PrincipalCollection-boolean-java.lang.String-org.apache.shiro.session.Session-boolean-javax.servlet.ServletRequest-javax.servlet.ServletResponse-org.apache.shiro.mgt.SecurityManager-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>WebDelegatingSubject</h4> |
| <pre>public <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.56">WebDelegatingSubject</a>(<a href="../../../../../../org/apache/shiro/subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| boolean authenticated, |
| <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host, |
| <a href="../../../../../../org/apache/shiro/session/Session.html" title="interface in org.apache.shiro.session">Session</a> session, |
| boolean sessionEnabled, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a> request, |
| <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a> response, |
| <a href="../../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getServletRequest--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServletRequest</h4> |
| <pre>public <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html?is-external=true" title="class or interface in javax.servlet">ServletRequest</a> <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.65">getServletRequest</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html#getServletRequest--">WebSubject</a></code></span></div> |
| <div class="block">Returns the <code>ServletRequest</code> accessible when the Subject instance was created.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html#getServletRequest--">getServletRequest</a></code> in interface <code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject">WebSubject</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/web/util/RequestPairSource.html#getServletRequest--">getServletRequest</a></code> in interface <code><a href="../../../../../../org/apache/shiro/web/util/RequestPairSource.html" title="interface in org.apache.shiro.web.util">RequestPairSource</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <code>ServletRequest</code> accessible when the Subject instance was created.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getServletResponse--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServletResponse</h4> |
| <pre>public <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletResponse.html?is-external=true" title="class or interface in javax.servlet">ServletResponse</a> <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.69">getServletResponse</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html#getServletResponse--">WebSubject</a></code></span></div> |
| <div class="block">Returns the <code>ServletResponse</code> accessible when the Subject instance was created.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html#getServletResponse--">getServletResponse</a></code> in interface <code><a href="../../../../../../org/apache/shiro/web/subject/WebSubject.html" title="interface in org.apache.shiro.web.subject">WebSubject</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/web/util/RequestPairSource.html#getServletResponse--">getServletResponse</a></code> in interface <code><a href="../../../../../../org/apache/shiro/web/util/RequestPairSource.html" title="interface in org.apache.shiro.web.util">RequestPairSource</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <code>ServletResponse</code> accessible when the Subject instance was created.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isSessionCreationEnabled--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSessionCreationEnabled</h4> |
| <pre>protected boolean <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.87">isSessionCreationEnabled</a>()</pre> |
| <div class="block">Returns <code>true</code> if session creation is allowed (as determined by the super class's |
| <code>super#isSessionCreationEnabled()</code> value and no request-specific override has disabled sessions for this subject, |
| <code>false</code> otherwise. |
| <p/> |
| This means session creation is disabled if the super <code>super#isSessionCreationEnabled()</code> property is <code>false</code> |
| or if a request attribute is discovered that turns off sessions for the current request.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#isSessionCreationEnabled--">isSessionCreationEnabled</a></code> in class <code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">DelegatingSubject</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if session creation is allowed (as determined by the super class's |
| <code>super#isSessionCreationEnabled()</code> value and no request-specific override has disabled sessions for this |
| subject, <code>false</code> otherwise.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createSessionContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>createSessionContext</h4> |
| <pre>protected <a href="../../../../../../org/apache/shiro/session/mgt/SessionContext.html" title="interface in org.apache.shiro.session.mgt">SessionContext</a> <a href="../../../../../../src-html/org/apache/shiro/web/subject/support/WebDelegatingSubject.html#line.93">createSessionContext</a>()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html#createSessionContext--">createSessionContext</a></code> in class <code><a href="../../../../../../org/apache/shiro/subject/support/DelegatingSubject.html" title="class in org.apache.shiro.subject.support">DelegatingSubject</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/WebDelegatingSubject.html">Use</a></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"> |
| <li><a href="../../../../../../org/apache/shiro/web/subject/support/DefaultWebSubjectContext.html" title="class in org.apache.shiro.web.subject.support"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/shiro/web/subject/support/WebDelegatingSubject.html" target="_top">Frames</a></li> |
| <li><a href="WebDelegatingSubject.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All 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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.shiro.subject.support.DelegatingSubject">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2004–2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |