blob: 17c34566511cec6ead1807f0d0835f3fd44c9374 [file] [log] [blame]
<!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 (version 1.7.0_21) on Thu May 30 15:02:19 PDT 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>DefaultWebEnvironment (Apache Shiro 1.2.2 API)</title>
<meta name="date" content="2013-05-30">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DefaultWebEnvironment (Apache Shiro 1.2.2 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="strong">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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.shiro.env.DefaultEnvironment">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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="http://java.sun.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.34">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="http://java.sun.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="strong">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&nbsp;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="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#DefaultWebEnvironment()">DefaultWebEnvironment</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr 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><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getFilterChainResolver()">getFilterChainResolver</a></strong>()</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 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><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getSecurityManager()">getSecurityManager</a></strong>()</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 class="altColor">
<td class="colFirst"><code><a href="http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getServletContext()">getServletContext</a></strong>()</code>
<div class="block">Returns the <code>ServletContext</code> associated with this <code>WebEnvironment</code> instance.</div>
</td>
</tr>
<tr class="rowColor">
<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><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#getWebSecurityManager()">getWebSecurityManager</a></strong>()</code>
<div class="block">Returns the web application's security manager instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setFilterChainResolver(org.apache.shiro.web.filter.mgt.FilterChainResolver)">setFilterChainResolver</a></strong>(<a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a>&nbsp;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 class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setSecurityManager(org.apache.shiro.mgt.SecurityManager)">setSecurityManager</a></strong>(<a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a>&nbsp;securityManager)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setServletContext(javax.servlet.ServletContext)">setServletContext</a></strong>(<a href="http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a>&nbsp;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 class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/shiro/web/env/DefaultWebEnvironment.html#setWebSecurityManager(org.apache.shiro.web.mgt.WebSecurityManager)">setWebSecurityManager</a></strong>(<a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a>&nbsp;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&nbsp;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&nbsp;java.lang.<a href="http://java.sun.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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://java.sun.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="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://java.sun.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="http://java.sun.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&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.40">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&nbsp;<a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a>&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.44">getFilterChainResolver</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getFilterChainResolver()">WebEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getFilterChainResolver()">getFilterChainResolver</a></code>&nbsp;in interface&nbsp;<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="strong">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&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.48">setFilterChainResolver</a>(<a href="../../../../../org/apache/shiro/web/filter/mgt/FilterChainResolver.html" title="interface in org.apache.shiro.web.filter.mgt">FilterChainResolver</a>&nbsp;filterChainResolver)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setFilterChainResolver(org.apache.shiro.web.filter.mgt.FilterChainResolver)">MutableWebEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setFilterChainResolver(org.apache.shiro.web.filter.mgt.FilterChainResolver)">setFilterChainResolver</a></code>&nbsp;in interface&nbsp;<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="strong">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&nbsp;<a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a>&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.53">getSecurityManager</a>()
throws <a href="http://java.sun.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"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManager()">DefaultEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/env/Environment.html#getSecurityManager()">getSecurityManager</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/shiro/env/Environment.html" title="interface in org.apache.shiro.env">Environment</a></code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#getSecurityManager()">getSecurityManager</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html" title="class in org.apache.shiro.env">DefaultEnvironment</a></code></dd>
<dt><span class="strong">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="strong">Throws:</span></dt>
<dd><code><a href="http://java.sun.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&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.58">setSecurityManager</a>(<a href="../../../../../org/apache/shiro/mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt">SecurityManager</a>&nbsp;securityManager)</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/env/DefaultEnvironment.html#setSecurityManager(org.apache.shiro.mgt.SecurityManager)">setSecurityManager</a></code>&nbsp;in class&nbsp;<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&nbsp;<a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a>&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.63">getWebSecurityManager</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getWebSecurityManager()">WebEnvironment</a></code></strong></div>
<div class="block">Returns the web application's security manager instance.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getWebSecurityManager()">getWebSecurityManager</a></code>&nbsp;in interface&nbsp;<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="strong">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&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.69">setWebSecurityManager</a>(<a href="../../../../../org/apache/shiro/web/mgt/WebSecurityManager.html" title="interface in org.apache.shiro.web.mgt">WebSecurityManager</a>&nbsp;wsm)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setWebSecurityManager(org.apache.shiro.web.mgt.WebSecurityManager)">MutableWebEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setWebSecurityManager(org.apache.shiro.web.mgt.WebSecurityManager)">setWebSecurityManager</a></code>&nbsp;in interface&nbsp;<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="strong">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&nbsp;<a href="http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a>&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.80">getServletContext</a>()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getServletContext()">WebEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/WebEnvironment.html#getServletContext()">getServletContext</a></code>&nbsp;in interface&nbsp;<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="strong">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="blockListLast">
<li class="blockList">
<h4>setServletContext</h4>
<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/shiro/web/env/DefaultWebEnvironment.html#line.84">setServletContext</a>(<a href="http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContext.html?is-external=true" title="class or interface in javax.servlet">ServletContext</a>&nbsp;servletContext)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setServletContext(javax.servlet.ServletContext)">MutableWebEnvironment</a></code></strong></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><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/apache/shiro/web/env/MutableWebEnvironment.html#setServletContext(javax.servlet.ServletContext)">setServletContext</a></code>&nbsp;in interface&nbsp;<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="strong">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>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="strong">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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields_inherited_from_class_org.apache.shiro.env.DefaultEnvironment">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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 &#169; 2004-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
</body>
</html>