shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdem...@apache.org
Subject [1/3] shiro-site git commit: Fix minor issue with code examples on session management screen
Date Thu, 22 Jun 2017 20:21:55 GMT
Repository: shiro-site
Updated Branches:
  refs/heads/master 5a9931e92 -> c09402b26


Fix minor issue with code examples on session management screen

https://issues.apache.org/jira/browse/SHIRO-622

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

Branch: refs/heads/master
Commit: 80e2db60b8d2f342308b8ffc73820c996f449a33
Parents: b80842a
Author: KamBha <kamal.bhatt@gmail.com>
Authored: Tue May 9 08:17:03 2017 +1000
Committer: GitHub <noreply@github.com>
Committed: Tue May 9 08:17:03 2017 +1000

----------------------------------------------------------------------
 session-management.md.vtl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/shiro-site/blob/80e2db60/session-management.md.vtl
----------------------------------------------------------------------
diff --git a/session-management.md.vtl b/session-management.md.vtl
index 0dacbc3..81b307f 100644
--- a/session-management.md.vtl
+++ b/session-management.md.vtl
@@ -87,9 +87,9 @@ Session session = currentUser.getSession();
 session.setAttribute( "someKey", someValue);
 ```
 
-The `subject.getSession()` method is a shortcut for calling `currentUser.getSubject(true)`.
+The `currentUser.getSession()` method is a shortcut for calling `currentUser.getSubject(true)`.
 
-For those familiar with `HttpServletRequest` API, the `Suject.getSession(boolean create)`
method functions the same way as the `HttpServletRequest.getSession(boolean create)` method:
+For those familiar with `HttpServletRequest` API, the `Subject.getSession(boolean create)`
method functions the same way as the `HttpServletRequest.getSession(boolean create)` method:
 
 *   If the `Subject` already has a `Session`, the boolean argument is ignored and the `Session`
is returned immediately
 *   If the `Subject` does not yet have a `Session` and the `create` boolean argument is `true`,
a new session will be created and returned.


Mime
View raw message