This content has been marked as final.
Show 6 replies
-
1. Re: WebSSO - ClassCastException on JBoss AS 5.1
anil.saldhana Feb 12, 2010 3:39 PM (in response to bernard.tison)Did you configure the SAML Login Module? That is important for AS. -
2. Re: WebSSO - ClassCastException on JBoss AS 5.1
bernard.tison Feb 14, 2010 11:45 PM (in response to anil.saldhana)Anil,
Yes i did.
But if I got it right, the ClassCastException happens before the login module is called. The ClassCastException happens at line 235 in the org.picketlink.identity.federation.bindings.tomcat.sp.SPPostFormAuthenticator, while the login module is called at line 238.
if((new ServerDetector()).isJboss() || jbossEnv) { GenericPrincipal gp = (GenericPrincipal) principal; //Push a context ServiceProviderSAMLContext.push(username, Arrays.asList(gp.getRoles())); principal = context.getRealm().authenticate(username, password); ServiceProviderSAMLContext.clear(); }
Bernard
-
3. Re: WebSSO - ClassCastException on JBoss AS 5.1
anil.saldhana Feb 22, 2010 11:59 PM (in response to bernard.tison)I can take a look next week as I am currently travelling for the last few days. -
4. Re: WebSSO - ClassCastException on JBoss AS 5.1
anil.saldhana Mar 3, 2010 3:32 PM (in response to anil.saldhana)Bernard, I see what the issue and I have a fix for it. Release 1.0.3 will be shortly and will have the fix. -
5. Re: WebSSO - ClassCastException on JBoss AS 5.1
bernard.tison Mar 3, 2010 5:47 PM (in response to anil.saldhana)Anil,
thx for looking into this.
Looking forward to the next release.
Bernard
-
6. Re: WebSSO - ClassCastException on JBoss AS 5.1
anil.saldhana Mar 8, 2010 3:29 PM (in response to bernard.tison)http://community.jboss.org/wiki/CheatsheetPicketLinkandJBossAS
No special configuration needed. Two zip files applied to JBAS should get the samples on display.