-
30. Re: GateIn + OpenAM 9.5.2
macois Sep 14, 2011 5:44 AM (in response to macois)I would like to add an information.
Be careful of the cookie domain ! This is set in openam configuration : the openam serve and the gatein app have to share the same sup-domain.
-
31. Re: GateIn + OpenAM 9.5.2
skin123 Oct 12, 2011 9:57 AM (in response to macois)Ok I found the problem !
it is situated into class OpenSSOAgent (http://anonsvn.jboss.org/repos/gatein/components/sso/tags/1.0.1-GA/agent/src/main/java/org/gatein/sso/agent/opensso/OpenSSOAgent.java).
The bug appears during ticket validation, in method "loadAttributes" you split response by "\n", into linux, it works, but into windows, the line separator is "\r\n". You need to use system property "line.separator" to split response:
response.split(System.getProperty("line.separator"))
-
32. Re: GateIn + OpenAM 9.5.2
macois Oct 12, 2011 2:16 PM (in response to skin123)Okay !
Good point, well done !
Do you have recompiled the agent or commit the solution please ?
Thanks,
Macois.
-
33. Re: GateIn + OpenAM 9.5.2
skin123 Oct 12, 2011 3:05 PM (in response to macois)I have proposed a patch to the gatein team.
If you want i can send you the agent recompiled
Clément
-
34. Re: GateIn + OpenAM 9.5.2
macois Oct 12, 2011 4:24 PM (in response to macois)HI
I'm ok to receive the agent recompiled !
Thanks a lot !
-
35. Re: GateIn + OpenAM 9.5.2
macois Nov 3, 2011 10:15 AM (in response to macois)If anyone is interesting in OpenAM, I wrote a post in french (more general) :
http://blog.ineat-conseil.fr/2011/11/proteger-ses-applications-jee-avec-openam/
Don't hesitate to share to me your remarks !
F.
-
36. Re: GateIn + OpenAM 9.5.2
skin123 Nov 3, 2011 9:50 AM (in response to macois)Great !
verry good job !
-
37. Re: GateIn + OpenAM 9.5.2
mposolda Nov 4, 2011 10:15 AM (in response to skin123)@Balaÿ Clément: Patch for line separator has been applied and it's fixed in SSO 1.1.0-GA , which was released today. You can find it here https://repository.jboss.org/nexus/content/groups/public/org/gatein/sso/sso-packaging/1.1.0-GA/ . Thanks!
@macois: Looks like an interesting article. Sad for me, that it's in French, I am not able to read it...
Marek