コード例 #1
0
 @Override
 public Map<String, Object> getBareCredentialsMap() {
   return credentials.getCredentialsMap();
 }
コード例 #2
0
 @Override
 public Map<String, Object> createCredentialsMap(UUID instanceId) {
   Map<String, Object> credentialsCopy = new HashMap<>(credentials.getCredentialsMap());
   credentialsCopy.put(ZNODE_KEY, String.format("%s/%s", userspacePathTemplate, instanceId));
   return credentialsCopy;
 }