| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Interface org.apache.shiro.authz.Permission (Apache Shiro :: Core 1.10.1 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.6.0.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface org.apache.shiro.authz.Permission (Apache Shiro :: Core 1.10.1 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"><!-- 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 id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../Permission.html" title="interface in org.apache.shiro.authz">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.shiro.authz.Permission" class="title">Uses of Interface<br>org.apache.shiro.authz.Permission</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.authc">org.apache.shiro.authc</a></th> |
| <td class="colLast"> |
| <div class="block">Core interfaces and exceptions concerning Authentication (the act of logging-in).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.authz">org.apache.shiro.authz</a></th> |
| <td class="colLast"> |
| <div class="block">Core interfaces and exceptions supporting Authorization (access control).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.authz.permission">org.apache.shiro.authz.permission</a></th> |
| <td class="colLast"> |
| <div class="block">Support and default implementations for Shiro's <a href="../Permission.html" title="interface in org.apache.shiro.authz"><code>Permission</code></a> |
| interface.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.mgt">org.apache.shiro.mgt</a></th> |
| <td class="colLast"> |
| <div class="block">Provides the master <a href="../../mgt/SecurityManager.html" title="interface in org.apache.shiro.mgt"><code>SecurityManager</code></a> interface and a default implementation |
| hierarchy for managing all aspects of Shiro's functionality in an application.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.realm">org.apache.shiro.realm</a></th> |
| <td class="colLast"> |
| <div class="block">Components and sub-packages used in supporting the core <a href="../../realm/Realm.html" title="interface in org.apache.shiro.realm"><code>Realm</code></a> interface.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.subject">org.apache.shiro.subject</a></th> |
| <td class="colLast"> |
| <div class="block">Components supporting the <a href="../../subject/Subject.html" title="interface in org.apache.shiro.subject"><code>Subject</code></a> interface, the most important concept in |
| Shiro's API.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.subject.support">org.apache.shiro.subject.support</a></th> |
| <td class="colLast"> |
| <div class="block">Concrete support implementations of most of the <code>org.apache.shiro.subject</code> interfaces.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.shiro.util">org.apache.shiro.util</a></th> |
| <td class="colLast"> |
| <div class="block">Your run-of-the-mill 'util' package for components and logic widely used across the framework that can't |
| find their home into a proper OO hierarchy (or, most likely for things used across many hierarchies).</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.authc"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../authc/package-summary.html">org.apache.shiro.authc</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../authc/package-summary.html">org.apache.shiro.authc</a> that return types with arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAccount.</span><code><span class="memberNameLink"><a href="../../authc/SimpleAccount.html#getObjectPermissions()">getObjectPermissions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all object-based permissions assigned directly to this Account (not any of its realms).</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../authc/package-summary.html">org.apache.shiro.authc</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAccount.</span><code><span class="memberNameLink"><a href="../../authc/SimpleAccount.html#addObjectPermission(org.apache.shiro.authz.Permission)">addObjectPermission</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Assigns an object-based permission directly to this Account (not any of its realms).</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../../authc/package-summary.html">org.apache.shiro.authc</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAccount.</span><code><span class="memberNameLink"><a href="../../authc/SimpleAccount.html#addObjectPermissions(java.util.Collection)">addObjectPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Assigns one or more object-based permissions directly to this Account (not any of its realms).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAccount.</span><code><span class="memberNameLink"><a href="../../authc/SimpleAccount.html#setObjectPermissions(java.util.Set)">setObjectPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets all object-based permissions assigned directly to this Account (not any of its realms).</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.authz"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../package-summary.html">org.apache.shiro.authz</a></h3> |
| <table class="useSummary"> |
| <caption><span>Fields in <a href="../package-summary.html">org.apache.shiro.authz</a> with type parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAuthorizationInfo.</span><code><span class="memberNameLink"><a href="../SimpleAuthorizationInfo.html#objectPermissions">objectPermissions</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Collection of all object-based permissions associated with the account.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#permissions">permissions</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.shiro.authz</a> that return types with arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizationInfo.</span><code><span class="memberNameLink"><a href="../AuthorizationInfo.html#getObjectPermissions()">getObjectPermissions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all type-safe <a href="../Permission.html" title="interface in org.apache.shiro.authz"><code>Permission</code></a>s assigned to the corresponding Subject.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAuthorizationInfo.</span><code><span class="memberNameLink"><a href="../SimpleAuthorizationInfo.html#getObjectPermissions()">getObjectPermissions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#getPermissions()">getPermissions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.shiro.authz</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#add(org.apache.shiro.authz.Permission)">add</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAuthorizationInfo.</span><code><span class="memberNameLink"><a href="../SimpleAuthorizationInfo.html#addObjectPermission(org.apache.shiro.authz.Permission)">addObjectPermission</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds (assigns) a permission to those directly associated with the account.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Authorizer.</span><code><span class="memberNameLink"><a href="../Authorizer.html#checkPermission(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> subjectPrincipal, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures a subject/user <a href="../Permission.html#implies(org.apache.shiro.authz.Permission)"><code>implies(Permission)</code></a> implies} the specified <tt>Permission</tt>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ModularRealmAuthorizer.</span><code><span class="memberNameLink"><a href="../ModularRealmAuthorizer.html#checkPermission(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">If !<a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)"><code>isPermitted(permission)</code></a>, throws |
| an <code>UnauthorizedException</code> otherwise returns quietly.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Permission.</span><code><span class="memberNameLink"><a href="../Permission.html#implies(org.apache.shiro.authz.Permission)">implies</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> p)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if this current instance <em>implies</em> all the functionality and/or resource access |
| described by the specified <code>Permission</code> argument, <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Authorizer.</span><code><span class="memberNameLink"><a href="../Authorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> subjectPrincipal, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <tt>true</tt> if the corresponding subject/user is permitted to perform an action or access a resource |
| summarized by the specified permission.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ModularRealmAuthorizer.</span><code><span class="memberNameLink"><a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if any of the configured realms' |
| <a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)"><code>ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, Permission)</code></a> call returns <code>true</code>, |
| <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#isPermitted(org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> p)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../package-summary.html">org.apache.shiro.authz</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#addAll(java.util.Collection)">addAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> perms)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAuthorizationInfo.</span><code><span class="memberNameLink"><a href="../SimpleAuthorizationInfo.html#addObjectPermissions(java.util.Collection)">addObjectPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds (assigns) multiple permissions to those associated directly with the account.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Authorizer.</span><code><span class="memberNameLink"><a href="../Authorizer.html#checkPermissions(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">checkPermissions</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> subjectPrincipal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures the corresponding Subject/user |
| <a href="../Permission.html#implies(org.apache.shiro.authz.Permission)"><code>implies</code></a> all of the |
| specified permission strings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ModularRealmAuthorizer.</span><code><span class="memberNameLink"><a href="../ModularRealmAuthorizer.html#checkPermissions(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">checkPermissions</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">If !<a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)"><code>isPermitted(permission)</code></a> for |
| <em>all</em> the given Permissions, throws |
| an <code>UnauthorizedException</code> otherwise returns quietly.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Authorizer.</span><code><span class="memberNameLink"><a href="../Authorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,java.util.List)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> subjectPrincipal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Checks if the corresponding Subject/user implies the given Permissions and returns a boolean array indicating |
| which permissions are implied.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ModularRealmAuthorizer.</span><code><span class="memberNameLink"><a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,java.util.List)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if any of the configured realms' |
| <a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,java.util.List)"><code>ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, List)</code></a> call returns <code>true</code>, |
| <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Authorizer.</span><code><span class="memberNameLink"><a href="../Authorizer.html#isPermittedAll(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">isPermittedAll</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> subjectPrincipal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <tt>true</tt> if the corresponding Subject/user implies all of the specified permissions, <tt>false</tt> |
| otherwise.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ModularRealmAuthorizer.</span><code><span class="memberNameLink"><a href="../ModularRealmAuthorizer.html#isPermittedAll(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">isPermittedAll</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if any of the configured realms' |
| <a href="../ModularRealmAuthorizer.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)"><code>ModularRealmAuthorizer.isPermitted(org.apache.shiro.subject.PrincipalCollection, Permission)</code></a> call returns <code>true</code> |
| for <em>all</em> of the specified Permissions, <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleAuthorizationInfo.</span><code><span class="memberNameLink"><a href="../SimpleAuthorizationInfo.html#setObjectPermissions(java.util.Set)">setObjectPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> objectPermissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the object-based permissions assigned directly to the account.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">SimpleRole.</span><code><span class="memberNameLink"><a href="../SimpleRole.html#setPermissions(java.util.Set)">setPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Constructor parameters in <a href="../package-summary.html">org.apache.shiro.authz</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../SimpleRole.html#%3Cinit%3E(java.lang.String,java.util.Set)">SimpleRole</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.authz.permission"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../permission/package-summary.html">org.apache.shiro.authz.permission</a></h3> |
| <table class="useSummary"> |
| <caption><span>Classes in <a href="../permission/package-summary.html">org.apache.shiro.authz.permission</a> that implement <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../permission/AllPermission.html" title="class in org.apache.shiro.authz.permission">AllPermission</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">An all <tt>AllPermission</tt> instance is one that always implies any other permission; that is, its |
| <a href="../permission/AllPermission.html#implies(org.apache.shiro.authz.Permission)"><code>implies</code></a> method always returns <tt>true</tt>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../permission/DomainPermission.html" title="class in org.apache.shiro.authz.permission">DomainPermission</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Provides a base Permission class from which type-safe/domain-specific subclasses may extend.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../permission/WildcardPermission.html" title="class in org.apache.shiro.authz.permission">WildcardPermission</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">A <code>WildcardPermission</code> is a very flexible permission construct supporting multiple levels of |
| permission matching.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../permission/package-summary.html">org.apache.shiro.authz.permission</a> that return <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">PermissionResolver.</span><code><span class="memberNameLink"><a href="../permission/PermissionResolver.html#resolvePermission(java.lang.String)">resolvePermission</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> permissionString)</code></th> |
| <td class="colLast"> |
| <div class="block">Resolves a Permission based on the given String representation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">WildcardPermissionResolver.</span><code><span class="memberNameLink"><a href="../permission/WildcardPermissionResolver.html#resolvePermission(java.lang.String)">resolvePermission</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> permissionString)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new <a href="../permission/WildcardPermission.html" title="class in org.apache.shiro.authz.permission"><code>WildcardPermission</code></a> instance constructed based on the specified |
| <tt>permissionString</tt>.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../permission/package-summary.html">org.apache.shiro.authz.permission</a> that return types with arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">RolePermissionResolver.</span><code><span class="memberNameLink"><a href="../permission/RolePermissionResolver.html#resolvePermissionsInRole(java.lang.String)">resolvePermissionsInRole</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> roleString)</code></th> |
| <td class="colLast"> |
| <div class="block">Resolves a Collection of Permissions based on the given String representation.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../permission/package-summary.html">org.apache.shiro.authz.permission</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AllPermission.</span><code><span class="memberNameLink"><a href="../permission/AllPermission.html#implies(org.apache.shiro.authz.Permission)">implies</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> p)</code></th> |
| <td class="colLast"> |
| <div class="block">Always returns <tt>true</tt>, indicating any Subject granted this permission can do anything.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">WildcardPermission.</span><code><span class="memberNameLink"><a href="../permission/WildcardPermission.html#implies(org.apache.shiro.authz.Permission)">implies</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> p)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.mgt"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../mgt/package-summary.html">org.apache.shiro.mgt</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../mgt/package-summary.html">org.apache.shiro.mgt</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingSecurityManager.</span><code><span class="memberNameLink"><a href="../../mgt/AuthorizingSecurityManager.html#checkPermission(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingSecurityManager.</span><code><span class="memberNameLink"><a href="../../mgt/AuthorizingSecurityManager.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../../mgt/package-summary.html">org.apache.shiro.mgt</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingSecurityManager.</span><code><span class="memberNameLink"><a href="../../mgt/AuthorizingSecurityManager.html#checkPermissions(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">checkPermissions</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingSecurityManager.</span><code><span class="memberNameLink"><a href="../../mgt/AuthorizingSecurityManager.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,java.util.List)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingSecurityManager.</span><code><span class="memberNameLink"><a href="../../mgt/AuthorizingSecurityManager.html#isPermittedAll(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">isPermittedAll</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.realm"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../realm/package-summary.html">org.apache.shiro.realm</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../realm/package-summary.html">org.apache.shiro.realm</a> that return types with arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#getPermissions(org.apache.shiro.authz.AuthorizationInfo)">getPermissions</a></span>​(<a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../realm/package-summary.html">org.apache.shiro.realm</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#checkPermission(org.apache.shiro.authz.Permission,org.apache.shiro.authz.AuthorizationInfo)">checkPermission</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission, |
| <a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#checkPermission(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principal, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermitted(org.apache.shiro.authz.Permission,org.apache.shiro.authz.AuthorizationInfo)">isPermitted</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission, |
| <a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../../realm/package-summary.html">org.apache.shiro.realm</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#checkPermissions(java.util.Collection,org.apache.shiro.authz.AuthorizationInfo)">checkPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions, |
| <a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#checkPermissions(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">checkPermissions</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermitted(java.util.List,org.apache.shiro.authz.AuthorizationInfo)">isPermitted</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions, |
| <a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermitted(org.apache.shiro.subject.PrincipalCollection,java.util.List)">isPermitted</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principals, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermittedAll(java.util.Collection,org.apache.shiro.authz.AuthorizationInfo)">isPermittedAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions, |
| <a href="../AuthorizationInfo.html" title="interface in org.apache.shiro.authz">AuthorizationInfo</a> info)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">AuthorizingRealm.</span><code><span class="memberNameLink"><a href="../../realm/AuthorizingRealm.html#isPermittedAll(org.apache.shiro.subject.PrincipalCollection,java.util.Collection)">isPermittedAll</a></span>​(<a href="../../subject/PrincipalCollection.html" title="interface in org.apache.shiro.subject">PrincipalCollection</a> principal, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.subject"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../subject/package-summary.html">org.apache.shiro.subject</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../subject/package-summary.html">org.apache.shiro.subject</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Subject.</span><code><span class="memberNameLink"><a href="../../subject/Subject.html#checkPermission(org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures this Subject <a href="../Permission.html#implies(org.apache.shiro.authz.Permission)"><code>implies</code></a> the specified <code>Permission</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Subject.</span><code><span class="memberNameLink"><a href="../../subject/Subject.html#isPermitted(org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if this Subject is permitted to perform an action or access a resource summarized by the |
| specified permission.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../../subject/package-summary.html">org.apache.shiro.subject</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Subject.</span><code><span class="memberNameLink"><a href="../../subject/Subject.html#checkPermissions(java.util.Collection)">checkPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Ensures this Subject |
| <a href="../Permission.html#implies(org.apache.shiro.authz.Permission)"><code>implies</code></a> all of the |
| specified permission strings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Subject.</span><code><span class="memberNameLink"><a href="../../subject/Subject.html#isPermitted(java.util.List)">isPermitted</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Checks if this Subject implies the given Permissions and returns a boolean array indicating which permissions |
| are implied.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">Subject.</span><code><span class="memberNameLink"><a href="../../subject/Subject.html#isPermittedAll(java.util.Collection)">isPermittedAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns <code>true</code> if this Subject implies all of the specified permissions, <code>false</code> otherwise.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.subject.support"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../subject/support/package-summary.html">org.apache.shiro.subject.support</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../subject/support/package-summary.html">org.apache.shiro.subject.support</a> with parameters of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">DelegatingSubject.</span><code><span class="memberNameLink"><a href="../../subject/support/DelegatingSubject.html#checkPermission(org.apache.shiro.authz.Permission)">checkPermission</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">DelegatingSubject.</span><code><span class="memberNameLink"><a href="../../subject/support/DelegatingSubject.html#isPermitted(org.apache.shiro.authz.Permission)">isPermitted</a></span>​(<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> permission)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../../subject/support/package-summary.html">org.apache.shiro.subject.support</a> with type arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">DelegatingSubject.</span><code><span class="memberNameLink"><a href="../../subject/support/DelegatingSubject.html#checkPermissions(java.util.Collection)">checkPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean[]</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">DelegatingSubject.</span><code><span class="memberNameLink"><a href="../../subject/support/DelegatingSubject.html#isPermitted(java.util.List)">isPermitted</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">DelegatingSubject.</span><code><span class="memberNameLink"><a href="../../subject/support/DelegatingSubject.html#isPermittedAll(java.util.Collection)">isPermittedAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>> permissions)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section><a id="org.apache.shiro.util"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a> in <a href="../../util/package-summary.html">org.apache.shiro.util</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../../util/package-summary.html">org.apache.shiro.util</a> that return types with arguments of type <a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">PermissionUtils.</span><code><span class="memberNameLink"><a href="../../util/PermissionUtils.html#resolveDelimitedPermissions(java.lang.String,org.apache.shiro.authz.permission.PermissionResolver)">resolveDelimitedPermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> s, |
| <a href="../permission/PermissionResolver.html" title="interface in org.apache.shiro.authz.permission">PermissionResolver</a> permissionResolver)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../Permission.html" title="interface in org.apache.shiro.authz">Permission</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">PermissionUtils.</span><code><span class="memberNameLink"><a href="../../util/PermissionUtils.html#resolvePermissions(java.util.Collection,org.apache.shiro.authz.permission.PermissionResolver)">resolvePermissions</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>> permissionStrings, |
| <a href="../permission/PermissionResolver.html" title="interface in org.apache.shiro.authz.permission">PermissionResolver</a> permissionResolver)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../Permission.html" title="interface in org.apache.shiro.authz">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2004–2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |