mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-256: Mark NoAuth as deprecated. Log warning if NoAuth is used.
This commit is contained in:
@@ -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
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
"guacamoleVersion" : "0.9.12-incubating",
|
||||
|
||||
"name" : "Disabled Authentication",
|
||||
"name" : "Disabled Authentication (DEPRECATED)",
|
||||
"namespace" : "guac-noauth",
|
||||
|
||||
"authProviders" : [
|
||||
|
Reference in New Issue
Block a user