[JDEV] 0.7 Proposed Protocol Changes

Ryan Eatmon reatmon at ti.com
Mon Sep 27 16:14:09 CDT 1999


> --> Query the server to authenticate: extensible for future uses, returns
> receipt of success or failure. Example use of IQ to authenticate with the
> server and create a session resource:
>   <iq>
>     <target>server</target>
>     <type>auth</type>
>     <set><user>jeremie</user><pass>foobar</pass><res>Jer</res></set>
>   </iq>


I like this style of query better than what is done now.  But make sure
that the server responds to the above auth attempt.  Something like one
of the two below:

   <iq>
     <type>auth</type>
     <result>Login Successful</login>
   </iq>

or

  <iq>
    <type>auth</type>
    <result>Login Failed</result>
  </iq>


-- 

Ryan Eatmon                reatmon at ti.com
-----------------------------------------
Mixed Signal Product Development EDA Team




More information about the JDev mailing list