Authkey ak = new Authkey();
ak.setKeyName (apiDetail.getAuthKeyName());
ak.setHeaderName (apiDetail.getAuthHeaderName());
ProvisionAuthentication p = new ProvisionAuthentication();
p.setAuthKey (ak);
p.getAuths().addAll (BeanConverterUtil.<AuthType, NBAuthType>fromDataModels(apiDetail.getEnabledAuthType()));
return p;
}