Skip to content

Commit 2ea6fea

Browse files
authored
Merge pull request #1672 from akshaysonvane/QS-overrides
DHFPROD-1632 Read from the chosen environment
2 parents 0536964 + cf139ba commit 2ea6fea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quick-start/src/main/java/com/marklogic/quickstart/auth/ConnectionAuthenticationFilter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public Authentication attemptAuthentication(HttpServletRequest request,
114114
hubConfig.setMlUsername(username);
115115
hubConfig.setMlPassword(password);
116116
hubConfig.resetAppConfigs();
117+
hubConfig.withPropertiesFromEnvironment(loginInfo.environment);
117118
hubConfig.refreshProject();
118119
hubConfig.getAppConfig().setAppServicesUsername(username);
119120
hubConfig.getAppConfig().setAppServicesPassword(password);

0 commit comments

Comments
 (0)