SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.4

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
20 3 0 0

Files

Class Bugs
org.forgerock.http.oauth2.AccessTokenInfo 1
org.forgerock.http.oauth2.resolver.CachingAccessTokenResolver 1
org.forgerock.http.oauth2.resolver.OpenAmAccessTokenResolver$TokenInfoParser 1

org.forgerock.http.oauth2.AccessTokenInfo

Bug Category Details Line Priority
org.forgerock.http.oauth2.AccessTokenInfo.asJsonValue() may expose internal representation by returning AccessTokenInfo.rawInfo MALICIOUS_CODE EI_EXPOSE_REP 75 Medium

org.forgerock.http.oauth2.resolver.CachingAccessTokenResolver

Bug Category Details Line Priority
new org.forgerock.http.oauth2.resolver.CachingAccessTokenResolver(TimeService, AccessTokenResolver, PerItemEvictionStrategyCache) may expose internal representation by storing an externally mutable object into CachingAccessTokenResolver.cache MALICIOUS_CODE EI_EXPOSE_REP2 63 Medium

org.forgerock.http.oauth2.resolver.OpenAmAccessTokenResolver$TokenInfoParser

Bug Category Details Line Priority
Do not catch NullPointerException like in org.forgerock.http.oauth2.resolver.OpenAmAccessTokenResolver$TokenInfoParser.apply(JsonValue) STYLE DCN_NULLPOINTER_EXCEPTION 217 Medium