| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>org.apache.shiro.authz.aop (Apache Shiro 1.13.0 API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.apache.shiro.authz.aop (Apache Shiro 1.13.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- Matomo --> <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ /* We explicitly disable cookie tracking to avoid privacy issues */ _paq.push(['disableCookies']); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//matomo.privacy.apache.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '2']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Matomo Code --> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/shiro/authz/annotation/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/shiro/authz/permission/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/authz/aop/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.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> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.shiro.authz.aop</h1> |
| <div class="docSummary"> |
| <div class="block">Contains AOP implementation support classes specifically used for authorization operations, particularly supporting |
| AOP Method Interceptors and JSR-175 metadata Annotations.</div> |
| </div> |
| <p>See: <a href="#package.description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AnnotationsAuthorizingMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">AnnotationsAuthorizingMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">An <tt>AnnotationsAuthorizingMethodInterceptor</tt> is a MethodInterceptor that asserts a given method is authorized |
| to execute based on one or more configured <tt>AuthorizingAnnotationMethodInterceptor</tt>s.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AuthenticatedAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">AuthenticatedAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">Handles <a href="../../../../../org/apache/shiro/authz/annotation/RequiresAuthentication.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresAuthentication</code></a> annotations and ensures the calling subject is |
| authenticated before allowing access.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AuthenticatedAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">AuthenticatedAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresAuthentication.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresAuthenticated</code></a> annotation |
| is declared, and if so, ensures the calling |
| <code>Subject</code>.<a href="../../../../../org/apache/shiro/subject/Subject.html#isAuthenticated--"><code>isAuthenticated()</code></a> before invoking |
| the method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AuthorizingAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">AuthorizingAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">An AnnotationHandler that executes authorization (access control) behavior based on directive(s) found in a |
| JSR-175 Annotation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AuthorizingAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">AuthorizingAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">An <tt>AnnotationMethodInterceptor</tt> that asserts the calling code is authorized to execute the method |
| before allowing the invocation to continue by inspecting code annotations to perform an access control check.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/AuthorizingMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">AuthorizingMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Basic abstract class to support intercepting methods that perform authorization (access control) checks.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/GuestAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">GuestAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresGuest.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresGuest</code></a> annotation |
| is declared, and if so, ensures the calling <code>Subject</code> does <em>not</em> |
| have an <a href="../../../../../org/apache/shiro/subject/Subject.html#getPrincipal--"><code>identity</code></a> before invoking the method.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/GuestAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">GuestAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresGuest.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresGuest</code></a> annotation |
| is declared, and if so, ensures the calling <code>Subject</code> does <em>not</em> |
| have an <a href="../../../../../org/apache/shiro/subject/Subject.html#getPrincipal--"><code>identity</code></a> before invoking the method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/PermissionAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">PermissionAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresPermissions.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresPermissions</code></a> annotation is |
| declared, and if so, performs a permission check to see if the calling <code>Subject</code> is allowed continued |
| access.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/PermissionAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">PermissionAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresPermissions.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresPermissions</code></a> annotation is declared, and if so, performs |
| a permission check to see if the calling <code>Subject</code> is allowed to call the method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/RoleAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">RoleAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresRoles.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresRoles</code></a> annotation is declared, and if so, performs |
| a role check to see if the calling <code>Subject</code> is allowed to proceed.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/RoleAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">RoleAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresRoles.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresRoles</code></a> annotation is declared, and if so, performs |
| a role check to see if the calling <code>Subject</code> is allowed to invoke the method.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/UserAnnotationHandler.html" title="class in org.apache.shiro.authz.aop">UserAnnotationHandler</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresUser.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresUser</code></a> annotation |
| is declared, and if so, ensures the calling <code>Subject</code> is <em>either</em> |
| <a href="../../../../../org/apache/shiro/subject/Subject.html#isAuthenticated--"><code>authenticated</code></a> <b><em>or</em></b> remembered via remember |
| me services before allowing access.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/shiro/authz/aop/UserAnnotationMethodInterceptor.html" title="class in org.apache.shiro.authz.aop">UserAnnotationMethodInterceptor</a></td> |
| <td class="colLast"> |
| <div class="block">Checks to see if a @<a href="../../../../../org/apache/shiro/authz/annotation/RequiresUser.html" title="annotation in org.apache.shiro.authz.annotation"><code>RequiresUser</code></a> annotation |
| is declared, and if so, ensures the calling <code>Subject</code> is <em>either</em> |
| <a href="../../../../../org/apache/shiro/subject/Subject.html#isAuthenticated--"><code>authenticated</code></a> <b><em>or</em></b> remembered via remember |
| me services before invoking the method.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package.description"> |
| <!-- --> |
| </a> |
| <h2 title="Package org.apache.shiro.authz.aop Description">Package org.apache.shiro.authz.aop Description</h2> |
| <div class="block">Contains AOP implementation support classes specifically used for authorization operations, particularly supporting |
| AOP Method Interceptors and JSR-175 metadata Annotations.</div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/shiro/authz/annotation/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/shiro/authz/permission/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/shiro/authz/aop/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.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> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2004–2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |