Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1832

Page content can be accessed using XMLRPC even when not logged in and the page is protected

    XMLWordPrintable

Details

    Description

      Test to prove it fails:

          public void testRestrictedAccess()
          {
              try {
                  rpc.getPage("Scheduler.WebHome");
                  fail("Should have thrown an exception here");
              } catch (XWikiClientException expected) {
                  assertEquals("xxx", expected.getMessage());
              }
          }
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: