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[]

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Obsolete
    • EAP_EWP 5.1.2, EAP_EWP 5.2.0
    • TBD EAP 5
    • Security
    • None
    • Release Notes
    • Not Yet Documented
    • NEW

    Description

      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
      https://bugzilla.redhat.com/show_bug.cgi?id=904113

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: