[GitHub] activemq-artemis pull request #1209: ARTEMIS-1122 ActiveMQJAASSecurityManage...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis pull request #1209: ARTEMIS-1122 ActiveMQJAASSecurityManage...

franz1981
GitHub user gaohoward opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1209

    ARTEMIS-1122 ActiveMQJAASSecurityManager class loading issue

    The ActiveMQJAASSecurityManager class uses LoginContext to validate
    users and roles. LoginContext loads LoginModule classes defined in
    the configuration (login.config) using current thread's context
    classloader.
    Normally this wouldn't be a problem but when a caller thread comes
    from JMX (for example a client calls QueueControl.sendMessage() via
    JMX) the caller thread has a different context class loader.
    This will cause the LoginContext to fail to load the LoginModule
    class (e.g. PropertiesLoginModule) and the validation will fail
    even if correct credentials are supplied.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gaohoward/activemq-artemis master_sec_cnfe

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1209.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 #1209
   
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis issue #1209: ARTEMIS-1122 ActiveMQJAASSecurityManager class...

franz1981
Github user gaohoward commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1209
 
    @jbertram Hi Justin can you review this pls?
    Thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[GitHub] activemq-artemis pull request #1209: ARTEMIS-1122 ActiveMQJAASSecurityManage...

franz1981
In reply to this post by franz1981
Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/1209


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---
Loading...