{"id":2153,"date":"2011-09-07T09:39:00","date_gmt":"2011-09-07T07:39:00","guid":{"rendered":""},"modified":"2023-03-22T12:09:54","modified_gmt":"2023-03-22T11:09:54","slug":"browser-caches-user-authorities-when-using-waffle-security","status":"publish","type":"post","link":"https:\/\/touk.pl\/blog\/2011\/09\/07\/browser-caches-user-authorities-when-using-waffle-security\/","title":{"rendered":"Browser caches user authorities when using Waffle security"},"content":{"rendered":"<p>When using <a href=\"http:\/\/waffle.codeplex.com\/\">Waffle security<\/a> (with <a href=\"http:\/\/static.springsource.org\/spring-security\/site\/\">Spring security<\/a>, in my case) I discovered that both Internet Explorer (9) and Firefox (5) caches authorities bounded to user. I discovered this when I&#8217;ve chagned required user group to access my application and then I added current user to required group but no change. I couldn&#8217;t gain access. After some debugging it appeared that Waffle returns unchanged set of authorities for current user.<br \/>\nReloading browser, tomcat and clearing all caches and data didn&#8217;t work. I&#8217;m sure that Chrome would work neither.<br \/>\nFirefox has convenient way to clear active logins. Click Tools-&gt; Clear recent history -&gt; [check]active logins<\/p>\n<p>Finally I got the solution &#8211; user should logout and login again into windows box&#8230;<\/p>\n<div class=\"blogger-post-footer\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blogger.googleusercontent.com\/tracker\/3430508731490960624-6599995700065544824?l=blog.bartekzdanowski.pl\" alt=\"\" width=\"1\" height=\"1\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"When using Waffle security (with Spring security, in my case) I discovered that both Internet Explorer (9) and&hellip;\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[42],"_links":{"self":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/2153"}],"collection":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/comments?post=2153"}],"version-history":[{"count":5,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions"}],"predecessor-version":[{"id":15466,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions\/15466"}],"wp:attachment":[{"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/media?parent=2153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/categories?post=2153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/touk.pl\/blog\/wp-json\/wp\/v2\/tags?post=2153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}