You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bd...@apache.org on 2016/05/19 04:17:53 UTC
shiro git commit: Adding cipherKey doc string to web sample
Repository: shiro
Updated Branches:
refs/heads/master 64d9f8341 -> e109f816f
Adding cipherKey doc string to web sample
Project: http://git-wip-us.apache.org/repos/asf/shiro/repo
Commit: http://git-wip-us.apache.org/repos/asf/shiro/commit/e109f816
Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/e109f816
Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/e109f816
Branch: refs/heads/master
Commit: e109f816fca73176efbfafdac3b73dfd160e9603
Parents: 64d9f83
Author: bdemers <bd...@apache.org>
Authored: Wed May 18 23:16:05 2016 -0400
Committer: bdemers <bd...@apache.org>
Committed: Wed May 18 23:28:25 2016 -0400
----------------------------------------------------------------------
samples/guice/src/main/webapp/WEB-INF/shiro.ini | 4 ++--
samples/web/src/main/webapp/WEB-INF/shiro.ini | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/shiro/blob/e109f816/samples/guice/src/main/webapp/WEB-INF/shiro.ini
----------------------------------------------------------------------
diff --git a/samples/guice/src/main/webapp/WEB-INF/shiro.ini b/samples/guice/src/main/webapp/WEB-INF/shiro.ini
index 10dec1d..db453e7 100644
--- a/samples/guice/src/main/webapp/WEB-INF/shiro.ini
+++ b/samples/guice/src/main/webapp/WEB-INF/shiro.ini
@@ -24,8 +24,8 @@
[main]
shiro.loginUrl = /login.jsp
-# we need to set the cipherKey, so the rememberMe cookie
-# will work after restarting the web app
+# We need to set the cipherKey, if you want the rememberMe cookie to work after restarting or on multiple nodes.
+# YOU MUST SET THIS TO A UNIQUE STRING
securityManager.rememberMeManager.cipherKey = kPH+bIxk5D2deZiIxcaaaA==
[users]
http://git-wip-us.apache.org/repos/asf/shiro/blob/e109f816/samples/web/src/main/webapp/WEB-INF/shiro.ini
----------------------------------------------------------------------
diff --git a/samples/web/src/main/webapp/WEB-INF/shiro.ini b/samples/web/src/main/webapp/WEB-INF/shiro.ini
index c06ec68..c527347 100644
--- a/samples/web/src/main/webapp/WEB-INF/shiro.ini
+++ b/samples/web/src/main/webapp/WEB-INF/shiro.ini
@@ -23,8 +23,8 @@
[main]
listener = org.apache.shiro.config.event.LoggingBeanEventListener
-# we need to set the cipherKey, so the rememberMe cookie
-# will work after restarting the web app
+# We need to set the cipherKey, if you want the rememberMe cookie to work after restarting or on multiple nodes.
+# YOU MUST SET THIS TO A UNIQUE STRING
securityManager.rememberMeManager.cipherKey = kPH+bIxk5D2deZiIxcaaaA==
shiro.loginUrl = /login.jsp