It&#39;s very easy to create a custom authentication module for Seam. In my organization, we&#39;ve created a simple module which will check the session for an existing user object. Just have to put it on your classpath and edit the components.xml to use your class as its authenticator. Perhaps something like this will work for you?<br>
<br>Cheers,<br><br>Paul<br>
<br>import org.jboss.seam.security.Identity;<br>import <a href="http://org.jboss.seam.annotations.Name" target="_blank">org.jboss.seam.annotations.Name</a>;<br>import org.jboss.seam.contexts.Contexts;<br><br>@Name(&quot;customAuthenticator&quot;)<br>

public class CustomAuthenticator {<br>   <br>    public boolean authenticate() {<br>        <br>        User userBean = (User) Contexts.getSessionContext()<br>                .get(&quot;SESSIONID&quot;);<br><br>        if (userBean == null || userBean.getUsername() == null) {<br>

            <a href="http://log.info" target="_blank">log.info</a>( &quot;No Session&quot; );<br>            return false;<br>        } else {<br>            <a href="http://log.info" target="_blank">log.info</a>( &quot;Setting username to &quot; + userBean.getUsername() );<br>

            Identity.instance().getCredentials().setUsername( userBean.getUsername() );<br>            return true;<br>        }<br>    }<br>}<br><br><br><br><div class="gmail_quote">2009/12/9 Sahid Khan (সাহিদ) <span dir="ltr">&lt;<a href="mailto:sahidkhn@gmail.com" target="_blank">sahidkhn@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I have couple of web applications other than Guvnor deployed in JBoss.<br>
I use jboss single sign on [1] for authentication. But guvnor does not<br>
seem to be working. I believe there are some issues with JBoss Seam<br>
and JBoss SSO. But is there any work around to integrate JBoss SSO<br>
with Guvnor? Please help.<br>
<br>
1. <a href="http://www.jboss.org/community/wiki/JBossWebSingleSignOn" target="_blank">http://www.jboss.org/community/wiki/JBossWebSingleSignOn</a><br>
<br>
Thanks in advance,<br>
<font color="#888888">--<br>
Sahid.<br>
Argue with idiots, and you become an idiot. - PG<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>