class SecurityFunctionRestController {

    @RequestMapping(value = SECURITY_FUNCTIONS_URI_PREFIX + "/{securityFunctionName}", method = RequestMethod.DELETE)
    @Secured(SecurityFunctions.FN_SECURITY_FUNCTIONS_DELETE)
    public SecurityFunction deleteSecurityFunction(@PathVariable("securityFunctionName") String securityFunctionName)
    {
        return securityFunctionService.deleteSecurityFunction(new SecurityFunctionKey(securityFunctionName));
    }

}