Class AllowedListDeserializingMessageConverter

    • Constructor Detail

      • AllowedListDeserializingMessageConverter

        public AllowedListDeserializingMessageConverter()
    • Method Detail

      • setAllowedListPatterns

        public void setAllowedListPatterns​(List<String> patterns)
        Set simple patterns for allowable packages/classes for deserialization. The patterns will be applied in order until a match is found. A class can be fully qualified or a wildcard '*' is allowed at the beginning or end of the class name. Examples: com.foo.*, *.MyClass.
        Parameters:
        patterns - the patterns.
      • addAllowedListPatterns

        public void addAllowedListPatterns​(String... patterns)
        Add package/class patterns to the allowed list.
        Parameters:
        patterns - the patterns to add.
        Since:
        1.5.7
        See Also:
        setAllowedListPatterns(List)
      • checkAllowedList

        protected void checkAllowedList​(Class<?> clazz)