mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Don't expose Azure storage connection string in UI since it contains credentials
This commit is contained in:
parent
cbfbe4d476
commit
06914727f7
1 changed files with 5 additions and 1 deletions
|
|
@ -53,7 +53,11 @@ public class ConfigurationsRestApi {
|
|||
new ZeppelinConfiguration.ConfigurationKeyPredicate() {
|
||||
@Override
|
||||
public boolean apply(String key) {
|
||||
return !key.contains("password");
|
||||
return !key.contains("password") &&
|
||||
!key.equals(ZeppelinConfiguration
|
||||
.ConfVars
|
||||
.ZEPPELIN_NOTEBOOK_AZURE_CONNECTION_STRING
|
||||
.getVarName());
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue