Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-912

ActiveMQ support for SSL authentication and authorization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • Test Cases, Transport
    • None
    • Patch Available

    Description

      This patch adds new Transports, Brokers, and Plugins needed for authentication and authorization based on SSL certificates.
      It also adds a few unit tests for the mentioned classes.
      The new (or heavily modified) SslTransport, SslTransportServer, and SslTransportFactory classes allow for access to the underlying socket's need and want client auth settings. If a certificate is found, it is set as the transportContext of the created connection.
      The JaasCertificateAuthenticationBroker uses the new CertificateLoginModule to authenticate certificates (this class is abstract to allow for different backends for certificate authentication, a concrete class is TextFileCertificateLoginModule).
      JaasCertificateAuthenticationBroker also sets the security context's user name to that provided for the certificate by the login module. This allows for authorization using the existing authorization broker.

      Attachments

        1. svn_diff.txt
          124 kB
          Sepand Mavandadi
        2. svn_diff.txt
          102 kB
          Sepand Mavandadi
        3. ASF.LICENSE.NOT.GRANTED--ssl_certifiacte_auth_patch.txt
          102 kB
          Sepand Mavandadi

        Issue Links

          Activity

            People

              chirino Hiram R. Chirino
              sepand Sepand Mavandadi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: