Management and Configuration Guide (Includes ACM xl) 2005-12

5-34 ProCurve Secure Access 700wl Series Management and Configuration Guide
Configuring Authentication
The following is an example of an XML-RPC authentication request for user Jane with password “easy”
who is logging in from MAC address 00:01:02:03:04:05, and location Marketing:
<?xml version="1.0"?>
<methodCall>
<methodName>authenticate</methodName>
<params>
<param><value><string>jane</string></value></param>
<param><value><string>easyPwd</string></value></param>
<param><value><string>marketing</string></value></param>
<param><value><string>000102030405</string></value></param>
<param><value><string>auth_profile</string></value></param>
<param><value><string> </string></value></param>
</params>
</methodCall>
Note that the password is in clear text, but security is provided by using SSL for transporting the
packet.
The response is defined as follows:
authenticate response (profiles)
The response is a structure that contains name-value pairs as shown in Table 5-18:
Table 5-18. Name/value Pairs Returned by Authenticate Response
Name Type Value and Description
userid string User logon from HP logon page, as passed in authenticate request
authenticate_result integer <i4> 0 = authentication failed
1 = authentication was successful, or no authentication is required
Profiles array of strings An array of strings, each of which contains a profile name and an array
that defines valid times for the profile.
Members are name-value pairs as follows:
profileName string A name that matches a 700wl Series System group name
validTimes string An array of strings that define the times when a user is given the rights
associated with the group.
Members are name-value pairs as follows:
startTime string A time in the format hh:mm:ss that defines the time of day at which
these rights should take effect
stopTime string Time in the format hh:mm:ss that defines the time at which these
rights should cease to be in effect
daysOfWeek string A concatenation of day names separated by colons. Any combination
is valid, but each name may appear only once.
Monday:Tuesday:Wednesday:Thursday:Friday:Saturday:Sunday
startDate string Day of the year in the format YYYY-MM-DD that defines the day of the
year on which these rights should take effect
stopDate string Day of the year in the format YYYY-MM-DD that defines the day of the
year on which these rights should cease to be in effect
hashed_string string Currently not used, but parameter must be present. Can be any string
or a null string.