class SecurityFunctionRestController {

    @RequestMapping(value = SECURITY_FUNCTIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_SECURITY_FUNCTIONS_POST)
    public SecurityFunction createSecurityFunction(@RequestBody SecurityFunctionCreateRequest request)
    {
        return securityFunctionService.createSecurityFunction(request);
    }

}