Invoking PBEUtils from jsp to encrypt password

Solution Unverified - Updated -

Issue

  • I want to encrypt passwords through a jsp and I have tried this by  calling the PBEUtils class.  This works but the encrypted password is  sent to the stderr.  How can I get the result returned to my page for use?

Environment

  • JBoss Enterprise Application Platform (EAP) 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content