Can the JBoss EAP shutdown script password be encrypted ?

Solution Verified - Updated -

Issue

  • The EAP shutdown script is currently in plain text. Is it possible to have it encrypted ?
  • The JBoss EAP shutdown script authenticates the user as admin and  passes the password in the clear. 

    java -classpath $JBOSS_CP org.jboss.Shutdown -s jnp://localhost:$PORT --shutdown -u admin -p xxxxxx

    Is there a better way to do this ?  If not, could keys be used instead of passing the password to the shell. Someone using 'ps' could see the password.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x
  • Linux
  • Windows

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