public ClientDetails loadClientByClientId(String clientId) throws ClientRegistrationException {
    System.out.println("loading client");

    ClientDetails client = jdbcClientService.loadClientByClientId(clientId);
    System.out.println(client.getClientId() + " " + client.getClientSecret());
    return client;
  }
 public List<ClientDetails> listClientDetails() {
   System.out.println("listClientDetails called");
   return jdbcClientService.listClientDetails();
 }
 public void removeClientDetails(String clientId) throws NoSuchClientException {
   System.out.println("removeClientDetails called");
   jdbcClientService.removeClientDetails(clientId);
 }
 public void updateClientSecret(String clientId, String secret) throws NoSuchClientException {
   System.out.println("updateClientSecret called");
   jdbcClientService.updateClientSecret(clientId, secret);
 }
 public void updateClientDetails(ClientDetails clientDetails) throws NoSuchClientException {
   System.out.println("updateClientDetails called");
   jdbcClientService.updateClientDetails(clientDetails);
 }
 public void addClientDetails(ClientDetails clientDetails) throws ClientAlreadyExistsException {
   System.out.println("addClientDetails is called...");
   jdbcClientService.addClientDetails(clientDetails);
 }