Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
24 7 0 31

Files

Class Bugs
fr.paris.lutece.util.signrequest.AbstractAuthenticator 1
fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator 1
fr.paris.lutece.util.signrequest.BasicAuthorizationAuthenticator 2
fr.paris.lutece.util.signrequest.JWTSecretKeyAuthenticator 1
fr.paris.lutece.util.signrequest.security.Sha1HashService 1
fr.paris.lutece.util.signrequest.security.Sha512HashService 1

fr.paris.lutece.util.signrequest.AbstractAuthenticator

Bug Category Details Line Priority
Write to static field fr.paris.lutece.util.signrequest.AbstractAuthenticator._serviceHash from instance method fr.paris.lutece.util.signrequest.AbstractAuthenticator.setHashService(HashService) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 83 High

fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator

Bug Category Details Line Priority
Unread field: fr.paris.lutece.util.signrequest.AbstractJWTRSAAuthenticator.DEFAULT_ENC_ALGO_NAME; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 47 Medium

fr.paris.lutece.util.signrequest.BasicAuthorizationAuthenticator

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.util.signrequest.BasicAuthorizationAuthenticator.getDigest(): new String(byte[]) I18N DM_DEFAULT_ENCODING 109 High
Found reliance on default encoding in fr.paris.lutece.util.signrequest.BasicAuthorizationAuthenticator.getDigest(): String.getBytes() I18N DM_DEFAULT_ENCODING 107 High

fr.paris.lutece.util.signrequest.JWTSecretKeyAuthenticator

Bug Category Details Line Priority
Unread field: fr.paris.lutece.util.signrequest.JWTSecretKeyAuthenticator.DEFAULT_ENC_ALGO_NAME; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 48 Medium

fr.paris.lutece.util.signrequest.security.Sha1HashService

Bug Category Details Line Priority
Possible null pointer dereference of md1 in fr.paris.lutece.util.signrequest.security.Sha1HashService.getHash(String) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 77 Medium

fr.paris.lutece.util.signrequest.security.Sha512HashService

Bug Category Details Line Priority
Possible null pointer dereference of md1 in fr.paris.lutece.util.signrequest.security.Sha512HashService.getHash(String) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 77 Medium