Class ShellProperties
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.ShellProperties
@ConfigurationProperties(prefix="management.shell", ignoreUnknownFields=true) @Deprecated public class ShellProperties extends ObjectDeprecated.as of 1.5 since CRaSH is not actively maintainedConfiguration properties for the shell subsystem.
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShellProperties.AuthDeprecated.static classShellProperties.CrshShellAuthenticationPropertiesDeprecated.Base class for Auth specific properties.static classShellProperties.CrshShellPropertiesDeprecated.Base class for CRaSH properties.static classShellProperties.JaasAuthenticationPropertiesDeprecated.Auth specific properties for JAAS authentication.static classShellProperties.KeyAuthenticationPropertiesDeprecated.Auth specific properties for key authentication.static classShellProperties.SimpleAuthenticationPropertiesDeprecated.Auth specific properties for simple authentication.static classShellProperties.SpringAuthenticationPropertiesDeprecated.Auth specific properties for Spring authentication.static classShellProperties.SshDeprecated.SSH properties.static classShellProperties.TelnetDeprecated.Telnet properties.
Field Summary
Fields Modifier and Type Field Description static StringSHELL_PREFIXDeprecated.
Constructor Summary
Constructors Constructor Description ShellProperties()Deprecated.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PropertiesasCrshShellConfig()Deprecated.Return a properties file configured from these settings that can be applied to a CRaSH shell instance.ShellProperties.CrshShellProperties[]getAdditionalProperties()Deprecated.ShellProperties.AuthgetAuth()Deprecated.String[]getCommandPathPatterns()Deprecated.intgetCommandRefreshInterval()Deprecated.String[]getConfigPathPatterns()Deprecated.String[]getDisabledCommands()Deprecated.String[]getDisabledPlugins()Deprecated.ShellProperties.SshgetSsh()Deprecated.ShellProperties.TelnetgetTelnet()Deprecated.voidsetCommandPathPatterns(String[] commandPathPatterns)Deprecated.voidsetCommandRefreshInterval(int commandRefreshInterval)Deprecated.voidsetConfigPathPatterns(String[] configPathPatterns)Deprecated.voidsetDisabledCommands(String[] disabledCommands)Deprecated.voidsetDisabledPlugins(String[] disabledPlugins)Deprecated.protected voidvalidateCrshShellConfig(Properties properties)Deprecated.Basic validation of applied CRaSH shell configuration.
Field Detail
SHELL_PREFIX
public static final String SHELL_PREFIX
Deprecated.- See Also:
- Constant Field Values
Constructor Detail
ShellProperties
public ShellProperties()
Deprecated.
Method Detail
getAuth
public ShellProperties.Auth getAuth()
Deprecated.
getAdditionalProperties
public ShellProperties.CrshShellProperties[] getAdditionalProperties()
Deprecated.
setCommandRefreshInterval
public void setCommandRefreshInterval(int commandRefreshInterval)
Deprecated.
getCommandRefreshInterval
public int getCommandRefreshInterval()
Deprecated.
setCommandPathPatterns
public void setCommandPathPatterns(String[] commandPathPatterns)
Deprecated.
getCommandPathPatterns
public String[] getCommandPathPatterns()
Deprecated.
setConfigPathPatterns
public void setConfigPathPatterns(String[] configPathPatterns)
Deprecated.
getConfigPathPatterns
public String[] getConfigPathPatterns()
Deprecated.
setDisabledCommands
public void setDisabledCommands(String[] disabledCommands)
Deprecated.
getDisabledCommands
public String[] getDisabledCommands()
Deprecated.
setDisabledPlugins
public void setDisabledPlugins(String[] disabledPlugins)
Deprecated.
getDisabledPlugins
public String[] getDisabledPlugins()
Deprecated.
getSsh
public ShellProperties.Ssh getSsh()
Deprecated.
getTelnet
public ShellProperties.Telnet getTelnet()
Deprecated.
asCrshShellConfig
public Properties asCrshShellConfig()
Deprecated.Return a properties file configured from these settings that can be applied to a CRaSH shell instance.- Returns:
- the CRaSH properties
validateCrshShellConfig
protected void validateCrshShellConfig(Properties properties)
Deprecated.Basic validation of applied CRaSH shell configuration.- Parameters:
properties- the properties to validate