0 Replies Latest reply on Oct 24, 2012 10:47 AM by acid66

    JBoss 6 Password Masking

    acid66 Newbie

      Hello,  I am very new to jboss and I am attempting to mask a plaintext password.  I have followed the steps in http://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html/Masking_Passwords.html but I don't know how to actually replace the plaintext password with the mask.

       

      The password I'm trying to replace shows up like this:

       

      <Connector protocol="HTTP/1.1" SSLEnabled="true"

                 port="${jboss.web.https.port}" address="${jboss.bind.address}"

                 scheme="https" secure="true" clientAuth="false"

                 keystoreFile="keyStoreFile.keystore"

                 keystorePass="plaintextPassword" slProtocol="TLS" />

       

      From what I gather I need to add something like:

       

      <annotation>@org.jboss.security.integration.password.Password(securityDomain=JBOSS_PASS_MASK,methodName=setKeystorePass)</annotation>

       

      but I do not understand where to add that/what to change.

       

      Any help would be appreciated, thanks!