class ExternalInterfaceRestController {

    @RequestMapping(value = EXTERNAL_INTERFACE_URI_PREFIX + "/{externalInterfaceName}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_EXTERNAL_INTERFACES_GET)
    public ExternalInterface getExternalInterface(@PathVariable("externalInterfaceName") String externalInterfaceName)
    {
        return externalInterfaceService.getExternalInterface(new ExternalInterfaceKey(externalInterfaceName));
    }

}