{"id":61,"date":"2006-09-12T12:41:12","date_gmt":"2006-09-12T17:41:12","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/acegi-sitemesh\/"},"modified":"2011-03-10T10:57:31","modified_gmt":"2011-03-10T15:57:31","slug":"acegi-sitemesh","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/acegi-sitemesh\/","title":{"rendered":"Acegi Sitemesh"},"content":{"rendered":"<p>To use the acegi authz:authentication tag in a sitemesh decorator, you have to <a href=\"http:\/\/www.acegisecurity.org\/docbook\/acegi.html#filters\">watch the order in which you declare the filters<\/a> (acegi first).<\/p>\n<p>But, this wasn&#8217;t my problem.  My problem was that my sitemesh decorator included the taglib declarations, but it included header.jspf with<\/p>\n<blockquote><p><code>&lt;jsp:include page=\"\/includes\/footer.jspf\"\/&gt;<\/code><\/p><\/blockquote>\n<p>instead of<\/p>\n<blockquote><p><code>&lt;%@ include file=\"\/includes\/footer.jspf\"%&gt;<\/code><\/p><\/blockquote>\n<p>  So I needed to either re-declare the taglibs or switch my include style.<\/p>\n<p>(By the way, the best way to understand the authz:authentication tag is to read the AuthenticationTag source.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use the acegi authz:authentication tag in a sitemesh decorator, you have to watch the order in which you declare the filters (acegi first). But, this wasn&#8217;t my problem. My problem was that my sitemesh decorator included the taglib declarations, but it included header.jspf with &lt;jsp:include page=&#8221;\/includes\/footer.jspf&#8221;\/&gt; instead of &lt;%@ include file=&#8221;\/includes\/footer.jspf&#8221;%&gt; So I needed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}