• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Change of email users using SSO authentication

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic