| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>DefaultWebEnvironment (Apache Shiro 1.13.0 API)</title> |
| <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="DefaultWebEnvironment (Apache Shiro 1.13.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":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> |
| <!-- Matomo --> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* We explicitly disable cookie tracking to avoid privacy issues */ _paq.push(['disableCookies']); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//matomo.privacy.apache.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '2']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Matomo Code --> |
| <!-- ========= 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/DefaultWebEnvironment.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>Prev Class</li> |
| <li><a href="../../../../../org/apache/shiro/web/env/EnvironmentLoader.html" title="class in org.apache.shiro.web.env"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/web/env/DefaultWebEnvironment.html" target="_top">Frames</a></li> |
| <li><a href="DefaultWebEnvironment.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.env.DefaultEnvironment">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.env</div> |
| <h2 title="Class DefaultWebEnvironment" class="title">Class DefaultWebEnvironment</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/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">org.apache.shiro.env.DefaultEnvironment</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.shiro.web.env.DefaultWebEnvironment</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/env/Environment.html" title="interface in org.apache.shiro.env">Environment</a>, <a href="../../../../../org/apache/shiro/env/NamedObjectEnvironment.html" title="interface in org.apache.shiro.env">NamedObjectEnvironment</a>, <a href="../../../../../org/apache/shiro/util/Destroyable.html" title="interface in org.apache.shiro.util">Destroyable</a>, <a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a>, <a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env">WebEnvironment</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../org/apache/shiro/web/env/ResourceBasedWebEnvironment.html" title="class in org.apache.shiro.web.env">ResourceBasedWebEnvironment</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.35">DefaultWebEnvironment</a> |
| extends <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a> |
| implements <a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a></pre> |
| <div class="block">Default <a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env"><code>WebEnvironment</code></a> implementation based on a backing <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> instance.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== 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.env.DefaultEnvironment"> |
| <!-- --> |
| </a> |
| <h3>Fields inherited from class org.apache.shiro.env.<a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a></h3> |
| <code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#DEFAULT_SECURITY_MANAGER_KEY">DEFAULT_SECURITY_MANAGER_KEY</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#objects">objects</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/env/DefaultWebEnvironment.html#DefaultWebEnvironment--">DefaultWebEnvironment</a></span>()</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><a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getFilterChainResolver--">getFilterChainResolver</a></span>()</code> |
| <div class="block">Returns the web application's <code>FilterChainResolver</code> if one has been configured or <code>null</code> if one |
| is not available.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getSecurityManager--">getSecurityManager</a></span>()</code> |
| <div class="block">Returns the application's <code>SecurityManager</code> instance accessible in the backing map using the |
| <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManagerName--"><code>securityManagerName</code></a> property as the lookup key.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getServletContext--">getServletContext</a></span>()</code> |
| <div class="block">Returns the <code>ServletContext</code> associated with this <code>WebEnvironment</code> instance.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config">ShiroFilterConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getShiroFilterConfiguration--">getShiroFilterConfiguration</a></span>()</code> |
| <div class="block">Returns the configuration object used to configure the ShiroFilter.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getWebSecurityManager--">getWebSecurityManager</a></span>()</code> |
| <div class="block">Returns the web application's security manager instance.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setFilterChainResolver-org.apache.shiro.web.filter.mgt.FilterChainResolver-">setFilterChainResolver</a></span>(<a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a> filterChainResolver)</code> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt"><code>FilterChainResolver</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setSecurityManager-org.apache.shiro.mgt.SecurityManager-">setSecurityManager</a></span>(<a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</code> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setServletContext-javax.servlet.ServletContext-">setServletContext</a></span>(<a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a> servletContext)</code> |
| <div class="block">Sets the <a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env"><code>WebEnvironment</code></a>'s associated <code>ServletContext</code> instance.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setShiroFilterConfiguration-org.apache.shiro.web.config.ShiroFilterConfiguration-">setShiroFilterConfiguration</a></span>(<a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config">ShiroFilterConfiguration</a> filterConfiguration)</code> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config"><code>ShiroFilterConfiguration</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setWebSecurityManager-org.apache.shiro.web.mgt.WebSecurityManager-">setWebSecurityManager</a></span>(<a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a> wsm)</code> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt"><code>WebSecurityManager</code></a>.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.shiro.env.DefaultEnvironment"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class org.apache.shiro.env.<a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a></h3> |
| <code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#destroy--">destroy</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getObjects--">getObjects</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManagerName--">getSecurityManagerName</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#lookupSecurityManager--">lookupSecurityManager</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#setObject-java.lang.String-java.lang.Object-">setObject</a>, <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#setSecurityManagerName-java.lang.String-">setSecurityManagerName</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> |
| </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="DefaultWebEnvironment--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DefaultWebEnvironment</h4> |
| <pre>public <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.42">DefaultWebEnvironment</a>()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getFilterChainResolver--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFilterChainResolver</h4> |
| <pre>public <a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a> <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.46">getFilterChainResolver</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getFilterChainResolver--">WebEnvironment</a></code></span></div> |
| <div class="block">Returns the web application's <code>FilterChainResolver</code> if one has been configured or <code>null</code> if one |
| is not available.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getFilterChainResolver--">getFilterChainResolver</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env">WebEnvironment</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the web application's <code>FilterChainResolver</code> if one has been configured or <code>null</code> if one |
| is not available.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setFilterChainResolver-org.apache.shiro.web.filter.mgt.FilterChainResolver-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFilterChainResolver</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.50">setFilterChainResolver</a>(<a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a> filterChainResolver)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setFilterChainResolver-org.apache.shiro.web.filter.mgt.FilterChainResolver-">MutableWebEnvironment</a></code></span></div> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt"><code>FilterChainResolver</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setFilterChainResolver-org.apache.shiro.web.filter.mgt.FilterChainResolver-">setFilterChainResolver</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filterChainResolver</code> - the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt"><code>FilterChainResolver</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSecurityManager--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSecurityManager</h4> |
| <pre>public <a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.55">getSecurityManager</a>() |
| throws <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManager--">DefaultEnvironment</a></code></span></div> |
| <div class="block">Returns the application's <code>SecurityManager</code> instance accessible in the backing map using the |
| <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManagerName--"><code>securityManagerName</code></a> property as the lookup key. |
| <p/> |
| This implementation guarantees that a non-null instance is always returned, as this is expected for |
| Environment API end-users. If subclasses have the need to perform the map lookup without this guarantee |
| (for example, during initialization when the instance may not have been added to the map yet), the |
| <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#lookupSecurityManager--"><code>DefaultEnvironment.lookupSecurityManager()</code></a> method is provided as an alternative.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/env/Environment.html#getSecurityManager--">getSecurityManager</a></code> in interface <code><a href="../../../../../org/apache/shiro/env/Environment.html" title="interface in org.apache.shiro.env">Environment</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManager--">getSecurityManager</a></code> in class <code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the application's <code>SecurityManager</code> instance accessible in the backing map using the |
| <a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManagerName--"><code>securityManagerName</code></a> property as the lookup key.</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSecurityManager-org.apache.shiro.mgt.SecurityManager-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSecurityManager</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.60">setSecurityManager</a>(<a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a> securityManager)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#setSecurityManager-org.apache.shiro.mgt.SecurityManager-">setSecurityManager</a></code> in class <code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getWebSecurityManager--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWebSecurityManager</h4> |
| <pre>public <a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a> <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.65">getWebSecurityManager</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getWebSecurityManager--">WebEnvironment</a></code></span></div> |
| <div class="block">Returns the web application's security manager instance.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getWebSecurityManager--">getWebSecurityManager</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env">WebEnvironment</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the web application's security manager instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setWebSecurityManager-org.apache.shiro.web.mgt.WebSecurityManager-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWebSecurityManager</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.71">setWebSecurityManager</a>(<a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a> wsm)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setWebSecurityManager-org.apache.shiro.web.mgt.WebSecurityManager-">MutableWebEnvironment</a></code></span></div> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt"><code>WebSecurityManager</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setWebSecurityManager-org.apache.shiro.web.mgt.WebSecurityManager-">setWebSecurityManager</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>wsm</code> - the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt"><code>WebSecurityManager</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getServletContext--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getServletContext</h4> |
| <pre>public <a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a> <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.82">getServletContext</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getServletContext--">WebEnvironment</a></code></span></div> |
| <div class="block">Returns the <code>ServletContext</code> associated with this <code>WebEnvironment</code> instance. A web application |
| typically only has a single <code>WebEnvironment</code> associated with its <code>ServletContext</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getServletContext--">getServletContext</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env">WebEnvironment</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <code>ServletContext</code> associated with this <code>WebEnvironment</code> instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setServletContext-javax.servlet.ServletContext-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setServletContext</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.86">setServletContext</a>(<a href="https://docs.oracle.com/javaee/5/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a> servletContext)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setServletContext-javax.servlet.ServletContext-">MutableWebEnvironment</a></code></span></div> |
| <div class="block">Sets the <a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env"><code>WebEnvironment</code></a>'s associated <code>ServletContext</code> instance. Invoking this method merely |
| makes the <code>ServletContext</code> available to the underlying instance - it does not trigger initialization |
| behavior.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setServletContext-javax.servlet.ServletContext-">setServletContext</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>servletContext</code> - the <a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env"><code>WebEnvironment</code></a>'s associated <code>ServletContext</code> instance.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setShiroFilterConfiguration-org.apache.shiro.web.config.ShiroFilterConfiguration-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setShiroFilterConfiguration</h4> |
| <pre>public void <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.92">setShiroFilterConfiguration</a>(<a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config">ShiroFilterConfiguration</a> filterConfiguration)</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setShiroFilterConfiguration-org.apache.shiro.web.config.ShiroFilterConfiguration-">MutableWebEnvironment</a></code></span></div> |
| <div class="block">Sets the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config"><code>ShiroFilterConfiguration</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setShiroFilterConfiguration-org.apache.shiro.web.config.ShiroFilterConfiguration-">setShiroFilterConfiguration</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html" title="interface in org.apache.shiro.web.env">MutableWebEnvironment</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filterConfiguration</code> - the <code>WebEnvironment</code>'s <a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config"><code>ShiroFilterConfiguration</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getShiroFilterConfiguration--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getShiroFilterConfiguration</h4> |
| <pre>public <a href="../../../../../org/apache/shiro/web/config/ShiroFilterConfiguration.html" title="class in org.apache.shiro.web.config">ShiroFilterConfiguration</a> <a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.97">getShiroFilterConfiguration</a>()</pre> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getShiroFilterConfiguration--">WebEnvironment</a></code></span></div> |
| <div class="block">Returns the configuration object used to configure the ShiroFilter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getShiroFilterConfiguration--">getShiroFilterConfiguration</a></code> in interface <code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html" title="interface in org.apache.shiro.web.env">WebEnvironment</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the configuration object used to configure the ShiroFilter.</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/DefaultWebEnvironment.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>Prev Class</li> |
| <li><a href="../../../../../org/apache/shiro/web/env/EnvironmentLoader.html" title="class in org.apache.shiro.web.env"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/web/env/DefaultWebEnvironment.html" target="_top">Frames</a></li> |
| <li><a href="DefaultWebEnvironment.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.env.DefaultEnvironment">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–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |