Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
parthy #1
Member since Mar 2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: where is the challenge created?
when a jabber client sends a auth to the server, I believe the jabber server must generate a challenge.

something like this:

<challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
cmVhbG09InNvbWVyZWFsbSIsbm9uY2U9Ik9BNk1HOXRFUUdtMmhoIixxb3A9ImF1dGgi
LGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNzCg==
</challenge>

In the case of the sample server provided, where is this generated? Is it possible to change so that I can specify what should go into that challenge tag?

thank you kindly,
parthy
Avatar
Alex #2
Member since Feb 2003 · 4317 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hello,

the challenge is used in SASL authentication. The sevrer example does no SASL auth.  If you look in the SASL namespace in agsXMPP you can see how it works. For the start i would use only SASL plain which is very easy to implement.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS