Class | Description |
---|---|
PluginContext |
PluginContext represents a plugin's relevent configuration information, including target/account info, OPAM operation info, requestor info, HTTP response status (post-plugin only) and HTTP response entity (post-plugin only).
The Oracle Privileged Account Manager server creates the PluginContext object during plug-in invocation and sends it to the plug-in. For target and account JSON format information see OPAM Administrator's Guide Appendx B, Working with Oracle Privileged Account Manager's RESTful Interface Operation object will have the following JSON format: {"resourceType": RESOURCE_TYPE, "operationName":OPERATION_NAME} Requestor object will look like this: {"requestor": REQUESTOR, "requestorGroups":[REQUESTOR_GROUP1, REQUESTOR_GROUP2]} HTTP response status (post-plugin only) follows the standard format (ex, 200 on operation success, 401 on insufficient privilege etc.) HTTP response entity (post-plugin only) contains the result returned by OPAM Rest API. |
PluginResult |
PluginResult contains the information for plugin execution status, error message (if applicable), modifiable request JSON body and user-defined log.
|