@ConfigurationProperties(prefix="shell", ignoreUnknownFields=true) public class ShellProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ShellProperties.CrshShellAuthenticationProperties
Base class for Auth specific properties.
|
static class |
ShellProperties.CrshShellProperties
Base class for CRaSH properties.
|
static class |
ShellProperties.JaasAuthenticationProperties
Auth specific properties for JAAS authentication.
|
static class |
ShellProperties.KeyAuthenticationProperties
Auth specific properties for key authentication.
|
static class |
ShellProperties.SimpleAuthenticationProperties
Auth specific properties for simple authentication.
|
static class |
ShellProperties.SpringAuthenticationProperties
Auth specific properties for Spring authentication.
|
static class |
ShellProperties.Ssh
SSH properties.
|
static class |
ShellProperties.Telnet
Telnet properties.
|
Constructor and Description |
---|
ShellProperties() |
Modifier and Type | Method and Description |
---|---|
Properties |
asCrshShellConfig()
Return a properties file configured from these settings that can be applied to a
CRaSH shell instance.
|
ShellProperties.CrshShellProperties[] |
getAdditionalProperties() |
String |
getAuth() |
String[] |
getCommandPathPatterns() |
int |
getCommandRefreshInterval() |
String[] |
getConfigPathPatterns() |
String[] |
getDisabledCommands() |
String[] |
getDisabledPlugins() |
ShellProperties.Ssh |
getSsh() |
ShellProperties.Telnet |
getTelnet() |
void |
setAuth(String auth) |
void |
setCommandPathPatterns(String[] commandPathPatterns) |
void |
setCommandRefreshInterval(int commandRefreshInterval) |
void |
setConfigPathPatterns(String[] configPathPatterns) |
void |
setDisabledCommands(String[] disabledCommands) |
void |
setDisabledPlugins(String[] disabledPlugins) |
protected void |
validateCrshShellConfig(Properties properties)
Basic validation of applied CRaSH shell configuration.
|
public void setAuth(String auth)
public String getAuth()
public ShellProperties.CrshShellProperties[] getAdditionalProperties()
public void setCommandRefreshInterval(int commandRefreshInterval)
public int getCommandRefreshInterval()
public void setCommandPathPatterns(String[] commandPathPatterns)
public String[] getCommandPathPatterns()
public void setConfigPathPatterns(String[] configPathPatterns)
public String[] getConfigPathPatterns()
public void setDisabledCommands(String[] disabledCommands)
public String[] getDisabledCommands()
public void setDisabledPlugins(String[] disabledPlugins)
public String[] getDisabledPlugins()
public ShellProperties.Ssh getSsh()
public ShellProperties.Telnet getTelnet()
public Properties asCrshShellConfig()
protected void validateCrshShellConfig(Properties properties)
properties
- the properties to validateCopyright © 2019 Pivotal Software, Inc.. All rights reserved.