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/a144c5b3 Tree: http://git-wip-us.apache.org/repos/asf/shiro/tree/a144c5b3 Diff: http://git-wip-us.apache.org/repos/asf/shiro/diff/a144c5b3 Branch: refs/heads/1.2.x Commit: a144c5b33814c8f88de963110fb6f14d5be4bae1 Parents: d628a1a Author: bdemers <[email protected]> Authored: Wed May 18 23:16:05 2016 -0400 Committer: bdemers <[email protected]> Committed: Wed May 18 23:16:05 2016 -0400 ---------------------------------------------------------------------- samples/web/src/main/webapp/WEB-INF/shiro.ini | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/shiro/blob/a144c5b3/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 5034565..60ff990 100644 --- a/samples/web/src/main/webapp/WEB-INF/shiro.ini +++ b/samples/web/src/main/webapp/WEB-INF/shiro.ini @@ -23,6 +23,10 @@ [main] shiro.loginUrl = /login.jsp +# 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] # format: username = password, role1, role2, ..., roleN root = secret,admin
