mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
Update PasswordVerifier.java
Убрал исключения для совместимости
This commit is contained in:
parent
90ee90973e
commit
66d8b9d9ca
1 changed files with 1 additions and 4 deletions
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
import pro.gravit.utils.ProviderMap;
|
import pro.gravit.utils.ProviderMap;
|
||||||
|
|
||||||
import java.security.NoSuchAlgorithmException;
|
|
||||||
import java.security.spec.InvalidKeySpecException;
|
|
||||||
|
|
||||||
public abstract class PasswordVerifier {
|
public abstract class PasswordVerifier {
|
||||||
public static final ProviderMap<PasswordVerifier> providers = new ProviderMap<>("PasswordVerifier");
|
public static final ProviderMap<PasswordVerifier> providers = new ProviderMap<>("PasswordVerifier");
|
||||||
private static boolean registeredProviders = false;
|
private static boolean registeredProviders = false;
|
||||||
|
@ -22,7 +19,7 @@ public static void registerProviders() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract boolean check(String encryptedPassword, String password) throws NoSuchAlgorithmException, InvalidKeySpecException;
|
public abstract boolean check(String encryptedPassword, String password);
|
||||||
|
|
||||||
public String encrypt(String password) {
|
public String encrypt(String password) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
|
Loading…
Reference in a new issue