Please suggest, if it is possible to make email-id (like abc@test.com) as username while creating a new account in my Ejabberd server, I am using smack client apis and getting Bad request(400) while doing above.
Please suggest, if it is possible to make email-id (like abc@test.com) as username while creating a new account in my Ejabberd server, I am using smack client apis and getting Bad request(400) while doing above.
jid = [ node "@" ] domain [ "/" resource ]
node = 1*(nodepoint)
; a "nodepoint" is a UTF-8 encoded Unicode code
; point that satisfies the Nodeprep profile of
; stringprep
A node identifier MUST be formatted such that the Nodeprep profile of [STRINGPREP] can be applied without failing (see Appendix A).
Username cannot contain @
Hi All,
Please suggest, if it is possible to make email-id (likeabc@test.com ) as username while creating a new account in my Ejabberd server, I am using smack client apis and getting Bad request(400) while doing above.
A node identifier MUST be formatted such that the Nodeprep profile of [STRINGPREP] can be applied without failing (see Appendix A).
And the prohibited U+0040 (COMMERCIAL AT) is what you wanted to use: @
It seems XMPP-Core allows in a username the characters # and %, for example. Maybe you can use those characters: abc%test.com@jabber.example.org.
Thanks
Thanks for your reply...