mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Additional locations where we have to block Azure credentials from being exposed
This commit is contained in:
parent
06914727f7
commit
659e7f36e7
2 changed files with 11 additions and 2 deletions
|
|
@ -74,7 +74,12 @@ public class ConfigurationsRestApi {
|
|||
new ZeppelinConfiguration.ConfigurationKeyPredicate() {
|
||||
@Override
|
||||
public boolean apply(String key) {
|
||||
return !key.contains("password") && key.startsWith(prefix);
|
||||
return !key.contains("password") &&
|
||||
!key.equals(ZeppelinConfiguration
|
||||
.ConfVars
|
||||
.ZEPPELIN_NOTEBOOK_AZURE_CONNECTION_STRING
|
||||
.getVarName()) &&
|
||||
key.startsWith(prefix);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -728,7 +728,11 @@ public class NotebookServer extends WebSocketServlet implements
|
|||
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