Package nl.surfnet.coin.api.client

Examples of nl.surfnet.coin.api.client.OpenConextOAuthClient


    }
  }


  protected OpenConextOAuthClient createOpenConextOAuthClient(Properties properties) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException {
    OpenConextOAuthClient apiClient = (OpenConextOAuthClient) getClass().getClassLoader().loadClass(properties.getProperty("openConextApiClient")).newInstance();
    BeanUtils.setProperty(apiClient, "callbackUrl", properties.getProperty("api-callbackuri"));
    BeanUtils.setProperty(apiClient, "consumerSecret", properties.getProperty("api-consumersecret"));
    BeanUtils.setProperty(apiClient, "consumerKey", properties.getProperty("api-consumerkey"));
    BeanUtils.setProperty(apiClient, "endpointBaseUrl", properties.getProperty("api-baseurl"));
    return apiClient;
View Full Code Here

TOP

Related Classes of nl.surfnet.coin.api.client.OpenConextOAuthClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.