class SecurityFunctionRestController {

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

}