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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.