PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/util/signrequest/AbstractJWTRSAAuthenticator.java
Rule |
Violation |
Line |
FieldNamingConventions |
The final field name 'DEFAULT_ENC_ALGO_NAME' doesn't match '[a-z][a-zA-Z0-9]*' |
47 |
fr/paris/lutece/util/signrequest/BasicAuthorizationAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSAKeyStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSATrustStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTSecretKeyAuthenticator.java
Rule |
Violation |
Line |
FieldNamingConventions |
The final field name 'DEFAULT_ENC_ALGO_NAME' doesn't match '[a-z][a-zA-Z0-9]*' |
48 |
fr/paris/lutece/util/signrequest/servlet/AbstractRequestFilter.java
Priority 2
fr/paris/lutece/util/signrequest/security/Sha1HashService.java
Rule |
Violation |
Line |
LoggerIsNotStaticFinal |
The Logger variable declaration does not contain the static and final modifiers |
49 |
Priority 3
fr/paris/lutece/util/signrequest/AbstractAuthenticator.java
fr/paris/lutece/util/signrequest/AbstractJWTAuthenticator.java
fr/paris/lutece/util/signrequest/AbstractJWTRSAAuthenticator.java
fr/paris/lutece/util/signrequest/AuthenticateRequestInformations.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
13 |
ImmutableField |
Private field '_securityHeaders' could be made final; it is only initialized in the declaration or constructor. |
13 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
13 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
16 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
16 |
ImmutableField |
Private field '_securityParameters' could be made final; it is only initialized in the declaration or constructor. |
16 |
fr/paris/lutece/util/signrequest/ClientHeaderHashAuthenticator.java
fr/paris/lutece/util/signrequest/HeaderHashAuthenticator.java
Rule |
Violation |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
74 |
fr/paris/lutece/util/signrequest/JWTNoEncryptionAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSAKeyStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSAPlainTextAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSATrustStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTSecretKeyAuthenticator.java
fr/paris/lutece/util/signrequest/RequestHashAuthenticator.java
Rule |
Violation |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
75 |
fr/paris/lutece/util/signrequest/security/Sha1HashService.java
fr/paris/lutece/util/signrequest/service/BasicClientKeyService.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
45 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
45 |
fr/paris/lutece/util/signrequest/servlet/AbstractRequestFilter.java
fr/paris/lutece/util/signrequest/servlet/HeaderHashRequestFilter.java
Rule |
Violation |
Line |
MissingOverride |
The method 'getAuthenticator()' is missing an @Override annotation. |
47–50 |
fr/paris/lutece/util/signrequest/servlet/ParameterHashRequestFilter.java
Rule |
Violation |
Line |
MissingOverride |
The method 'getAuthenticator()' is missing an @Override annotation. |
47–50 |
Priority 4
fr/paris/lutece/util/signrequest/RequestHashAuthenticator.java
Rule |
Violation |
Line |
UnusedImports |
Avoid unused imports such as 'java.util.Map' |
39 |
Files
fr/paris/lutece/util/signrequest/AbstractAuthenticator.java
fr/paris/lutece/util/signrequest/AbstractJWTAuthenticator.java
fr/paris/lutece/util/signrequest/AbstractJWTRSAAuthenticator.java
fr/paris/lutece/util/signrequest/AuthenticateRequestInformations.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
13 |
ImmutableField |
Private field '_securityHeaders' could be made final; it is only initialized in the declaration or constructor. |
3 |
13 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
13 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
16 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
16 |
ImmutableField |
Private field '_securityParameters' could be made final; it is only initialized in the declaration or constructor. |
3 |
16 |
fr/paris/lutece/util/signrequest/BasicAuthorizationAuthenticator.java
fr/paris/lutece/util/signrequest/ClientHeaderHashAuthenticator.java
Rule |
Violation |
Priority |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
104 |
fr/paris/lutece/util/signrequest/HeaderHashAuthenticator.java
Rule |
Violation |
Priority |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
74 |
fr/paris/lutece/util/signrequest/JWTNoEncryptionAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSAKeyStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSAPlainTextAuthenticator.java
fr/paris/lutece/util/signrequest/JWTRSATrustStoreFileAuthenticator.java
fr/paris/lutece/util/signrequest/JWTSecretKeyAuthenticator.java
fr/paris/lutece/util/signrequest/RequestHashAuthenticator.java
Rule |
Violation |
Priority |
Line |
UnusedImports |
Avoid unused imports such as 'java.util.Map' |
4 |
39 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
75 |
fr/paris/lutece/util/signrequest/security/Sha1HashService.java
fr/paris/lutece/util/signrequest/service/BasicClientKeyService.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
45 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
45 |
fr/paris/lutece/util/signrequest/servlet/AbstractRequestFilter.java
fr/paris/lutece/util/signrequest/servlet/HeaderHashRequestFilter.java
Rule |
Violation |
Priority |
Line |
MissingOverride |
The method 'getAuthenticator()' is missing an @Override annotation. |
3 |
47–50 |
fr/paris/lutece/util/signrequest/servlet/ParameterHashRequestFilter.java
Rule |
Violation |
Priority |
Line |
MissingOverride |
The method 'getAuthenticator()' is missing an @Override annotation. |
3 |
47–50 |