Versions Compared

Key

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

...

Code Block
languagehtml/xml
linenumberstrue
<communication>
     <httpInterface authorizationName="checkHttpUserPass" hostname="localhost" port="1655"/>
</communication>

Use an authorization policy by referencing its identifier in interface definition.

We assume that there is an authorization policy named: checkHttpUserPass. Use an authorization policy by referencing its identifier in interface definition.: 

Code Block
languagehtml/xml
linenumberstrue
<security>
       <executableAuthorization name="checkHttpUserPass" serviceName="concatArguments" >
               <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

Code Block



<request username="mobileuser" password="ileri">

&nbsp;&nbsp; <job ....>

&nbsp;&nbsp; &nbsp; &nbsp;..

&nbsp;&nbsp; &nbsp; &nbsp;..

&nbsp;&nbsp; </job>

</request>

How it works.

WorkflowDocumentation.png

Reference to authorization policy.