public class DefaultAuditEventListener extends java.lang.Object implements AuditPluginEventListener
AuditPluginEventListener
presented as a
sample of using IT manager Audit plugin. The listener logs all the events to a
log file.PLUGINNAME
Constructor and Description |
---|
DefaultAuditEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
export(ExportAuditEvent e)
Called after an IT manager export a VPN.
|
net.juniper.smgt.sae.plugin.PluginEventListener |
init(java.lang.String name,
java.util.Properties prop)
init is called to initialize the PluginEventListener.
|
void |
managerLogin(ManagerLoginAuditEvent e)
Called after an IT manager logs into the ESP.
|
void |
managerLogout(ManagerLogoutAuditEvent e)
Called after an IT manager logs out from the ESP.
|
void |
shutdown()
Shutdown will be called when administrator disables the ESPAudit plugin by
removing the Plugin.ESPAudit.class property from ESP configuration in directory
|
void |
subscribe(SubscribeAuditEvent e)
Called after an IT manager subscribes a service.
|
void |
unexport(UnexportAuditEvent e)
Called after an IT manager unexport a VPN.
|
void |
unsubscribe(UnsubscribeAuditEvent e)
Called after an IT manager unsubscribes a service.
|
void |
updateServiceOpState(ServiceOpStateAuditEvent e)
Called after an IT manager changes the operational state of a
|
void |
updateSubscriber(SubscriberUpdateAuditEvent e)
Called after an IT manager changes parameter substitutions of a subscriber object.
|
void |
updateSubscription(SubscriptionUpdateAuditEvent e)
Called after an IT manager updates a subscription, including changing parameter
substitutions, changing the administrative state or suspending/resuming the subscription
|
public void managerLogin(ManagerLoginAuditEvent e)
AuditPluginEventListener
managerLogin
in interface AuditPluginEventListener
e
- a ManagerLoginAuditEvent
AuditPluginEventListener.managerLogin(ManagerLoginAuditEvent)
public void managerLogout(ManagerLogoutAuditEvent e)
AuditPluginEventListener
managerLogout
in interface AuditPluginEventListener
e
- a ManagerLogoutAuditEvent
AuditPluginEventListener.managerLogout(ManagerLogoutAuditEvent)
public void subscribe(SubscribeAuditEvent e)
AuditPluginEventListener
subscribe
in interface AuditPluginEventListener
e
- a SubscribeAuditEvent
that contains the id of the subscribed subscriptionAuditPluginEventListener.subscribe(SubscribeAuditEvent)
public void unsubscribe(UnsubscribeAuditEvent e)
AuditPluginEventListener
unsubscribe
in interface AuditPluginEventListener
e
- a UnsubscribeAuditEvent
that contains the subscription id that was unsubscribedAuditPluginEventListener.unsubscribe(UnsubscribeAuditEvent)
public void export(ExportAuditEvent e)
AuditPluginEventListener
export
in interface AuditPluginEventListener
e
- a ExportAuditEvent
that contains the id of the exported vpnAuditPluginEventListener.export(ExportAuditEvent)
public void unexport(UnexportAuditEvent e)
AuditPluginEventListener
unexport
in interface AuditPluginEventListener
e
- a UnexportAuditEvent
that contains the vpn id that was unexportednet.juniper.smgt.ent.plugin.AuditPluginEventListener#unexportAuditEvent)
public void updateSubscription(SubscriptionUpdateAuditEvent e)
AuditPluginEventListener
updateSubscription
in interface AuditPluginEventListener
e
- a SubscriptionUpdateAuditEvent
AuditPluginEventListener.updateSubscription(SubscriptionUpdateAuditEvent)
public void updateSubscriber(SubscriberUpdateAuditEvent e)
AuditPluginEventListener
updateSubscriber
in interface AuditPluginEventListener
e
- a SubscriberUpdateAuditEvent
AuditPluginEventListener.updateSubscriber(SubscriberUpdateAuditEvent)
public void updateServiceOpState(ServiceOpStateAuditEvent e)
AuditPluginEventListener
updateServiceOpState
in interface AuditPluginEventListener
e
- a ServiceOpStateAuditEvent
AuditPluginEventListener.updateServiceOpState(ServiceOpStateAuditEvent)
public net.juniper.smgt.sae.plugin.PluginEventListener init(java.lang.String name, java.util.Properties prop)
init
in interface net.juniper.smgt.sae.plugin.PluginEventListener
name
- Prefix for finding properties in the properties object.
Properties for this plugin are named "Plugin.prop
- Property object containing system configuration data.PluginEventListener.init(String, Properties)
public void shutdown()
shutdown
in interface net.juniper.smgt.sae.plugin.PluginEventListener
PluginEventListener.shutdown()