mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +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>
|
* </config>
|
||||||
* </configs>
|
* </configs>
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class NoAuthenticationProvider extends SimpleAuthenticationProvider {
|
public class NoAuthenticationProvider extends SimpleAuthenticationProvider {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -115,6 +116,10 @@ public class NoAuthenticationProvider extends SimpleAuthenticationProvider {
|
|||||||
*/
|
*/
|
||||||
public NoAuthenticationProvider() throws GuacamoleException {
|
public NoAuthenticationProvider() throws GuacamoleException {
|
||||||
environment = new LocalEnvironment();
|
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
|
@Override
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"guacamoleVersion" : "0.9.12-incubating",
|
"guacamoleVersion" : "0.9.12-incubating",
|
||||||
|
|
||||||
"name" : "Disabled Authentication",
|
"name" : "Disabled Authentication (DEPRECATED)",
|
||||||
"namespace" : "guac-noauth",
|
"namespace" : "guac-noauth",
|
||||||
|
|
||||||
"authProviders" : [
|
"authProviders" : [
|
||||||
|
Reference in New Issue
Block a user