public class JdbcHashedPasswordProvider extends JdbcPasswordProvider
PasswordProvider
which uses the "password" table in the
central OMERO database. When setting a password, stores password as-is
into database, so it must be properly hashed already.ctx, hash, ignoreUnknown, legacyUtil, log, salt, util
Constructor and Description |
---|
JdbcHashedPasswordProvider(PasswordUtil util) |
JdbcHashedPasswordProvider(PasswordUtil util,
boolean ignoreUnknown) |
Modifier and Type | Method and Description |
---|---|
void |
changePassword(java.lang.String user,
java.lang.String md5password)
Throws by default.
|
changePassword, checkPassword, hasPassword
comparePasswords, comparePasswords, comparePasswords, encodePassword, encodePassword, encodeSaltedPassword, loginAttempt, setApplicationContext, setLegacyUtil
public JdbcHashedPasswordProvider(PasswordUtil util)
public JdbcHashedPasswordProvider(PasswordUtil util, boolean ignoreUnknown)
public void changePassword(java.lang.String user, java.lang.String md5password) throws PasswordChangeException
ConfigurablePasswordProvider
changePassword
in interface PasswordProvider
changePassword
in class JdbcPasswordProvider
PasswordChangeException