
com.payneteasy.superfly.password.PlaintextPasswordEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of superfly-service Show documentation
Show all versions of superfly-service Show documentation
Service layer classes, including DAO layer too
package com.payneteasy.superfly.password;
/**
* Dummy encoder which does not actually encode anything. Note, however, that
* salt will be appended to the password if supplied.
*
* @author Roman Puchkovskiy
*/
public class PlaintextPasswordEncoder extends AbstractPasswordEncoder {
public String encode(String plainPassword, String salt) {
return mergePasswordAndSalt(plainPassword, salt);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy