<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments for OcpSoft</title> <atom:link href="http://ocpsoft.com/comments/feed/" rel="self" type="application/rss+xml" /><link>http://ocpsoft.com</link> <description>&#34;Simple Software&#34;</description> <lastBuildDate>Sat, 13 Mar 2010 17:57:39 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Comment on Improving Community &#8211; The power of good, centralized documentation. by Dominik</title><link>http://ocpsoft.com/opensource/improving-community-the-power-of-good-centralized-documentation/comment-page-1/#comment-1292</link> <dc:creator>Dominik</dc:creator> <pubDate>Sat, 13 Mar 2010 17:57:39 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=1141#comment-1292</guid> <description>Modularize JBOSS Seam and provide Maven poms for the various parts.E.g. I really want to use JBoss Seams Mail component with JSF2/JavaEE6 (glassfish) but don&#039;t want to go for the whole framework just because of this.</description> <content:encoded><![CDATA[<p>Modularize JBOSS Seam and provide Maven poms for the various parts.</p><p>E.g. I really want to use JBoss Seams Mail component with JSF2/JavaEE6 (glassfish) but don&#8217;t want to go for the whole framework just because of this.</p> ]]></content:encoded> </item> <item><title>Comment on Persist and pass FacesMessages over multiple page redirects by Lincoln</title><link>http://ocpsoft.com/java/persist-and-pass-facesmessages-over-page-redirects/comment-page-1/#comment-1289</link> <dc:creator>Lincoln</dc:creator> <pubDate>Wed, 10 Mar 2010 15:23:38 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=15#comment-1289</guid> <description>You could add a check to see if the message already exists. Only add the message if it is not already present in the list.</description> <content:encoded><![CDATA[<p>You could add a check to see if the message already exists. Only add the message if it is not already present in the list.</p> ]]></content:encoded> </item> <item><title>Comment on Persist and pass FacesMessages over multiple page redirects by Kaja</title><link>http://ocpsoft.com/java/persist-and-pass-facesmessages-over-page-redirects/comment-page-1/#comment-1288</link> <dc:creator>Kaja</dc:creator> <pubDate>Wed, 10 Mar 2010 08:49:04 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=15#comment-1288</guid> <description>for (Iterator iter = facesContext.getMessages(null); iter.hasNext();) {
messages.add(iter.next());
iter.remove();
}iter.remove(); doesn&#039;t work on MyFaces, it&#039;s probably because MyFaces return copy of collection so you remove item from copy not from orginal collection.First message is saved in INVOKE_APPLICATION, second in RENDER_RESPONSE and also there is orginal message in facesContext so I get 3 same messages on page after all.</description> <content:encoded><![CDATA[<p>for (Iterator iter = facesContext.getMessages(null); iter.hasNext();) {<br
/> messages.add(iter.next());<br
/> iter.remove();<br
/> }</p><p>iter.remove(); doesn&#8217;t work on MyFaces, it&#8217;s probably because MyFaces return copy of collection so you remove item from copy not from orginal collection.</p><p>First message is saved in INVOKE_APPLICATION, second in RENDER_RESPONSE and also there is orginal message in facesContext so I get 3 same messages on page after all.</p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Pamela</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1287</link> <dc:creator>Pamela</dc:creator> <pubDate>Tue, 09 Mar 2010 23:22:35 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1287</guid> <description>Do you think it&#039;s possible to utilize taglibs/tld file in order to create URL protection?I&#039;m currently using JSF 1.2 so I can utilize a tld file that would have security tag defined.If you could give me a quick example, that&#039;d really be fabulous.Thanks~!</description> <content:encoded><![CDATA[<p>Do you think it&#8217;s possible to utilize taglibs/tld file in order to create URL protection?</p><p>I&#8217;m currently using JSF 1.2 so I can utilize a tld file that would have security tag defined.</p><p>If you could give me a quick example, that&#8217;d really be fabulous.</p><p>Thanks~!</p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Lincoln</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1276</link> <dc:creator>Lincoln</dc:creator> <pubDate>Fri, 05 Mar 2010 19:29:40 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1276</guid> <description>Unfortunately, there is no example, sorry. This was all taken out of:http://ocpsoft.com/scrumshark/ , but you can download the sources for that and take a look.http://code.google.com/p/ocpsoft-tools/</description> <content:encoded><![CDATA[<p>Unfortunately, there is no example, sorry. This was all taken out of:</p><p><a
href="http://ocpsoft.com/scrumshark/" rel="nofollow">http://ocpsoft.com/scrumshark/</a> , but you can download the sources for that and take a look.</p><p><a
href="http://code.google.com/p/ocpsoft-tools/" rel="nofollow">http://code.google.com/p/ocpsoft-tools/</a></p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Pamela</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1274</link> <dc:creator>Pamela</dc:creator> <pubDate>Fri, 05 Mar 2010 13:41:09 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1274</guid> <description>By Hello World, I meant your Basic Login example presented in this article and the previous one.Sorry if I confused you in any way.Thanks!</description> <content:encoded><![CDATA[<p>By Hello World, I meant your Basic Login example presented in this article and the previous one.</p><p>Sorry if I confused you in any way.</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Pamela</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1270</link> <dc:creator>Pamela</dc:creator> <pubDate>Thu, 04 Mar 2010 21:12:10 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1270</guid> <description>BTW where can I download your HelloWorld example?</description> <content:encoded><![CDATA[<p>BTW where can I download your HelloWorld example?</p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Lincoln</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1269</link> <dc:creator>Lincoln</dc:creator> <pubDate>Thu, 04 Mar 2010 17:07:35 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1269</guid> <description>No problem. You&#039;d do something very similar. You&#039;d want to create a JSF Action Method in a JSF Managed Bean - something like:public class MyBean {
public boolean isUserGrantedAccess()
{...}
}This method would check the logged in user&#039;s preferences, permissions, the state of the system or whatever logic needed.Then you would disable or render the link by referencing that action method in your Facelet view.&lt;h:commandButton ... rendered=&quot;#{myBean.userGrantedAccess}&quot;/&gt;Notice the &quot;is&quot; should be omitted. See &quot;JEE Unified Expression Language Syntax&quot; for more details on that.</description> <content:encoded><![CDATA[<p>No problem. You&#8217;d do something very similar. You&#8217;d want to create a JSF Action Method in a JSF Managed Bean &#8211; something like:</p><p>public class MyBean {<br
/> public boolean isUserGrantedAccess()<br
/> {&#8230;}<br
/> }</p><p>This method would check the logged in user&#8217;s preferences, permissions, the state of the system or whatever logic needed.</p><p>Then you would disable or render the link by referencing that action method in your Facelet view.</p><p>&lt;h:commandButton &#8230; rendered=&quot;#{myBean.userGrantedAccess}&quot;/&gt;</p><p>Notice the &#8220;is&#8221; should be omitted. See &#8220;JEE Unified Expression Language Syntax&#8221; for more details on that.</p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Pamela</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1268</link> <dc:creator>Pamela</dc:creator> <pubDate>Thu, 04 Mar 2010 15:37:36 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1268</guid> <description>How about when I want to hide certain links/buttons for certain users? Would I go thru a similar process, or something different.Sorry, I&#039;m fairly new to this whole programming in Spring Security.Thanks for your response, Lincoln. :)</description> <content:encoded><![CDATA[<p>How about when I want to hide certain links/buttons for certain users? Would I go thru a similar process, or something different.</p><p>Sorry, I&#8217;m fairly new to this whole programming in Spring Security.</p><p>Thanks for your response, Lincoln. <img
src='http://ocpsoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>Comment on Spring Security &#8211; What happens after /you/ log in? by Lincoln</title><link>http://ocpsoft.com/java/jsf-java/spring-security-what-happens-after-you-log-in/comment-page-1/#comment-1267</link> <dc:creator>Lincoln</dc:creator> <pubDate>Thu, 04 Mar 2010 15:29:40 +0000</pubDate> <guid
isPermaLink="false">http://ocpsoft.com/?p=64#comment-1267</guid> <description>I usually defer to the non-filter security mechanisms for such use-cases. PrettyFaces allows you to do just that with URL actions. In the action you would check the user&#039;s credentials / business scenario and decide whether or not to continue to process and render, or redirect to a different page. There are other ways, but... this is one.&lt;a href=&quot;http://ocpsoft.com/prettyfaces/&quot; rel=&quot;nofollow&quot;&gt;http://ocpsoft.com/prettyfaces/&lt;/a&gt;</description> <content:encoded><![CDATA[<p>I usually defer to the non-filter security mechanisms for such use-cases. PrettyFaces allows you to do just that with URL actions. In the action you would check the user&#8217;s credentials / business scenario and decide whether or not to continue to process and render, or redirect to a different page. There are other ways, but&#8230; this is one.</p><p><a
href="http://ocpsoft.com/prettyfaces/" rel="nofollow">http://ocpsoft.com/prettyfaces/</a></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Served from: apache2-blow.brewers.dreamhost.com @ 2010-03-14 13:33:47 by W3 Total Cache -->