[
https://issues.apache.org/jira/browse/KARAF-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197079#comment-15197079
]
ASF GitHub Bot commented on KARAF-4423:
---------------------------------------
GitHub user CodingFabian opened a pull request:
https://github.com/apache/karaf/pull/164
[KARAF-4423] Jaas AutoEncryption support can correctly shutdown and i…
…s only started when needed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CodingFabian/karaf KARAF-4423
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/karaf/pull/164.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #164
----
commit 4dbfd34bbc170d26e63f215a40d3464f8dda94b7
Author: Fabian Lange <[email protected]>
Date: 2016-03-16T09:21:56Z
[KARAF-4423] Jaas AutoEncryption support can correctly shutdown and is only
started when needed.
----
> jaas: AutoEncryptionSupport can fail to shutdown
> ------------------------------------------------
>
> Key: KARAF-4423
> URL: https://issues.apache.org/jira/browse/KARAF-4423
> Project: Karaf
> Issue Type: Bug
> Reporter: Fabian Lange
>
> AutoEncryptionSupport has the wrong field marked as volatile. there is a flag
> to toggle the runnable off, but that one is not volatile.
> additionally, there is no need to start the thread if encryption is not used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)