Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

why must e-mail addresses be unique?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
reply
    Bookmark Topic Watch Topic
  • New Topic