public class RegexAMF3DeserializerSecurizer extends java.lang.Object implements AMF3DeserializerSecurizer
| Constructor and Description |
|---|
RegexAMF3DeserializerSecurizer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowInstantiation(java.lang.String className)
Checks if the given class name isn't matched by the configured pattern.
|
java.lang.String |
getParam()
Return this securizer pattern.
|
void |
setParam(java.lang.String param)
Set this securizer pattern.
|
public boolean allowInstantiation(java.lang.String className)
allowInstantiation in interface AMF3DeserializerSecurizerclassName - the class to check.true if the given class name is allowed to be
instantiated, false otherwise.public void setParam(java.lang.String param)
setParam in interface AMF3DeserializerSecurizerparam - a regex containing allowed class name patterns.java.util.regex.PatternSyntaxException - if the given value isn't a valid
regex pattern.public java.lang.String getParam()
getParam in interface AMF3DeserializerSecurizer