000028189 - KB-1173 - Instructions for deploying the Aveksa Sample Event Listener

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028189
Applies ToAffected Versions: All Versions
ResolutionInstructions for deploying the Sample External Listener
--------------------------------------------------------
a) Browse to /usr/bin/tomcat/common/lib on the appliance
b) Copy the file plugins.jar from this location to your local machine (e.g. copy to windows desktop)
c) Browse to Admin--> CR Policies --> Event Handler in the ACM
d) Click the edit button on this screen and upload the plugins.jar obtained in step b)
e) Use "com.aveksa.server.plugins.SampleListener" for the name of the Event Handler Class
f) Hit ok to continue
g) When activities are created either through a revoke in a review or via changing user access directly, then data will be printed out in /usr/bin/tomcat/logs/catalina.out. Note that turning CR approvals would be better for testing this since approvals won't be required thus, eliminating one step for testing.
Following is a sample XML when an item was revoked from a review
<activity-event event-type="Created">
<header type="ChangeActivity" sub-type="Created">
</header>
<body>
<activity creation-date="2008-12-29-05:00" escalation-date="2009-01-01-05:00" notes="" activity-id="3" associated-item-id="1" source-cr-id="1">
<assignee first-name=" " last-name="AveksaAdmin">
</assignee>
<cr-item item-id="1" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="June" last-name="Daviss">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</cr-item>
</activity>
<source-request creation-date="2008-12-29-05:00" cr-id="1" cr-name="User Review for Transfers-1" policy-type="System">
<item item-id="2" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="David" last-name="Murphy">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</item>
<item item-id="1" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="June" last-name="Daviss">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</item>
<actor first-name=" " last-name="AveksaAdmin">
</actor>
<notes>
Created from review User Review for Transfers-1. Comments from reviewer - None </notes>
</source-request>
</body>
</activity-event>
<activity-event event-type="Created">
<header type="ChangeActivity" sub-type="Created">
</header>
<body>
<activity creation-date="2008-12-29-05:00" escalation-date="2009-01-01-05:00" notes="" activity-id="4" associated-item-id="2" source-cr-id="1">
<assignee first-name=" " last-name="AveksaAdmin">
</assignee>
<cr-item item-id="2" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="David" last-name="Murphy">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</cr-item>
</activity>
<source-request creation-date="2008-12-29-05:00" cr-id="1" cr-name="User Review for Transfers-1" policy-type="System">
<item item-id="2" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="David" last-name="Murphy">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</item>
<item item-id="1" operation="Remove" notes="" GrantType="Direct" ReviewComponentState="Revoke" ReviewName="User Review for Transfers-1">
<source>
<user first-name="June" last-name="Daviss">
</user>
</source>
<target>
<ent application-name="Great Plains" resource-name="check_request" action="submit">
</ent>
</target>
</item>
<actor first-name=" " last-name="AveksaAdmin">
</actor>
<notes>
Created from review User Review for Transfers-1. Comments from reviewer - None </notes>
</source-request>
</body>
</activity-event>

Attachments

    Outcomes