you can use the java keystore api, given that you know the path to the keystore
and the keystore pasword. You can see how this is done in the PasswordAdapter.java,
but please DO NOT build in a reliance on this internal class.
The create-password-alias command creates an entry in domain-passwords.
You can use keytool to operate on the domain-passwords ( the storetype is "JCEKS").
Ron
[Message sent by forum member 'monzillo' (monzillo)]
http://forums.java.net/jive/thread.jspa?messageID=273174