Example to create custom AuthProvider

Any one who want to make their own AuthProvider Implementation: This example may be helpful.

See the attached MyAuthProvider.java:

**Configuring openfire.xml to use your custom AuthProvider make entry like this in openfire.xml

MyAuthProvider.java (1176 Bytes)

I want to add email ID as user name in openfire. I’m able to add manually. however when i add the user email in the add to groups roster, it throes an error stating that admin\405cexample.com does not exist. which file in the source code should I modify in order to resolve this problem…openfire works fine with just the usernames before the @ symbol. I’m using SQL 2000 on server 2003 with openfire 3.5.2 and spark as client.