Hi,
I am trying openfire's in-band account registration. My openfire is 3.8.1 and client is Strophe's register plugin via http bind BOSH.
I have enabled this feature in admin console, and the messages received from server are
<stream:features><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mech anism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mech anism></mechanisms><compression xmlns='http://jabber.org/features/compress'><method>zlib</method></compression><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></stream:features>
The Server does not support In-Band Registration.
It seems server does not support registration(does not contain "register" in <stream:features>).I have also tried login using Spark 2.6.3, and the messages sent from server are:
<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mech anism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mech anism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
It has "register" in <stream:feature>, so I do not know whether there is anything wrong with my setting or not. Any ideas? Thanks in advice.
Another question is if I want to send custom IQ to get some custom information before login, Can I only login as Anonymous in SASL first? Or there are other ways to this? Does In-band Registration also use the same mechanism?
Many Thanks,
Walker