0 Replies Latest reply on Aug 2, 2011 5:41 PM by mschwery

    Getting output in jsp from PBEUtils

    mschwery

      In a jsp i'm calling PBEUtils to encrypt a password, but the class returns the encrypted password in the stderr.

      For example in the jsp I have the following

      String[] input = {"KJKdjkw1","50","nn32kF*vn3","fubar1234"};

      PBEUtils.main(input);

      The  output is 16:15:38,574 ERROR [STDERR] Encoded password: 2ELTO5EQXKjjCADxkwavrO

      How do I grab it from the stderr?