Cisco Cisco Prime Network Services Controller 3.0 Guide Du Développeur

Page de 103
Page 21 
OL-28369-01 
outEvtChannel="fullssl"> 
</aaaLogin> 
 
Note 
The Prime Network Services Controller event channel uses HTTP, so it is neither encrypted nor 
transmitted over SSL. 
Refreshing the Session 
Sessions are refreshed with the aaaRefresh method, using the 47-character cookie obtained either from the 
aaaLogin response or a previous refresh. 
The following code sample shows the method for refreshing a session. 
<aaaRefresh 
inName="admin" 
inPassword="mypasword" 
inCookie="<real_cookie>"/> 
Logging Out of the Session 
The following code sample shows the method for logging out of a session. 
<aaaLogout 
inCookie="<real_cookie>"/> 
Response to a Failed Login 
The following code sample shows the response to a failed login. 
<aaaLogin
 
response="yes" 
cookie="" 
errorCode="551" 
invocationResult="unidentified-fail" 
errorDescr="Authentication failed"> 
</aaaLogin> 
Query Methods for Information Gathering 
Query methods obtain information that includes hierarchy, state, and scope. 
The following sections describe available query methods: 
● 
● 
● 
configResolveDn 
When using configResolveDn, note the following: 
● 
The object specified by the DN is retrieved. 
● 
The specified DN identifies the object instance to be resolved. 
● 
The authentication cookie is received from aaaLogin or aaaRefresh. The inHierarchical attribute (default = 
false), if true, specifies that the results are hierarchical. 
● 
The enumerated values, class IDs, and bit masks are displayed as strings. 
See the example request/response in
.