Is there a defined way to decrypt a `VAULT` password in a java util class?
I have a bind credential for an `LDAP` login setup on a jboss5 instance and I need to convert it to a jboss 7 instance, but i am getting an Authentication exception error.
Error
ERROR [stderr] (default task-3) javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839 ]
local.build.properties
ldap.auth.bindCredential=VAULT::authdevBindCred::password::1
Util.java
String ldapPass = System.getProperty("ldap.auth.bindCredential");
...
ldapEnv = new Hashtable<String, String>(11);
ldapEnv.put(Context.SECURITY_CREDENTIALS, ldapPass);