class DataProviderRestController {

    @RequestMapping(value = "/dataProviders/{dataProviderName}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_DATA_PROVIDERS_GET)
    public DataProvider getDataProvider(@PathVariable("dataProviderName") String dataProviderName)
    {
        return dataProviderService.getDataProvider(new DataProviderKey(dataProviderName));
    }

}