[jdev] The `XMPP as a social network` idea

h8h at dev-nu11.de h8h at dev-nu11.de
Sun Feb 8 19:51:13 UTC 2015


> I am truly sorry but my mother forbids me to feed you.

Sry pal, wrong password, let me try it again:

```
You: <iq type='error' id='auth2'>
           <error code='401' type='auth'>
               <not-authorized 
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
           </error>
       </iq>

Me:   <iq type='get' to='local.home' id='auth1'>
           <query xmlns='jabber:iq:auth'>
              <username>h8h</username>
           </query>
       </iq>

You: <iq type='result' id='auth1'>
           <query xmlns='jabber:iq:auth'>
               <username/>
               <password/>
               <digest/>
               <resource/>
           </query>
       </iq>

Me: <iq type='set' id='auth2'>
           <query xmlns='jabber:iq:auth'>
               <username>me</username>
               <password>i_<3_ur_mother</password>
               <resource>mob</resource>
           </query>
       </iq>
```

Hope this helps and I get tacos from your mother. Thanks so far!


More information about the JDev mailing list