Deactivate and Reactivate Security on Signals
The listing below disables authentication and entitlement when AMPS receives the USR1
signal. When AMPS receives the USR2
signal, AMPS re-enables authentication and entitlement. This configuration is, in effect, the configuration that AMPS installs by default for these signals.
<Actions>
<Action>
<On>
<Module>amps-action-on-signal</Module>
<Options>
<Signal>SIGUSR1</Signal>
</Options>
</On>
<Do>
<Module>amps-action-do-disable-authentication</Module>
</Do>
<Do>
<Module>amps-action-do-disable-entitlement</Module>
</Do>
</Action>
<Action>
<On>
<Module>amps-action-on-signal</Module>
<Options>
<Signal>SIGUSR2</Signal>
</Options>
</On>
<Do>
<Module>amps-action-do-enable-authentication</Module>
</Do>
<Do>
<Module>amps-action-do-enable-entitlement</Module>
</Do>
</Action>
</Actions>
PreviousCopy Messages that Exceed a Timeout to a Different TopicNextReset Entitlements for a Disconnected Client
Last updated