org.pentaho.platform.engine.security
Class DefaultPentahoPasswordEncoder
java.lang.Object
org.pentaho.platform.engine.security.DefaultPentahoPasswordEncoder
public class DefaultPentahoPasswordEncoder
- extends Object
Default password encoder for the BI Server.
TODO Stop using IPasswordService since it is inherently reversible which is not a best practice.
Delegates to IPasswordService. Note that IPasswordService and
PasswordEncoder are fundamentally different.
IPasswordService implements reversible
encoding; PasswordEncoder is not reversible.
- Author:
- mlowery
DefaultPentahoPasswordEncoder
public DefaultPentahoPasswordEncoder()
encodePassword
public String encodePassword(String rawPass,
Object salt)
throws DataAccessException
- Throws:
DataAccessException
isPasswordValid
public boolean isPasswordValid(String encPass,
String rawPass,
Object salt)
throws DataAccessException
- Throws:
DataAccessException