Questo contenuto non è disponibile nella lingua selezionata.

3.3. Enable password encryption for non-fabric environment in A-MQ


Red Hat JBoss A-MQ provides a set of options for enabling password encryption. To protect the passwords, you must set the file permissions of the users.properties file so that it can be read only by administrators. To provide additional protection, you can also encrypt the stored passwords using a message digest algorithm.
To enable the password encryption feature using the MD algorithm, follow the below instructions:
  • Edit the InstallDir/etc/org.apache.karaf.jaas.cfg file.
  • For example, the following settings would enable basic encryption using the MD5 message digest algorithm:
    	encryption.enabled = true
    	encryption.name = basic
    	encryption.prefix = {CRYPT}
    	encryption.suffix = {CRYPT}
    	encryption.algorithm = MD5
    	encryption.encoding = hexadecimal
    
    Copy to Clipboard Toggle word wrap
Note
The encryption settings in the org.apache.karaf.jaas.cfg file are applied only to the default karaf realm in a standalone container.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat