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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • rest
    • None
    • 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

              xtern Pavel Pereslegin
              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