This Question is Not Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
2 Replies Last post: Jul 1, 2008 4:06 AM by woodybrains  
woodybrains Bronze 3 posts since
Apr 21, 2008
Currently Being Moderated

Jul 1, 2008 12:49 AM

How to add/modify email-id as username in Openfire /jabberserver

I have deployed openfire with spark on server 2003. I'm able to add users and maintain the DB in sql server 2000. The deployment is successful when the user names added is any name before the @ symbol of the email ID. eg:

/* Entry for admin user */

INSERT INTO jiveUser (username, plainPassword, name, email, creationDate,  modificationDate)

  VALUES ('admin', 'admin', 'Administrator', 'admin@example.com', '0',  '0');

 

I want to add email ID as user name. The table value in the database if I manually add the email ID is admin\40example.com where the @ is replaced by the \40. similarly the add user to group feature (which is used to populate users to groups returns admin\405cexample.com is unacceptable or some error.

 

I have the source code which I'm trying to rebuild with the corrected code with Eclipse IDE on JDK 1.5.

 

there is only one part which says "create users" in the source code, which I have attached. Kindly help me on which part of the code I should change in order to resolve the issue. ie to fix the email ID as username problem. I have attached the user.java and group.java as txt files.

 

Java knowledge: beginner

 

Thanks in advance

Attachments:
Vishu Silver 80 posts since
Apr 22, 2008
Currently Being Moderated
Jul 1, 2008 2:59 AM in response to: woodybrains
Re: How to add/modify email-id as username in Openfire /jabberserver

 

Frist of all tell following Question answer

 

 

Which auth provider you are currently using? You can use POP3AuthProvider if you want to authtication from POP3 mail server. 

 

 

 

 

More Like This

  • Retrieving data ...