class UserNamespaceAuthorizationRestController extends HerdBaseController {

    @RequestMapping(value = USER_NAMESPACE_AUTHORIZATIONS_URI_PREFIX + "/userIds/{userId}/namespaces/{namespace}",
        method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_USER_NAMESPACE_AUTHORIZATIONS_GET)
    public UserNamespaceAuthorization getUserNamespaceAuthorization(@PathVariable("userId") String userId, @PathVariable("namespace") String namespace)
    {
        return userNamespaceAuthorizationService.getUserNamespaceAuthorization(new UserNamespaceAuthorizationKey(userId, namespace));
    }

}