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, leaveFile, reportIssue, reportIssue, reportIssue, scanFile, scanTree, setContextMethods inherited from class org.sonar.java.ast.visitors.SubscriptionVisitor
leaveNode, visitToken, visitTriviaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.java.api.JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
DataHashingCheck
public DataHashingCheck()
-
-
Method Details
-
getMessageForClass
- Specified by:
getMessageForClassin classAbstractHashAlgorithmChecker
-
getMessageForAlgorithm
- Specified by:
getMessageForAlgorithmin classAbstractHashAlgorithmChecker
-