File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes SSO cookies not being read Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "SSO cookies not being read" Watch "SSO cookies not being read" New topic
Author

SSO cookies not being read

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Can you please help me with my error with implementing sso on version 2.1.6

I have set the SystemGlobal.properties

authentication.type = sso
sso.implementation = net.jforum.sso.MyUserSSO

In MyUserSSO authenticateUser method I want to read the cookie I set in my app, but my set cookie is never seen by Jforum.

I verify that the cookie is set in my App and then I click the link to Jforum and don�۪t see any cookies beside JSessionID

My cookie that I am checking for has a null path and domain value.


Please help.

[originally posted on jforum.net by skinsFan]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Is the cookie path correct? I mean, it is visible to where JForum is?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The cookie path is null. Do I need to set it for Jforum to read it?
[originally posted on jforum.net by skinsFan]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSO cookies not being read