Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-12962

Blacklist and whitelist of classes allowed to deserialize via HTTP-REST should be supported

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: rest
    • Labels:
      None
    • Ignite Flags:
      Docs Required, Release Notes Required

      Description

      Since we have the ability to deserialize custom objects (implemented by IGNITE-12857) we should have the ability to limit the scope of classes allowed to safe deserialization.

      There are already two system properties used for such purpose in Ignite:

      /** Defines path to the file that contains list of classes allowed to safe deserialization.*/
      public static final String IGNITE_MARSHALLER_WHITELIST = "IGNITE_MARSHALLER_WHITELIST";
      
      /** Defines path to the file that contains list of classes disallowed to safe deserialization.*/
      public static final String IGNITE_MARSHALLER_BLACKLIST = "IGNITE_MARSHALLER_BLACKLIST";

      HTTP-REST should support these properties too.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xtern Pavel Pereslegin
                Reporter:
                alex_pl Aleksey Plekhanov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m