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
17 4 0 28

Files

Class Bugs
fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClient 1
fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClientJson 1
fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service 2

fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClient

Bug Category Details Line Priority
HTTP parameter directly written to HTTP header output in fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClient.handleError(HttpServletRequest, HttpServletResponse, String) SECURITY HRS_REQUEST_PARAMETER_TO_HTTP_HEADER 135 Medium

fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClientJson

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClientJson.handleToken(Token, HttpServletRequest, HttpServletResponse): String.getBytes() I18N DM_DEFAULT_ENCODING 80 High

fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service

Bug Category Details Line Priority
Write to static field fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service.ATTRIBUTE_USER_MAPPING from instance method fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service.getLuteceUserAttributesProvided(Locale) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 311 High
Write to static field fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service._authService from instance method fr.paris.lutece.plugins.mylutece.modules.oauth2.service.Oauth2Service.init() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 287 High