public class PlainTextPasswordCipher extends Object implements PasswordCipher
PlainTextPasswordCipher is an PasswordCipher
implementation that does not use any encryption/decryption algorithm at all.| Constructor and Description |
|---|
PlainTextPasswordCipher() |
public String decrypt(char[] encryptedPassword)
encryptedPassword as plain text string.decrypt in interface PasswordCipherencryptedPassword - the encoded passwordPasswordCipher.decrypt(char[])public char[] encrypt(String plainPassword)
plainPassword as plain text character array.encrypt in interface PasswordCipherplainPassword - the plain-text passwordPasswordCipher.encrypt(String)Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.