if (eventSupport != null && !eventSupport.isEmpty()) {
enableEventSupport = Boolean.parseBoolean(eventSupport);
}
CredentialStore credentialStore = lookupStore(storeType);
ContextBuilder builder = null;
if (providerMetadata != null) {
builder = ContextBuilder.newBuilder(providerMetadata);
} else if (apiMetadata != null) {