Package org.sonar.java.se.checks
Interface XxeProperty
-
- All Known Implementing Classes:
XxeProperty.AttributeDTD,XxeProperty.AttributeSchema,XxeProperty.AttributeStyleSheet,XxeProperty.FeatureDisallowDoctypeDecl,XxeProperty.FeatureExternalGeneralEntities,XxeProperty.FeatureIsSupportingExternalEntities,XxeProperty.FeatureLoadExternalDtd,XxeProperty.FeatureSupportDtd
public interface XxePropertyA property is independently a XXE feature or XXE attribute
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classXxeProperty.AttributeDTDstatic classXxeProperty.AttributeSchemastatic classXxeProperty.AttributeStyleSheetstatic classXxeProperty.FeatureDisallowDoctypeDeclstatic classXxeProperty.FeatureExternalGeneralEntitiesstatic classXxeProperty.FeatureIsSupportingExternalEntitiesstatic classXxeProperty.FeatureLoadExternalDtdstatic classXxeProperty.FeatureSupportDtdstatic classXxeProperty.XxePropertyHolder
-
Field Summary
Fields Modifier and Type Field Description static StringUNSECURED_USE_EMPTY_STRING_TO_PROTECT_AGAINST_XXE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisNamed(String name)default booleanisSecuring(SymbolicValue sv1, ExpressionTree arg1)static booleanisSetToEmptyString(SymbolicValue sv1, ExpressionTree arg1)static booleanisSetToFalse(SymbolicValue sv1, ExpressionTree arg1)static booleanisSetToNonEmptyString(SymbolicValue sv1, ExpressionTree arg1)static booleanisSetToTrue(SymbolicValue sv1, ExpressionTree arg1)default booleanisUnsecuring(SymbolicValue sv1, ExpressionTree arg1)default ConstraintnamedConstraint()XxeProperty.XxePropertyHolderproperties()default ConstraintsecuredConstraint()default ConstraintunsecuredConstraint()
-
-
-
Field Detail
-
UNSECURED_USE_EMPTY_STRING_TO_PROTECT_AGAINST_XXE
static final String UNSECURED_USE_EMPTY_STRING_TO_PROTECT_AGAINST_XXE
- See Also:
- Constant Field Values
-
-
Method Detail
-
properties
XxeProperty.XxePropertyHolder properties()
-
isNamed
default boolean isNamed(String name)
-
securedConstraint
default Constraint securedConstraint()
-
namedConstraint
default Constraint namedConstraint()
-
isSecuring
default boolean isSecuring(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
unsecuredConstraint
default Constraint unsecuredConstraint()
-
isUnsecuring
default boolean isUnsecuring(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
isSetToEmptyString
static boolean isSetToEmptyString(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
isSetToNonEmptyString
static boolean isSetToNonEmptyString(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
isSetToFalse
static boolean isSetToFalse(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
isSetToTrue
static boolean isSetToTrue(@Nullable SymbolicValue sv1, ExpressionTree arg1)
-
-