mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUAC-587: Warn about "lib-directory" deprecation.
This commit is contained in:
@@ -90,7 +90,7 @@ public class RESTAuthModule extends AbstractModule {
|
|||||||
// Use "auth-provider" property if present, but warn about deprecation
|
// Use "auth-provider" property if present, but warn about deprecation
|
||||||
AuthenticationProvider authProvider = environment.getProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
|
AuthenticationProvider authProvider = environment.getProperty(BasicGuacamoleProperties.AUTH_PROVIDER);
|
||||||
if (authProvider != null) {
|
if (authProvider != null) {
|
||||||
logger.warn("The \"auth-provider\" is now deprecated. Please use the \"extensions\" directory within GUACAMOLE_HOME instead.");
|
logger.warn("The \"auth-provider\" and \"lib-directory\" properties are now deprecated. Please use the \"extensions\" and \"lib\" directories within GUACAMOLE_HOME instead.");
|
||||||
bind(AuthenticationProvider.class).toInstance(authProvider);
|
bind(AuthenticationProvider.class).toInstance(authProvider);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user