Package org.sonar.java.checks.security
Class DataHashingCheck
java.lang.Object
org.sonar.java.ast.visitors.SubscriptionVisitor
org.sonar.plugins.java.api.IssuableSubscriptionVisitor
org.sonar.java.checks.methods.AbstractMethodDetection
org.sonar.java.checks.AbstractHashAlgorithmChecker
org.sonar.java.checks.security.DataHashingCheck
- All Implemented Interfaces:
JavaCheck,JavaFileScanner
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sonar.java.checks.AbstractHashAlgorithmChecker
AbstractHashAlgorithmChecker.DeprecatedSpringPasswordEncoder, AbstractHashAlgorithmChecker.InsecureAlgorithm -
Field Summary
Fields inherited from class org.sonar.java.checks.AbstractHashAlgorithmChecker
ALGORITHM_BY_METHOD_NAME, GET_INSTANCE, JAVA_LANG_STRINGFields inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetMessageForAlgorithm(String algorithmName) getMessageForClass(String className) Methods inherited from class org.sonar.java.checks.AbstractHashAlgorithmChecker
getMethodInvocationMatchers, onConstructorFound, onMethodInvocationFoundMethods inherited from class org.sonar.java.checks.methods.AbstractMethodDetection
nodesToVisit, onMethodReferenceFound, visitNodeMethods inherited from class org.sonar.plugins.java.api.IssuableSubscriptionVisitor
addIssue, addIssueOnFile, reportIssue, reportIssue, reportIssue, scanTreeMethods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
leaveFile, leaveNode, scanFile, setContext, visitToken, visitTrivia
-
Constructor Details
-
DataHashingCheck
public DataHashingCheck()
-
-
Method Details
-
getMessageForClass
- Specified by:
getMessageForClassin classAbstractHashAlgorithmChecker
-
getMessageForAlgorithm
- Specified by:
getMessageForAlgorithmin classAbstractHashAlgorithmChecker
-