Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10607

JaasSecurityDomain does not have any encode64 method which would take the password in String instead of byte[]


    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.2, EAP_EWP 5.2.0
    • Security
    • None
    • Release Notes
    • Not Yet Documented
    • NEW

      The SecurityGuide in the Procedure 19.1. Step 5. instructs users how to create an encrypted password by org.jboss.security.plugins.JaasSecurityDomain#encode64(String password) method invoked from the jmx-console. The problem is that no encode64 method with this signature exists in the JaasSecurityDomain. There is only a encode64(byte[] secret) which takes array of bytes instead of String. Hence, in order to generate an encrypted password the customer have to pass a comma-separated list of bytes of the password which is very incovenient.

      I would suggest to add a encode64(String password) method to the JaasSecurityDomain to help users with creating their own encrypted passwords.

      I've also filed a bugzilla for the documentation, see

            anil.saldhana Anil Saldanha (Inactive)
            istudens@redhat.com Ivo Studensky
            0 Vote for this issue
            3 Start watching this issue