class UserNamespaceAuthorizationRestController extends HerdBaseController {

    @RequestMapping(value = USER_NAMESPACE_AUTHORIZATIONS_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_USER_NAMESPACE_AUTHORIZATIONS_POST)
    public UserNamespaceAuthorization createUserNamespaceAuthorization(@RequestBody UserNamespaceAuthorizationCreateRequest request)
    {
        return userNamespaceAuthorizationService.createUserNamespaceAuthorization(request);
    }

}