You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "jinmeiliao (GitHub)" <gi...@apache.org> on 2019/01/17 21:59:33 UTC

[GitHub] [geode] jinmeiliao commented on pull request #3088: GEODE-6283: have the management rest controller call the internal clu…

just to avoid having to create a Property and manipulate it based on what webapp it is.  one webapp only requires security service, another requires security service and sslConfig, and another requires securityService and managementService. So instead of 
```
Properties properties = new Properties();
properties.put("securityService", securityService);
addWebapp(context1, war1, properties);

properties.put("sslConfig", sslConfig);
addWebapp(context2, war2, properties);
```

I could do
```
addWebapp(context1, war1, new Object[]{"securityService", securityService});
addWebapp(context2, war2, new Object[]{"sslConfig", sslConfig}, new Object[]{"securityService", securityService});
```


[ Full content available at: https://github.com/apache/geode/pull/3088 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org