org.pentaho.platform.util
Class Base64PasswordService

java.lang.Object
  extended by org.pentaho.platform.util.Base64PasswordService
All Implemented Interfaces:
IPasswordService

public class Base64PasswordService
extends Object
implements IPasswordService


Field Summary
 
Fields inherited from interface org.pentaho.platform.api.util.IPasswordService
IPASSWORD_SERVICE
 
Constructor Summary
Base64PasswordService()
           
 
Method Summary
 String decrypt(String encryptedPassword)
           
 String encrypt(String password)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64PasswordService

public Base64PasswordService()
Method Detail

encrypt

public String encrypt(String password)
               throws PasswordServiceException
Specified by:
encrypt in interface IPasswordService
Throws:
PasswordServiceException

decrypt

public String decrypt(String encryptedPassword)
               throws PasswordServiceException
Specified by:
decrypt in interface IPasswordService
Throws:
PasswordServiceException