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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: EAP_EWP 5.1.2, EAP_EWP 5.2.0
    • Fix Version/s: TBD EAP 5
    • Component/s: Security
    • Labels:
      None
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Not Yet Documented
    • Docs QE Status:
      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                anil.saldhana Anil Saldanha
                Reporter:
                istudens Ivo Studensky
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: