shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdem...@apache.org
Subject [02/12] shiro-site git commit: Links wrong class
Date Fri, 04 May 2018 19:27:28 GMT
Links wrong class

The link points to AuthorizationException not AuthenticationException.

Project: http://git-wip-us.apache.org/repos/asf/shiro-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro-site/commit/0c045d07
Tree: http://git-wip-us.apache.org/repos/asf/shiro-site/tree/0c045d07
Diff: http://git-wip-us.apache.org/repos/asf/shiro-site/diff/0c045d07

Branch: refs/heads/master
Commit: 0c045d07c89c25458cf05308a720b905600f0677
Parents: d656e5a
Author: Björn Raupach <raupach@me.com>
Authored: Tue Aug 8 09:51:03 2017 +0200
Committer: GitHub <noreply@github.com>
Committed: Tue Aug 8 09:51:03 2017 +0200

----------------------------------------------------------------------
 authentication.md.vtl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro-site/blob/0c045d07/authentication.md.vtl
----------------------------------------------------------------------
diff --git a/authentication.md.vtl b/authentication.md.vtl
index 289bf36..8a6025a 100644
--- a/authentication.md.vtl
+++ b/authentication.md.vtl
@@ -95,7 +95,7 @@ If the `login` method returns quietly, that's it - we're done! The `Subject`
has
 
 But what happens if the login attempt failed? For example, what if the end-user supplied
an incorrect password, or accessed the system too many times and maybe their account is locked?
 
-Shiro has a rich runtime [`AuthenticationException`](static/current/apidocs/org/apache/shiro/authz/AuthorizationException.html)
hierarchy that can indicate exactly why the attempt failed. You can wrap `login` in a `try/catch`
block and catch any exception you wish and react to them accordingly. For example:
+Shiro has a rich runtime [`AuthenticationException`](static/current/apidocs/org/apache/shiro/authc/AuthenticationException.html)
hierarchy that can indicate exactly why the attempt failed. You can wrap `login` in a `try/catch`
block and catch any exception you wish and react to them accordingly. For example:
 
 ``` java
 try {


Mime
View raw message