org.pentaho.platform.engine.security
Class DefaultPentahoPasswordEncoder
java.lang.Object
org.pentaho.platform.engine.security.DefaultPentahoPasswordEncoder
- All Implemented Interfaces:
- org.springframework.security.providers.encoding.PasswordEncoder
public class DefaultPentahoPasswordEncoder
- extends Object
- implements org.springframework.security.providers.encoding.PasswordEncoder
Default password encoder for the BI Server.
This encoder Base64-encodes the raw password.
This class is instantiated by Pentaho Admin Console so there should not be a dependency on classes to which PAC
will not have access.
This implementation of password encoding is completely independent of any datasource connection password
encoding.
- Author:
- mlowery
DefaultPentahoPasswordEncoder
public DefaultPentahoPasswordEncoder()
encodePassword
public String encodePassword(String rawPass,
Object salt)
throws org.springframework.dao.DataAccessException
- Specified by:
encodePassword
in interface org.springframework.security.providers.encoding.PasswordEncoder
- Throws:
org.springframework.dao.DataAccessException
isPasswordValid
public boolean isPasswordValid(String encPass,
String rawPass,
Object salt)
throws org.springframework.dao.DataAccessException
- Specified by:
isPasswordValid
in interface org.springframework.security.providers.encoding.PasswordEncoder
- Throws:
org.springframework.dao.DataAccessException