permaculture playing cards*
The moose likes JForum and the fly likes Change of email users using SSO authentication 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 "Change of email users using SSO authentication" Watch "Change of email users using SSO authentication" New topic
Author

Change of email users using SSO authentication

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello, greetings to all

How do I change the email to a User (not administrator) when I SSO authentication???

I can change the email of users by admistrador, but for the normal users jforum saves but does not change ...

Ideally get the email of the User within the value of the cookie, so my class CookieUserSSO interpret and also insert the information in the profile of the user logged

Since already I thank the contributions!
[originally posted on jforum.net by danielBaccin]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
To solve this problem by creating a method (authenticateEmail) in my class CookieUserSSO.

In another class: ControllerUtils, I made a change in method checkSSO, to use the method above and also enter the email when the first authentication.

It was functional, but if someone has another more elegant please share ...

Thanks!
[originally posted on jforum.net by danielBaccin]
 
Don't get me started about those stupid light bulbs.
 
subject: Change of email users using SSO authentication