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 AbstractHashAlgorithmChecker
AbstractHashAlgorithmChecker.DeprecatedSpringPasswordEncoder, AbstractHashAlgorithmChecker.InsecureAlgorithmModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
Fields inherited from class AbstractHashAlgorithmChecker
ALGORITHM_BY_METHOD_NAME, GET_INSTANCE, JAVA_LANG_STRINGModifier and TypeFieldDescriptionprotected static final Map<String, AbstractHashAlgorithmChecker.InsecureAlgorithm> static final Stringstatic final StringFields inherited from class SubscriptionVisitor
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetMessageForAlgorithm(String algorithmName) getMessageForClass(String className) Methods inherited from class AbstractHashAlgorithmChecker
getMethodInvocationMatchers, onConstructorFound, onMethodInvocationFoundModifier and TypeMethodDescriptionprotected MethodMatchersprotected voidonConstructorFound(NewClassTree newClassTree) protected voidMethods inherited from class AbstractMethodDetection
nodesToVisit, onMethodReferenceFound, visitNodeMethods inherited from class IssuableSubscriptionVisitor
addIssue, addIssueOnFile, leaveFile, reportIssue, reportIssue, reportIssue, reportIssue, scanFile, scanTree, setContextMethods inherited from class SubscriptionVisitor
leaveNode, visitToken, visitTriviaMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JavaFileScanner
scanWithoutParsing
-
Constructor Details
-
DataHashingCheck
public DataHashingCheck()
-
-
Method Details
-
getMessageForClass
- Specified by:
getMessageForClassin classAbstractHashAlgorithmChecker
-
getMessageForAlgorithm
- Specified by:
getMessageForAlgorithmin classAbstractHashAlgorithmChecker
-