The moose likes JForum and the fly likes SSO and Email-Update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "SSO and Email-Update" Watch "SSO and Email-Update" New topic

SSO and Email-Update

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hi. I have the same problem described in:

When Users changes an emailadress in my Website-Profile, how can I tell JForum about the new emailadress?


[originally posted on by steuergorilla]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
You will have to use some custom SSO code. Basically, in the authenticateUser method, you will need to check if the existing jForum information matches your SSO providers info and update the jForum info if needed.

An alternative, but more complex, method is to look at writing your own UserDAO implementation that populates the User object from a combination of the jForum_User table and your SSO user information data.
[originally posted on by monroe]
Don't get me started about those stupid light bulbs.
subject: SSO and Email-Update
It's not a secret anymore!