SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
26 11 0 0

Files

Class Bugs
net.sf.michaelo.tomcat.realm.ActiveDirectoryPrincipal 3
net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User 4
net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult 4

net.sf.michaelo.tomcat.realm.ActiveDirectoryPrincipal

Bug Category Details Line Priority
net.sf.michaelo.tomcat.realm.ActiveDirectoryPrincipal.getAdditionalAttributes() may expose internal representation by returning ActiveDirectoryPrincipal.additionalAttributes MALICIOUS_CODE EI_EXPOSE_REP 140 Medium
net.sf.michaelo.tomcat.realm.ActiveDirectoryPrincipal.getGssCredential() may expose internal representation by returning ActiveDirectoryPrincipal.gssCredential MALICIOUS_CODE EI_EXPOSE_REP 107 Medium
new net.sf.michaelo.tomcat.realm.ActiveDirectoryPrincipal(GSSName, Sid, List, GSSCredential, Map) may expose internal representation by storing an externally mutable object into ActiveDirectoryPrincipal.gssCredential MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium

net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User

Bug Category Details Line Priority
net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User.getAdditionalAttributes() may expose internal representation by returning ActiveDirectoryRealm$User.additionalAttributes MALICIOUS_CODE EI_EXPOSE_REP 1078 Medium
net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User.getRoles() may expose internal representation by returning ActiveDirectoryRealm$User.roles MALICIOUS_CODE EI_EXPOSE_REP 1074 Medium
new net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User(GSSName, Sid, List, Map) may expose internal representation by storing an externally mutable object into ActiveDirectoryRealm$User.additionalAttributes MALICIOUS_CODE EI_EXPOSE_REP2 1062 Medium
new net.sf.michaelo.tomcat.realm.ActiveDirectoryRealm$User(GSSName, Sid, List, Map) may expose internal representation by storing an externally mutable object into ActiveDirectoryRealm$User.roles MALICIOUS_CODE EI_EXPOSE_REP2 1061 Medium

net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult

Bug Category Details Line Priority
net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult.getTypeId() may expose internal representation by returning OtherNameParseResult.typeId MALICIOUS_CODE EI_EXPOSE_REP 37 Medium
net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult.getValue() may expose internal representation by returning OtherNameParseResult.value MALICIOUS_CODE EI_EXPOSE_REP 46 Medium
new net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult(byte[], byte[]) may expose internal representation by storing an externally mutable object into OtherNameParseResult.typeId MALICIOUS_CODE EI_EXPOSE_REP2 27 Medium
new net.sf.michaelo.tomcat.realm.asn1.OtherNameParseResult(byte[], byte[]) may expose internal representation by storing an externally mutable object into OtherNameParseResult.value MALICIOUS_CODE EI_EXPOSE_REP2 28 Medium