Actually, this one specifically was a bug in the demo site. The corresponding Jira ticket:
http://jira.broadleafcommerce.org/browse/BLC-646 and the fix:
https://github.com/BroadleafCommerce/De ... 1d8#diff-0So essentially, modify applicationContext-admin-security.xml to have this for the sec:logout element:
Code: Select all
<sec:logout invalidate-session="true" logout-url="/adminLogout.htm" logout-success-url="/blcadmin/login.jsp"/>
The logout-success-url was previously set to "/admin.html", which requires user login, but the session is invalid so it redirects to "/admin.html", which requires user login, but the session... etc etc thus getting into an infinite loop. Making that change should resolve it.