• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

why must e-mail addresses be unique?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm looking at migrating an existing board to JForum. One issue is, our existing users can have multiple accounts with the same e-mail address. I see this is not allowed in JForum, and I'm trying to understand why. I've looked at the source code somewhat, and I see that GenericUserDAO.findByEmail() returns a single user. I can modify this to return a List easily enough, but I'm trying to understand the use of this method and the consequences of changing it. It's called by POPPostAction.findUsers(), which is called by POPPostAction.insertMessages() which is called by POPListener.execute() - a job scheduled in Quartz. OK. But I'm not getting a sense of what these messages are for, or why it's (currently) necessary that there be only one user per e-mail address. Am I asking for trouble if I change this to allow multiple users per e-mail? Any insight would be appreciated. Thanks...


[originally posted on jforum.net by jryingst]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps this should have been in Questions, since this isn't (to my knowledge) something being actively worked on for mainstream JForum; it's something I'm trying to customize for our version. Though it seems like a new feature that others could use, if it can work. If a moderator could move this to the appropriate forum, that would be appreciated.
[originally posted on jforum.net by jryingst]
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic