<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Extending Seam Components</title>
	<atom:link href="http://blog.laststation.net/2007/10/14/extending-seam-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.laststation.net/2007/10/14/extending-seam-components/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Nov 2009 04:24:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: laststation.net &#187; Blog Archive &#187; Generic JSF Converter for Seam</title>
		<link>http://blog.laststation.net/2007/10/14/extending-seam-components/#comment-35</link>
		<dc:creator>laststation.net &#187; Blog Archive &#187; Generic JSF Converter for Seam</dc:creator>
		<pubDate>Sun, 16 Nov 2008 18:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://laststation.net/2007/10/14/extending-seam-components/#comment-35</guid>
		<description>[...] is quite straightforward, following the same principles as I&#8217;ve shown in the post Extending Seam components. It&#8217;s important to keep this component stateless (or at least bound them to EVENT scope) to [...]</description>
		<content:encoded><![CDATA[<p>[...] is quite straightforward, following the same principles as I&#8217;ve shown in the post Extending Seam components. It&#8217;s important to keep this component stateless (or at least bound them to EVENT scope) to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M. Bilal Fazal</title>
		<link>http://blog.laststation.net/2007/10/14/extending-seam-components/#comment-33</link>
		<dc:creator>M. Bilal Fazal</dc:creator>
		<pubDate>Tue, 06 May 2008 08:31:05 +0000</pubDate>
		<guid isPermaLink="false">http://laststation.net/2007/10/14/extending-seam-components/#comment-33</guid>
		<description>Hi!
Nice article.
Leo: You can access new method by cast the Identity.instance() down to CustomIdentity.

But i still face a problem accessing the method of CustomIdenity in pages.xml like this







How can i tell seam to properly cast identity to CustomIdentiy. Can anyone help.

thanks</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Nice article.<br />
Leo: You can access new method by cast the Identity.instance() down to CustomIdentity.</p>
<p>But i still face a problem accessing the method of CustomIdenity in pages.xml like this</p>
<p>How can i tell seam to properly cast identity to CustomIdentiy. Can anyone help.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Genoese</title>
		<link>http://blog.laststation.net/2007/10/14/extending-seam-components/#comment-34</link>
		<dc:creator>John Genoese</dc:creator>
		<pubDate>Mon, 24 Mar 2008 14:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://laststation.net/2007/10/14/extending-seam-components/#comment-34</guid>
		<description>Perhaps Identity.instance() is returning the original Seam class, in which newProp is not defined. Have you tried adding an instance method to your class and using &quot;YourClass.instance()&quot; instead? I&#039;m a newbie myself, but if this helps, I&#039;m glad.</description>
		<content:encoded><![CDATA[<p>Perhaps Identity.instance() is returning the original Seam class, in which newProp is not defined. Have you tried adding an instance method to your class and using &#8220;YourClass.instance()&#8221; instead? I&#8217;m a newbie myself, but if this helps, I&#8217;m glad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://blog.laststation.net/2007/10/14/extending-seam-components/#comment-31</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Wed, 27 Feb 2008 04:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://laststation.net/2007/10/14/extending-seam-components/#comment-31</guid>
		<description>Hello,

I am trying to do something similar to what Nuno did. I extended Identity so that I can add a new attribute that I need to use in Authenticator.authenticate.  The code looks pretty much the same, except that I am extending identity. The issue am having is that the getNewProp (below) is not recognized as part of Identity, which I thought it would:

String sUsername = Identity.instance().getUsername();
String sPassword = Identity.instance().getPassword();
String sNewProp = Identity.instance().getNewProp();

Do I need to make other changes for this to happen?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am trying to do something similar to what Nuno did. I extended Identity so that I can add a new attribute that I need to use in Authenticator.authenticate.  The code looks pretty much the same, except that I am extending identity. The issue am having is that the getNewProp (below) is not recognized as part of Identity, which I thought it would:</p>
<p>String sUsername = Identity.instance().getUsername();<br />
String sPassword = Identity.instance().getPassword();<br />
String sNewProp = Identity.instance().getNewProp();</p>
<p>Do I need to make other changes for this to happen?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nuno Caneco</title>
		<link>http://blog.laststation.net/2007/10/14/extending-seam-components/#comment-32</link>
		<dc:creator>Nuno Caneco</dc:creator>
		<pubDate>Fri, 22 Feb 2008 16:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://laststation.net/2007/10/14/extending-seam-components/#comment-32</guid>
		<description>Thank you for this great article.
I&#039;ve used this mechanism on my new application and it worked just fine.

In my case, I used it not to implement another login mechanism, but to add more fields to the authentication process. On my application, the user must authenticate with username, password and location id (which will be automatically filled in the future).

This is my version of the extended class:

@Name(&quot;org.jboss.seam.security.identity&quot;)
@Scope(ScopeType.SESSION)
@Install(precedence=Install.APPLICATION)
@BypassInterceptors
@Startup
public class MyExtendedIdentity extends RuleBasedIdentity {

private Integer posId;

public MyExtendedIdentity() {
	super();
}

public Integer getPosId() {
	return posId;
}

public void setPosId(Integer posId) {
	this.posId = posId;
}
}

Newbies, don&#039;t forget to add the default constructor to your extended class.

Another remark is that I am using Drools for the authorization process. So, I had to extend my class from org.jboss.seam.security.RuleBasedIdentity and not org.jboss.seam.security.Identity.</description>
		<content:encoded><![CDATA[<p>Thank you for this great article.<br />
I&#8217;ve used this mechanism on my new application and it worked just fine.</p>
<p>In my case, I used it not to implement another login mechanism, but to add more fields to the authentication process. On my application, the user must authenticate with username, password and location id (which will be automatically filled in the future).</p>
<p>This is my version of the extended class:</p>
<p>@Name(&#8220;org.jboss.seam.security.identity&#8221;)<br />
@Scope(ScopeType.SESSION)<br />
@Install(precedence=Install.APPLICATION)<br />
@BypassInterceptors<br />
@Startup<br />
public class MyExtendedIdentity extends RuleBasedIdentity {</p>
<p>private Integer posId;</p>
<p>public MyExtendedIdentity() {<br />
	super();<br />
}</p>
<p>public Integer getPosId() {<br />
	return posId;<br />
}</p>
<p>public void setPosId(Integer posId) {<br />
	this.posId = posId;<br />
}<br />
}</p>
<p>Newbies, don&#8217;t forget to add the default constructor to your extended class.</p>
<p>Another remark is that I am using Drools for the authorization process. So, I had to extend my class from org.jboss.seam.security.RuleBasedIdentity and not org.jboss.seam.security.Identity.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
