In my application I have a ApplicationConstants.java class that serve for String Constants used in the application.
I have public static final String PASSWORD = "password"
as one of the constant. Sonar throws an error for that as below. Kindly let me know if there is a way to handle the same.
Sonar error: Description Assignee Resource New issue Credentials should not be hard-coded : Remove this hard-coded password. EnrollmentConstant.java false