Hi, I tried "Remember Me" functionality here: http://tynamo-federatedaccounts.tynamo.org/ (live demo webapp) but the user isn't remembered.
When I check the "Remember Me" checkbox and login, the cookie "rememberMe" is created. After I close the browser and reopen it again I'm not logged in. Am I missing something here? I'm struggling with the creation of the "rememberMe" cookie. This is my Login.java: public Object onActionFromJsecLoginForm() { Subject currentUser = securityService.getSubject(); if (currentUser == null) { throw new IllegalStateException("Subject can`t be null"); } UsernamePasswordToken token = new UsernamePasswordToken(jsecLogin, jsecPassword); token.setRememberMe(true); try { currentUser.login(token); } ... } This is taken from shiro documentation ( https://shiro.apache.org/authentication.html): //Example using most common scenario of username/password pair:UsernamePasswordToken token = new UsernamePasswordToken(username, password); //"Remember Me" built-in:token.setRememberMe(true); However, the cookie "rememberMe" isn't created :-/. What am I missing? Regards, Lidija