Package com.jsql.model.injection.method
Class AbstractMethodInjection
java.lang.Object
com.jsql.model.injection.method.AbstractMethodInjection
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract List<AbstractMap.SimpleEntry<String,
String>> abstract String
abstract boolean
abstract String
name()
boolean
testJsonlessParam
(AbstractMap.SimpleEntry<String, String> paramStar) boolean
Verify if injection works for specific Method using 3 modes: standard (last param), injection point and full params injection.boolean
testParameters
(boolean hasFoundInjection)
-
Field Details
-
injectionModel
-
-
Constructor Details
-
AbstractMethodInjection
-
-
Method Details
-
isCheckingAllParam
public abstract boolean isCheckingAllParam() -
getParamsAsString
-
getParams
-
name
-
testParameters
- Throws:
JSqlException
-
testParameters
Verify if injection works for specific Method using 3 modes: standard (last param), injection point and full params injection. Special injections like JSON and SOAP are checked.- Returns:
- true if injection didn't fail
- Throws:
JSqlException
- when no params' integrity, process stopped by user, or injection failure
-
testJsonlessParam
public boolean testJsonlessParam(AbstractMap.SimpleEntry<String, String> paramStar) throws StoppedByUserSlidingException- Throws:
StoppedByUserSlidingException
-