diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AuthCoreProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AuthCoreProvider.java index 806b657d..cef6f749 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AuthCoreProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/AuthCoreProvider.java @@ -55,6 +55,7 @@ public static void registerProviders() { providers.register("memory", MemoryAuthCoreProvider.class); providers.register("merge", MergeAuthCoreProvider.class); providers.register("openid", OpenIDAuthCoreProvider.class); + providers.register("sql", SQLCoreProvider.class); registredProviders = true; } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/SQLCoreProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/SQLCoreProvider.java new file mode 100644 index 00000000..cff1ffd6 --- /dev/null +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/SQLCoreProvider.java @@ -0,0 +1,12 @@ +package pro.gravit.launchserver.auth.core; + +import pro.gravit.launchserver.auth.HikariSQLSourceConfig; +import pro.gravit.launchserver.auth.SQLSourceConfig; + +public class SQLCoreProvider extends AbstractSQLCoreProvider { + public HikariSQLSourceConfig holder; + @Override + public SQLSourceConfig getSQLConfig() { + return holder; + } +}