mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Deprecated warning
This commit is contained in:
parent
929a3a4ebb
commit
b5ce3102a9
3 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,7 @@ public static AuthProviderResult authError(String message) throws AuthException
|
||||||
throw new AuthException(message);
|
throw new AuthException(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public static void registerProviders() {
|
public static void registerProviders() {
|
||||||
if (!registredProv) {
|
if (!registredProv) {
|
||||||
providers.register("null", NullAuthProvider.class);
|
providers.register("null", NullAuthProvider.class);
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
import pro.gravit.launchserver.manangers.hook.AuthHookManager;
|
import pro.gravit.launchserver.manangers.hook.AuthHookManager;
|
||||||
import pro.gravit.utils.helper.SecurityHelper;
|
import pro.gravit.utils.helper.SecurityHelper;
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
public class HibernateAuthProvider extends AuthProvider implements RequiredDAO {
|
public class HibernateAuthProvider extends AuthProvider implements RequiredDAO {
|
||||||
public boolean autoReg;
|
public boolean autoReg;
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ public final class LaunchServerConfig {
|
||||||
public boolean copyBinaries = true;
|
public boolean copyBinaries = true;
|
||||||
public LauncherConfig.LauncherEnvironment env;
|
public LauncherConfig.LauncherEnvironment env;
|
||||||
public Map<String, AuthProviderPair> auth;
|
public Map<String, AuthProviderPair> auth;
|
||||||
|
@Deprecated
|
||||||
public DaoProvider dao;
|
public DaoProvider dao;
|
||||||
public SessionStorage sessions;
|
public SessionStorage sessions;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue