SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.10.5
Threshold is medium
Effort is default
Summary
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 333 | 41 | 0 | 0 |
Files
com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAccessTokenToken
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| The field com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAccessTokenToken.accessToken is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAuthorizationRequestToken
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAuthorizationRequestToken.getPrincipal() may expose internal representation by returning LegacyImplicitAuthorizationRequestToken.user | MALICIOUS_CODE | EI_EXPOSE_REP | 119 | Medium |
| new com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAuthorizationRequestToken(String, String, Set, String, Authentication) may expose internal representation by storing an externally mutable object into LegacyImplicitAuthorizationRequestToken.user | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
| The field com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitAuthorizationRequestToken.user is transient but isn't set by deserialization | BAD_PRACTICE | SE_TRANSIENT_FIELD_NOT_RESTORED | Not available | Medium |
com.irurueta.authserver.authorization.api.web.ott.OttSecondFactorToken
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.ott.OttSecondFactorToken.primary() may expose internal representation by returning OttSecondFactorToken.primary | MALICIOUS_CODE | EI_EXPOSE_REP | 86 | Medium |
| new com.irurueta.authserver.authorization.api.web.ott.OttSecondFactorToken(Authentication, String, String) may expose internal representation by storing an externally mutable object into OttSecondFactorToken.primary | MALICIOUS_CODE | EI_EXPOSE_REP2 | 55 | Medium |
com.irurueta.authserver.authorization.api.web.totp.TotpAuthenticationFilter
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new com.irurueta.authserver.authorization.api.web.totp.TotpAuthenticationFilter(AuthenticationManager, CreateTrustedDeviceUseCase, SecondFactorUserResolver, TrustedDeviceCookieWriter, PendingRecoveryCodes) may expose internal representation by storing an externally mutable object into TotpAuthenticationFilter.cookieWriter | MALICIOUS_CODE | EI_EXPOSE_REP2 | 103 | Medium |
com.irurueta.authserver.authorization.api.web.totp.TotpAuthenticationToken
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.totp.TotpAuthenticationToken.primary() may expose internal representation by returning TotpAuthenticationToken.primary | MALICIOUS_CODE | EI_EXPOSE_REP | 94 | Medium |
| new com.irurueta.authserver.authorization.api.web.totp.TotpAuthenticationToken(Authentication, String, TotpCodeKind) may expose internal representation by storing an externally mutable object into TotpAuthenticationToken.primary | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.audiences() may expose internal representation by returning ClientRequest.audiences | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.authMethods() may expose internal representation by returning ClientRequest.authMethods | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.grantTypes() may expose internal representation by returning ClientRequest.grantTypes | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.jwks() may expose internal representation by returning ClientRequest.jwks | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.postLogoutRedirectUris() may expose internal representation by returning ClientRequest.postLogoutRedirectUris | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.redirectUris() may expose internal representation by returning ClientRequest.redirectUris | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest.scopes() may expose internal representation by returning ClientRequest.scopes | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.audiences | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.authMethods | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.grantTypes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.jwks | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.postLogoutRedirectUris | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.redirectUris | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientRequest(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientRequest$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientRequest.scopes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 210 | Medium |
com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.audiences() may expose internal representation by returning ClientResponse.audiences | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.authMethods() may expose internal representation by returning ClientResponse.authMethods | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.grantTypes() may expose internal representation by returning ClientResponse.grantTypes | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.jwks() may expose internal representation by returning ClientResponse.jwks | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.postLogoutRedirectUris() may expose internal representation by returning ClientResponse.postLogoutRedirectUris | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.redirectUris() may expose internal representation by returning ClientResponse.redirectUris | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse.scopes() may expose internal representation by returning ClientResponse.scopes | MALICIOUS_CODE | EI_EXPOSE_REP | 52 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.audiences | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.authMethods | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.grantTypes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.jwks | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.postLogoutRedirectUris | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.redirectUris | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.ClientResponse(String, String, Boolean, List, List, List, List, Boolean, List, Duration, Duration, String, Boolean, List, Boolean, Boolean, URI, Map, ClientResponse$TokenEndpointAuthSigningAlgorithmEnum, String, Boolean) may expose internal representation by storing an externally mutable object into ClientResponse.scopes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 | Medium |
com.irurueta.authserver.authorization.api.web.v1.generated.model.Problem
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.v1.generated.model.Problem.violations() may expose internal representation by returning Problem.violations | MALICIOUS_CODE | EI_EXPOSE_REP | 33 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.Problem(URI, String, Integer, String, URI, List) may expose internal representation by storing an externally mutable object into Problem.violations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 35 | Medium |
com.irurueta.authserver.authorization.api.web.v1.generated.model.RecoveryCodesResponse
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| com.irurueta.authserver.authorization.api.web.v1.generated.model.RecoveryCodesResponse.recoveryCodes() may expose internal representation by returning RecoveryCodesResponse.recoveryCodes | MALICIOUS_CODE | EI_EXPOSE_REP | 28 | Medium |
| new com.irurueta.authserver.authorization.api.web.v1.generated.model.RecoveryCodesResponse(List, Integer) may expose internal representation by storing an externally mutable object into RecoveryCodesResponse.recoveryCodes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
