1 Reply Latest reply on Feb 28, 2016 12:20 PM by Antonio Ballerini

    Uncexpected error using CLI to add security realm password

    Jan Swaelens Newbie

      Hello,

       

      Following the guide available at EJB invocations from a remote server instance - JBoss AS 7.1 - Project Documentation Editor I encountered an issue when I use a different password as used in the example, more specifically when I have a base64 encoded password ending with a single '=' the CLI throws the following exception when executing: /core-service=management/security-realm=ejb-security-realm/server-identity=secret:add(value=dGVzdA=)

       

      The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):

      {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014704: '' is an invalid value for parameter value. Values must have a minimum length of 1 characters"}}

       

      It works fine when the encoded string has no '=' at the back or two.

       

      Not the end of the world but just wanted to run this by to see if it needed fixing, or maybe I am missing something?

       

      best regards,

      jan