mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
starter ArthasProperties support username/password fields. #2092
This commit is contained in:
+19
@@ -30,6 +30,9 @@ public class ArthasProperties {
|
||||
*/
|
||||
private long sessionTimeout;
|
||||
|
||||
private String username;
|
||||
private String password;
|
||||
|
||||
private String home;
|
||||
|
||||
/**
|
||||
@@ -138,4 +141,20 @@ public class ArthasProperties {
|
||||
public void setDisabledCommands(String disabledCommands) {
|
||||
this.disabledCommands = disabledCommands;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user