Table Of Contents
SecurityApp Service
Information About SecurityApp Service
createSessionId
getAuthorizedInterfaces
getAuthorizedOperations
getAuthorizedVrfs
SecurityApp Service
This chapter describes the DCNM web services' API methods for the SecurityApp service.
Information About SecurityApp Service
Security services provide the various functions related to DCNM server access control. Access control allows you to control who is allowed access to DCNM server resources and what services they are allowed to access. Typically, users are assigned an ID number (session ID) and password that allows them to access information and to perform operations within their authority. The API categories are as follows:
•
Query/Get APIs—Query security related information (authorized operations) from the persistent database.
•
Create APIs—Create new application user.
•
Modify APIs—Modify basic attributes of existing application user.
•
Delete APIs—Delete existing application user.
createSessionId
This operation creates and returns the session Id for the current user.This method is available for Cisco Nexus 7000 Series switches that run Cisco NX-OS Release 5.0(3) or later.
Parameters
aOpContext—the operational context.
Return Value
Session ID String.
getAuthorizedInterfaces
This method is available for Cisco Nexus 7000 Series switches that run Cisco NX-OS Release 5.0(3) or later.
Parameters
Return Value
getAuthorizedOperations
Returns a list of list of authorized operations for the specified application user, interface name, and network elements.This method is available for Cisco Nexus 7000 Series switches that run Cisco NX-OS Release 5.0(3) or later.
Parameters
aApplicationUserNameId - the instance name id of the application user.
aNeNameIds - the list of instance name ids of the network elements.
aInterfaceName - the interface name. E.g. com.cisco.dcbu.dcm.app.ethernet.aaa.AaaApp for AAA interface.
Return Value
A list of list operation signatures for the specified application user, interface name, and network elements.
getAuthorizedVrfs
This method is available for Cisco Nexus 7000 Series switches that run Cisco NX-OS Release 5.0(3) or later.
Parameters
Return Value