Download McAfee One Time Password Integration Guide
Transcript
8 Overview of the McAfee OTP APIs Web Services SOAP API <status></status> <keyValueParameter> <key>result</key> <value>UTF-8</value> </keyValueParameter> ... </otpWsRequest> Commands A selection of commands are used for the getOTPOjbect operation. For more information about the Web Service API, please see the Java documentation. Required fields and XML elements For all requests to the Web Service, three fields are required. Table 8-7 Required fields for all commands Field Type Description clientName String Web Service client name. clientPassword String Web Service client password. command String Command to be executed on the McAfee OTP server. The keyValueParameter field is optional. requestAuthAndOTP Request authentication and issuing a one-time password from McAfee OTP. To use this command, use one of these methods: • Send the userName and password. • Send the userName, password, and attribName. • Send the userName, password, and message. Returns: the magic number. Table 8-8 KeyValuePair / xml elements Name (key) Optional Type Description userName No String The userName, as KeyValue object with key userName. password No String The user password, as KeyValue object with key password. attribName Yes String The attribute name that holds the user's challenge value, as KeyValue object with key attribName. message Yes String The message to send to the client. Use $$OTP$$ to insert the one-time password, as KeyValue object with key message. Returns: The magic number as seen in 5.2.3 row 6. 78 McAfee One Time Password Integration Guide