Java Program And Command For Requests - Extreme Networks Sentriant AG Software User's Manual

Hide thumbs Also See for Sentriant AG:
Table of Contents

Advertisement

API
<TemporarilyDenyAccessRequest>
<requestParameters>
<entry>
<string>DURATION</string>
<int>10</int>
</entry>
<entry>
<string>EXTERNAL_QUARANTINE_PRODUCT_ID</string>
<string>StrataGuard</string>
</entry>
<entry>
<string>EXTERNAL_QUARANTINE_INSTANCE_NAME</string>
<string>Warehouse Monitor</string>
</entry>
<entry>
<string>EXTERNAL_QUARANTINE_REASONS</string>
<list>
<string>WEB-CLIENT Microsoft ANI file parsing overflow</string>
<string>DOS Ipswitch WS_FTP log server long unicode string</string>
</list>
</entry>
<entry>
<string>DEVICE_LIST</string>
<list>
<DeviceType>
<ip>10.1.102.2</ip>
</DeviceType>
</list>
</entry>
</requestParameters>
</TemporarilyDenyAccessRequest>
------------------------------------------------------------------------
NOTE
The EXTERNAL_QUARANTINE_PRODUCT_ID entry in the previous post-connect example is configured in the
connector.properties file. See

Java Program and Command for Requests

Sentriant AG ships with a sample shell script that invokes Java code that can be used to send JMS
requests. Invoke the program by entering the following command:
sendRequest.sh [-u broker URL] [-t topicName] [-l login -p password] -f <request.xml>
Where:
broker URL—The URL of the JMS message bus. If not specified, it defaults to
localhost:61616
topicName—The topic on which events are published. By default, all Sentriant AG events are
published on the topic nac.events
login and password—Not set by default
-f <request.xml>
page
267.
270
"Adding Post-connect System Logos and Icons" on page 117
—An XML file that contains requests as shown in
for more information.
tcp://
"Examples of Requests" on
Sentriant AG Software Users Guide, Version 5.3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag 5.3

Table of Contents