GUACAMOLE-256: Merge NoAuth deprecation.

This commit is contained in:
James Muehlner
2017-03-29 11:15:23 -07:00
2 changed files with 6 additions and 1 deletions

View File

@@ -63,6 +63,7 @@ import org.xml.sax.helpers.XMLReaderFactory;
* </config>
* </configs>
*/
@Deprecated
public class NoAuthenticationProvider extends SimpleAuthenticationProvider {
/**
@@ -115,6 +116,10 @@ public class NoAuthenticationProvider extends SimpleAuthenticationProvider {
*/
public NoAuthenticationProvider() throws GuacamoleException {
environment = new LocalEnvironment();
logger.warn("The \"NoAuth\" extension is **DEPRECATED**! This "
+ "extension will be removed from the Guacamole codebase "
+ "entirely in a future release. Please consider writing an "
+ "extension using Guacamole's extension API instead.");
}
@Override

View File

@@ -2,7 +2,7 @@
"guacamoleVersion" : "0.9.12-incubating",
"name" : "Disabled Authentication",
"name" : "Disabled Authentication (DEPRECATED)",
"namespace" : "guac-noauth",
"authProviders" : [