class NamespaceRestController {

    @RequestMapping(value = "/namespaces", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_NAMESPACES_ALL_GET)
    public NamespaceKeys getNamespaces()
    {
        return namespaceService.getNamespaces();
    }

}