Repository: incubator-guacamole-client Updated Branches: refs/heads/master 0317fc002 -> bdd352614
GUACAMOLE-256: Mark NoAuth as deprecated. Log warning if NoAuth is used. Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/2c8dbade Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/2c8dbade Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/2c8dbade Branch: refs/heads/master Commit: 2c8dbadec5663dad36cf378af8aa90c84f1c45e0 Parents: 3188adb Author: Michael Jumper <[email protected]> Authored: Sun Mar 26 20:44:56 2017 -0700 Committer: Michael Jumper <[email protected]> Committed: Sun Mar 26 20:44:56 2017 -0700 ---------------------------------------------------------------------- .../apache/guacamole/auth/noauth/NoAuthenticationProvider.java | 5 +++++ .../guacamole-auth-noauth/src/main/resources/guac-manifest.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/2c8dbade/extensions/guacamole-auth-noauth/src/main/java/org/apache/guacamole/auth/noauth/NoAuthenticationProvider.java ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-noauth/src/main/java/org/apache/guacamole/auth/noauth/NoAuthenticationProvider.java b/extensions/guacamole-auth-noauth/src/main/java/org/apache/guacamole/auth/noauth/NoAuthenticationProvider.java index 69af5b7..bf665b5 100644 --- a/extensions/guacamole-auth-noauth/src/main/java/org/apache/guacamole/auth/noauth/NoAuthenticationProvider.java +++ b/extensions/guacamole-auth-noauth/src/main/java/org/apache/guacamole/auth/noauth/NoAuthenticationProvider.java @@ -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 http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/2c8dbade/extensions/guacamole-auth-noauth/src/main/resources/guac-manifest.json ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-noauth/src/main/resources/guac-manifest.json b/extensions/guacamole-auth-noauth/src/main/resources/guac-manifest.json index b57358a..16a3e24 100644 --- a/extensions/guacamole-auth-noauth/src/main/resources/guac-manifest.json +++ b/extensions/guacamole-auth-noauth/src/main/resources/guac-manifest.json @@ -2,7 +2,7 @@ "guacamoleVersion" : "0.9.12-incubating", - "name" : "Disabled Authentication", + "name" : "Disabled Authentication (DEPRECATED)", "namespace" : "guac-noauth", "authProviders" : [
