Hi Paco,
I have a password issue that I hope you can help me with.
First off, I am able to use this class to log onto a weblogic console
but only if the password that is stored in my password.properties
file does not include special characters. However, if the password
looks like p!$t0l then I can't log on using the
wlshell.security.Password class.
I can log on through wlshell if I pass the actual password on the
connect command with double quotes surrounding the password.
The wlshell.security.Password does not seem to work with these
special characters. I have tried adding double quotes around the
password in the password.properties file but that did not work. I
also tried by placing double quotes around the $password variable in
the connect command, but that did not work either.
Here is the output I get when using wlshell.security.Password with
special characters in the password:
wlsh [not connected]> connect vmprodcarlsta.firstamdata.net:7081
weblogic $password
connecting to t3://vmprodcarlsta.firstamdata.net:7081 as
weblogic...failed
couldn't execute all the script, there was an error at line 1:
javax.naming.AuthenticationException [Root exception is
java.lang.SecurityException: User: weblogic, failed to be
authenticated.]
type "help" for a list of commands
Do you have any suggestions on how to get the
wlshell.security.Password class to work with special characters in
the password?
Thanks,
Mike