|
|
@ -43,8 +43,8 @@ public class ShellProperties {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Authentication type (can be "simple", "spring", "key" or "jaas"). Auto-detected
|
|
|
|
* Authentication type (can be "simple", "spring", "key" or "jaas"). Auto-detected
|
|
|
|
* according to the environment (i.e. if Spring Security is available, "spring" is used by
|
|
|
|
* according to the environment (i.e. if Spring Security is available, "spring" is
|
|
|
|
* default).
|
|
|
|
* used by default).
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String auth = "simple";
|
|
|
|
private String auth = "simple";
|
|
|
|
|
|
|
|
|
|
|
@ -75,8 +75,8 @@ public class ShellProperties {
|
|
|
|
private String[] disabledCommands = new String[] { "jpa*", "jdbc*", "jndi*" };
|
|
|
|
private String[] disabledCommands = new String[] { "jpa*", "jdbc*", "jndi*" };
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Comma-separated list of plugins to disable. Certain plugins are disabled
|
|
|
|
* Comma-separated list of plugins to disable. Certain plugins are disabled by default
|
|
|
|
* by default based on the environment.
|
|
|
|
* based on the environment.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String[] disabledPlugins = new String[0];
|
|
|
|
private String[] disabledPlugins = new String[0];
|
|
|
|
|
|
|
|
|
|
|
@ -287,7 +287,8 @@ public class ShellProperties {
|
|
|
|
public static class Telnet extends CrshShellProperties {
|
|
|
|
public static class Telnet extends CrshShellProperties {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is available.
|
|
|
|
* Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is
|
|
|
|
|
|
|
|
* available.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private boolean enabled = ClassUtils.isPresent("org.crsh.telnet.TelnetPlugin",
|
|
|
|
private boolean enabled = ClassUtils.isPresent("org.crsh.telnet.TelnetPlugin",
|
|
|
|
ClassUtils.getDefaultClassLoader());
|
|
|
|
ClassUtils.getDefaultClassLoader());
|
|
|
|