wood burning stoves 2.0*
The moose likes JForum and the fly likes Problem getting email/password from session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Problem getting email/password from session" Watch "Problem getting email/password from session" New topic
Author

Problem getting email/password from session

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Greetings - I am trying to integrate jforum into my own web site, using the sso login feature.

I set the following session variables in my login routine:
String password ="somepassword";
session.setAttribute("sso.password.attribute", password);
session.setAttribute("sso.email.attribute", "my@testemail.com");

After my login routine, I have a link to the jforum page.
Inside ControllerUtils.checkSSO(), the following statement return 'NULL' email and password values:
String email = (String) session.getAttribute(SystemGlobals.getValue(ConfigKeys.SSO_EMAIL_ATTRIBUTE));
String password = (String) session.getAttribute(SystemGlobals.getValue(ConfigKeys.SSO_PASSWORD_ATTRIBUTE));

--

I was wondering if jforum sets these to null sometime after I login using my routine, and checkSSO() is called?

Just wondering if anyone has run into that?

(Note: I can get other login objects I set at the same time )

Thanks for the help,
Curt
[originally posted on jforum.net by curtc]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem getting email/password from session
 
Similar Threads
sso(my app) 1stuser login and logout 2nd user login it show Connected users:1st login userinfo
Using JForum SSO - a kludger's tale
SSO and New User
reason for createZip and createClassesJar being commented out
Control Panel admin URL is missing