Class XMLDecoderSecurity


  • public final class XMLDecoderSecurity
    extends java.lang.Object
    This type offers APIs to help secure the usage of XMLDecoder.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.InputStream hardenStream​(java.io.InputStream is)
      This method wraps the stream in a circular byte buffer which looks for common exploit types in the inbound XML.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait