Class AbstractAuthenticationBroker

    • Constructor Detail

      • AbstractAuthenticationBroker

        public AbstractAuthenticationBroker​(Broker next)
    • Method Detail

      • removeDestination

        public void removeDestination​(ConnectionContext context,
                                      org.apache.activemq.command.ActiveMQDestination destination,
                                      long timeout)
                               throws Exception
        Description copied from interface: Region
        Used to destroy a destination. This should try to quiesce use of the destination up to the timeout allotted time before removing the destination. This will remove all persistent messages associated with the destination.
        Specified by:
        removeDestination in interface Region
        Overrides:
        removeDestination in class BrokerFilter
        Parameters:
        context - the environment the operation is being executed under.
        destination - what is being removed from the broker.
        timeout - the max amount of time to wait for the destination to quiesce
        Throws:
        Exception - TODO
      • removeConnection

        public void removeConnection​(ConnectionContext context,
                                     org.apache.activemq.command.ConnectionInfo info,
                                     Throwable error)
                              throws Exception
        Description copied from interface: Broker
        A client is disconnecting from the broker.
        Specified by:
        removeConnection in interface Broker
        Overrides:
        removeConnection in class BrokerFilter
        Parameters:
        context - the environment the operation is being executed under.
        error - null if the client requested the disconnect or the error that caused the client to disconnect.
        Throws:
        Exception - TODO
      • refresh

        public void refresh()