AllowList

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun allowClassesInPackage(packageName: String, classNames: List<String>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Do NOT allow everything in java.reflect, because this include Process, System and other dangerous classes! Allows interfaces : Appendable, CharSequence, Comparable, Iterable, Readable, Runnable. Allows classes : Character.Subset, Character.UnicodeBlock, Enum, Math, Number, Object, StrictMath, String, StringBuilder, StringBuffer, Throwable Allows all exceptions in java.util.

Link copied to clipboard
Link copied to clipboard

Allows commonly used safe classes from the standard Java runtime.

Link copied to clipboard
open override fun clone(): AllowList
Link copied to clipboard
open override fun isAllowed(klass: Class<*>): Boolean