org.jboss.dashboard.commons.security.password
Class PasswordObfuscator
java.lang.Object
org.jboss.dashboard.commons.security.password.PasswordObfuscator
@ApplicationScoped
@Named(value="passwordObfuscator")
public class PasswordObfuscator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enabled
@Inject
protected boolean enabled
prefix
@Inject
protected String prefix
cipher
protected PBEWithMD5AndDESCipher cipher
PasswordObfuscator
public PasswordObfuscator()
lookup
public static PasswordObfuscator lookup()
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String prefix)
getCipher
public PBEWithMD5AndDESCipher getCipher()
setCipher
public void setCipher(PBEWithMD5AndDESCipher cipher)
isObfuscated
public boolean isObfuscated(String password)
obfuscate
public String obfuscate(String password)
deobfuscate
public String deobfuscate(String password)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.