public ConsumerEntry getConsumerEntry(String consumerServiceName) throws AxisFault {
ConsumerEntry entry = new ConsumerEntry();
Registry reg = getConfigSystemRegistry();
try {
if (reg.resourceExists(DashboardConstants.OAUTH_KEY_STORE + "/" + consumerServiceName)) {
Resource res = reg.get(DashboardConstants.OAUTH_KEY_STORE + "/" + consumerServiceName);
entry.setConsumerKey(res.getProperty(DashboardConstants.CONSUMER_KEY_KEY));
entry.setConsumerSecret(res.getProperty(DashboardConstants.CONSUMER_SECRET_KEY));
entry.setKeyType(res.getProperty(DashboardConstants.KEY_TYPE_KEY));
entry.setService(res.getProperty(DashboardConstants.CONSUMER_SERVICE));