org.apache.tomcat.maven.runner
Class PasswordUtil
java.lang.Object
org.apache.tomcat.maven.runner.PasswordUtil
public class PasswordUtil
- extends Object
Password obfuscate utility class. Lifted from Jetty org.mortbay.jetty.security.Password
Passwords that begin with OBF: are de obfuscated.
Passwords can be obfuscated by running Obfuscate as a main class. Obfuscated password are required if a system needs
to recover the full password (eg. so that it may be passed to another system).
They are not secure, but prevent casual observation.
- Since:
- 2.0
- See Also:
- Jetty Source org.mortbay.jetty.security.Password
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__OBFUSCATE
public static final String __OBFUSCATE
- See Also:
- Constant Field Values
PasswordUtil
public PasswordUtil()
obfuscate
public static String obfuscate(String s)
deobfuscate
public static String deobfuscate(String s)
deobfuscateSystemProps
public static void deobfuscateSystemProps()
main
public static void main(String[] args)
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.