GUACAMOLE-5: Do not bind/inject AuthenticationProvider.

This commit is contained in:
Michael Jumper
2016-07-26 21:21:17 -07:00
parent 7325b7e9c9
commit cadaefa5f6
5 changed files with 7 additions and 26 deletions

View File

@@ -26,7 +26,6 @@ import org.apache.guacamole.net.auth.AuthenticationProvider;
import org.apache.guacamole.net.auth.Credentials;
import org.apache.guacamole.net.auth.UserContext;
import org.apache.guacamole.auth.jdbc.JDBCAuthenticationProviderModule;
import org.apache.guacamole.auth.jdbc.JDBCEnvironment;
import org.apache.guacamole.auth.jdbc.user.AuthenticationProviderService;
import org.apache.guacamole.net.auth.AuthenticatedUser;
import org.slf4j.Logger;
@@ -73,7 +72,7 @@ public class PostgreSQLAuthenticationProvider implements AuthenticationProvider
new PostgreSQLAuthenticationProviderModule(environment),
// Configure JDBC authentication core
new JDBCAuthenticationProviderModule(this, environment)
new JDBCAuthenticationProviderModule(environment)
);