This content has been marked as final.
Show 3 replies
-
1. Re: NPE in GenericPrincipal
edgoquist Mar 5, 2009 12:43 PM (in response to edgoquist)The error was in my LoginProvider of course. I wasn't calling role.setName(). You can move along now, nothing to see here.... thank you.
-
2. Re: NPE in GenericPrincipal
anil.saldhana Mar 8, 2009 12:11 PM (in response to edgoquist)http://anil-identity.blogspot.com/2009/02/jboss-identity-community-platform_27.html
JBoss Identity has web sso for JBAS/tomcat. Check it out. -
3. Re: NPE in GenericPrincipal
edgoquist Mar 9, 2009 11:23 AM (in response to edgoquist)Thanks Anil. That looks really cool but it turns out that I don't need the full-blown federation stuff - I just need a one-time, cross-application login on the same server. And i can accomplish that by simply tuning on the Valve:
<Host name="localhost" ...> ... <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> ... </Host>
More info at: http://tomcat.apache.org/tomcat-5.5-doc/config/host.htm
thanks.
BTW, It would be handy to include a JDBC version of a LoginProvider to go along with the LDAP one that's provided in the sample.