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(String user,
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(String user, String md5password) throws PasswordChangeException
ConfigurablePasswordProvider
changePassword
in interface PasswordProvider
changePassword
in class JdbcPasswordProvider
PasswordChangeException
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.