This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shiro-site.git
The following commit(s) were added to refs/heads/master by this push:
new faea3ef Update java-authentication-guide.md.vtl
new d1b229a Merge pull request #46 from superhq/patch-1
faea3ef is described below
commit faea3ef025e5e92d60b9c43b810ab970e691d20d
Author: HongQun <[email protected]>
AuthorDate: Fri Jul 19 16:54:34 2019 +0800
Update java-authentication-guide.md.vtl
---
java-authentication-guide.md.vtl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java-authentication-guide.md.vtl b/java-authentication-guide.md.vtl
index 1876d54..4948c82 100644
--- a/java-authentication-guide.md.vtl
+++ b/java-authentication-guide.md.vtl
@@ -123,7 +123,7 @@ So although many parts of the application can still perform
user-specific logic
For example, a check to see if a subject can access financial information
should almost always depend on `isAuthenticated()`, not `isRemembered()`, to
guarantee a verified identity.
-Here is a scenario to help illustrate why the the distinction between
isAuthenticated and isRemembered is important.
+Here is a scenario to help illustrate why the distinction between
isAuthenticated and isRemembered is important.
Let's say you're using Amazon.com. You log in and you add some books to your
shopping cart. A day goes by. Of course your user session has expired and
you've been logged out. But Amazon "remembers" you, greets you by name, and is
still giving you personalized book recommendations. To Amazon, `isRemembered()`
would return `TRUE`. What happens if you try to use one of the credit cards on
file or change your account information? While Amazon "remembers" you,
`isRemembered() = TRUE`, it is n [...]