Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
linenumberstrue
<security>
       <executableAuthorization name="checkHttpUserPass" serviceName="concatArgumentscheckUserPassService" >
               <parameterMapping >
           <mapRow authParam="username" serviceParam="userid"/>
           <mapRow authParam="password" serviceParam="plain_password"/>
           </parameterMapping>                         
               <expectedResult><text>OK</text></expectedResult>
       </executableAuthorization>       
</security>

We should map username and password fields to The username and password parameters are the parameters to input parameters of the authorization service (checkUserPass)

Interface authorization passes the username and password attributes of the server request (see Server Request Example) to checkUserPassService as userid and plain_password parameters.

Then checks the output of the service with "OK" text in the example.

Code Block
languagehtml/xml
titleServer Request Example
linenumberstrue
<request username="mobileuser" password="ileri">

   <job ....>

     ..

     ..

   </job>

</request>

How it works.