Hi Martin, thanks for the explanation.
After some further research we identified the reason for the problem. Shiro 1.3.2 has a bug, explained here: https://issues.apache.org/jira/browse/SHIRO-637. In case, there is no session any more, Shiro calls to getSession(false) returned a cached Session instead of returning null. This problem is fixed with 1.4. We will update Shiro to fix this problem. Thanks for your help. Kind regards PATRICK SCHWARZER SOFTWARE ENGINEER o +49 89 32175 655 TOMTEC Imaging Systems GmbH Edisonstrasse 6, 85716 Unterschleissheim, Germany, Managing Director: Johannes Waldinger, Dr. Thomas Piehler, HRB 235646 Amtsgericht Muenchen [cid:image001.jpg@01D4EAF3.85ED4920]<http://www.tomtec.de/>