This is an automated email from the ASF dual-hosted git repository.

lprimak pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new bc5a6d23a update
bc5a6d23a is described below

commit bc5a6d23a5e24292983ee94bed6a3dbf556998f1
Author: lprimak <[email protected]>
AuthorDate: Sun Oct 11 01:12:43 2026 -0500

    update
---
 .well-known/security.txt |  2 +-
 authorization.html       | 14 +++++++-------
 feed.xml                 |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/.well-known/security.txt b/.well-known/security.txt
index 405a4c9cb..3cbbf75af 100644
--- a/.well-known/security.txt
+++ b/.well-known/security.txt
@@ -1,5 +1,5 @@
 Contact: mailto:[email protected]
-Expires: 2027-10-11T06:06:47Z
+Expires: 2027-10-11T06:12:30Z
 Preferred-Languages: en
 Canonical: https://shiro.apache.org/.well-known/security.txt
 Policy: https://shiro.apache.org/security-reports.html
\ No newline at end of file
diff --git a/authorization.html b/authorization.html
index 99bd6df71..daa972743 100644
--- a/authorization.html
+++ b/authorization.html
@@ -240,7 +240,7 @@
 <li><a href="#Authentication-AuthorizingSubjects">Authorizing Subjects</a>
 <ul class="sectlevel2">
 <li><a 
href="#Authentication-AuthorizingSubjects-ProgrammaticAuthorization">Programmatic
 Authorization</a></li>
-<li><a 
href="#Authentication-AuthorizingSubjects-NotationBasedAuthorization">Notation-based
 Authorization</a></li>
+<li><a 
href="#Authentication-AuthorizingSubjects-AnnotationBasedAuthorization">Annotation-based
 Authorization</a></li>
 <li><a href="#Authentication-AuthorizingSubjects-JSPTagLibAuthorization">JSP 
TagLib Authorization</a></li>
 </ul>
 </li>
@@ -799,12 +799,12 @@ openBankAccount();</code></pre>
 </div>
 </div>
 <div class="sect2">
-<h3 
id="Authentication-AuthorizingSubjects-NotationBasedAuthorization">Notation-based
 Authorization</h3>
+<h3 
id="Authentication-AuthorizingSubjects-AnnotationBasedAuthorization">Annotation-based
 Authorization</h3>
 <div class="paragraph">
 <p>In addition to the <code>Subject</code> API calls, Shiro provides a 
collection of Java 5+ annotations if you prefer meta-based authorization 
control.</p>
 </div>
 <div class="sect3">
-<h4 
id="Authentication-AuthorizingSubjects-NotationBasedAuthorization-Configuration">Configuration</h4>
+<h4 
id="Authentication-AuthorizingSubjects-AnnotationBasedAuthorization-Configuration">Configuration</h4>
 <div class="paragraph">
 <p>Before you can use Java annotations, you&#8217;ll need to enable AOP 
support in your application. There are a number of different AOP frameworks so, 
unfortunately, there is no standard way to enable AOP in an application.</p>
 </div>
@@ -819,7 +819,7 @@ openBankAccount();</code></pre>
 </div>
 </div>
 <div class="sect3">
-<h4 
id="Authentication-AuthorizingSubjects-NotationBasedAuthorization-TheRequiresAuthenticationAnnotation">The
 <code>RequiresAuthentication</code> annotation</h4>
+<h4 
id="Authentication-AuthorizingSubjects-AnnotationBasedAuthorization-TheRequiresAuthenticationAnnotation">The
 <code>RequiresAuthentication</code> annotation</h4>
 <div class="paragraph">
 <p>The <a 
href="static/current/apidocs/org/apache/shiro/authz/annotation/RequiresAuthentication.html">RequiresAuthentication</a>
 annotation requires the current <code>Subject</code> to have been 
authenticated during their current session for the annotated 
class/instance/method to be accessed or invoked.</p>
 </div>
@@ -853,7 +853,7 @@ public void updateAccount(Account userAccount) {
 </div>
 </div>
 <div class="sect3">
-<h4 
id="Authentication-AuthorizingSubjects-NotationBasedAuthorization-TheRequiresGuestAnnotation">The
 <code>RequiresGuest</code> annotation</h4>
+<h4 
id="Authentication-AuthorizingSubjects-AnnotationBasedAuthorization-TheRequiresGuestAnnotation">The
 <code>RequiresGuest</code> annotation</h4>
 <div class="paragraph">
 <p>The <a 
href="static/current/apidocs/org/apache/shiro/authz/annotation/RequiresGuest.html">RequiresGuest</a>
 annotation requires the current Subject to be a "guest", that is, they are not 
authenticated or remembered from a previous session for the annotated 
class/instance/method to be accessed or invoked.</p>
 </div>
@@ -914,7 +914,7 @@ public void createAccount(Account account) {
 <div class="content">
 <pre class="highlightjs highlight"><code class="language-java hljs" 
data-lang="java">public void createAccount(Account account) {
     Subject currentUser = SecurityUtils.getSubject();
-    if (!subject.isPermitted("account:create")) {
+    if (!currentUser.isPermitted("account:create")) {
         throw new AuthorizationException(...);
     }
 
@@ -925,7 +925,7 @@ public void createAccount(Account account) {
 </div>
 </div>
 <div class="sect3">
-<h4 
id="Authentication-AuthorizingSubjects-NotationBasedAuthorization-TheRequiresRolesPermission">The
 <code>RequiresRoles</code> permission</h4>
+<h4 
id="Authentication-AuthorizingSubjects-AnnotationBasedAuthorization-TheRequiresRolesPermission">The
 <code>RequiresRoles</code> permission</h4>
 <div class="paragraph">
 <p>The <a 
href="static/current/apidocs/org/apache/shiro/authz/annotation/RequiresRoles.html">RequiresRoles</a>
 annotation requires the current Subject to have all of the specified roles. If 
they do not have the role(s), the method will not be executed and an 
AuthorizationException is thrown.</p>
 </div>
diff --git a/feed.xml b/feed.xml
index f3322b9fe..c379b4436 100644
--- a/feed.xml
+++ b/feed.xml
@@ -4,7 +4,7 @@
   <subtitle>Simple. Java. Security.</subtitle>
   <link href="https://shiro.apache.org/"/>
   <link rel="self" href="https://shiro.apache.org/feed.xml"; />
-  <updated>2026-10-11T06:06:48Z</updated>
+  <updated>2026-10-11T06:12:31Z</updated>
 
   <author>
     <name>Les Hazlewood</name>

Reply via email to