You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2017/10/10 16:49:00 UTC

[jira] [Commented] (AMQ-6832) LoginModule#logout is never called

    [ https://issues.apache.org/jira/browse/AMQ-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198943#comment-16198943 ] 

Christopher L. Shannon commented on AMQ-6832:
---------------------------------------------

For now you can either create your own JAAS broker plugin or extend the existing one.
Take a look at: https://github.com/apache/activemq/blob/activemq-5.15.1/activemq-broker/src/main/java/org/apache/activemq/security/JaasAuthenticationBroker.java

You could extend that class, override the removeConnection() method and then add a call to logout().

Also if you wanted to take a shot as fixing this contributions are always welcome.

> LoginModule#logout is never called
> ----------------------------------
>
>                 Key: AMQ-6832
>                 URL: https://issues.apache.org/jira/browse/AMQ-6832
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: jaas
>    Affects Versions: 5.14.2
>            Reporter: Christoph Läubrich
>
> I currently develop an own LoginModule and have noticed that even if the connection is closed and the whole client-process is stopped the LoginModule#logout() method seems to be never called.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)