Skip to content

Use different security domains for TLS and JMX #559

Answered by brusdev
lordigon asked this question in Q&A
Discussion options

You must be logged in to vote

@lordigon ActiveMQ Artemis use the jaas domain defined in the bootstrap.xml (jaas-security domain="activemq") file as default jaas domain to authenticate and authorize acceptor connections and the jaas domain defined in the artemis.profile file (-Dhawtio.realm=activemq) to authenticate and authorize console/jolokia connections.

You can define TestCertificateLoginModule in the activemq domain and PropertiesLoginModule in another domain, in this way you don't need to change he bootstrap.xml file, i.e

my-jaas-config

kind: ConfigMap
apiVersion: v1
metadata:
  name: cert-jaas-config
data:
  artemis-users.properties: |
    admin=admin
  artemis-roles.properties: |
    amq=admin
  login.config: …

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
12 replies
@brusdev
Comment options

@lordigon
Comment options

@brusdev
Comment options

@lordigon
Comment options

@brusdev
Comment options

Answer selected by brusdev
Comment options

You must be logged in to vote
1 reply
@brusdev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants