class SecurityRoleFunctionRestController {

    @RequestMapping(value = SECURITY_ROLE_FUNCTIONS_URI_PREFIX +
        "/securityRoleNames/{securityRoleName}/securityFunctionNames/{securityFunctionName}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_SECURITY_ROLE_FUNCTIONS_GET)
    public SecurityRoleFunction getSecurityRoleFunction(@PathVariable("securityRoleName") String securityRoleName,
        @PathVariable("securityFunctionName") String securityFunctionName)
    {
        return securityRoleFunctionService.getSecurityRoleFunction(new SecurityRoleFunctionKey(securityRoleName, securityFunctionName));
    }

}