Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1521

Coverity, SpnegoContext is Serializable; consider declaring a serialVersionUID

XMLWordPrintable

      New class SpnegoContext is Serializable, but does not define serialVersionUID explicitely.

      /src/main/java/org/wildfly/security/http/impl/SpnegoAuthenticationMechanism.java: 466 in ()
      460             } catch (AuthenticationMechanismException e) {
      461                 throw e.toHttpAuthenticationException();
      462             } catch (UnsupportedCallbackException ignored) {
      463             }
      464         }
      465
      >>>     CID 1465386:  FindBugs: Bad practice  (FB.SE_NO_SERIALVERSIONID)
      >>>     org.wildfly.security.http.impl.SpnegoAuthenticationMechanism$SpnegoContext is Serializable; consider declaring a serialVersionUID.
      466         private static class SpnegoContext implements Serializable {
      467             transient GSSContext gssContext;
      468             transient KerberosTicket kerberosTicket;
      469         }
      470
      

      [1] https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRYZquIFszCcwQkbx6rX2y-2BU3cXaE6CARUgniXZ7-2Bnr5WUQSJUaqvnVjrZTiOPiZUjE4gHFruUvUWirJK4uYfLLJ_2fPkMU1miRf-2FtjnMal9VVM35TqEfZozw4WTtk2YIMAIQ7ZX-2FrqN52DKamGWKkc-2BZ03nPXlDJ8513Hxh3bIGgozWV-2Br58G9cuPIcBSTZ0sZKFnBORW-2FVQq-2FlhVvsXloi5sz0yTu3g4X7ubZS16dIlMfNaHUR5ruCrctY-2B3N8QkrhuWYcGTEnDzc6FCrtIbD-2FEv9t7uYGSACfKYaHRPZEUVQ-3D-3D

              rhn-support-ivassile Ilia Vassilev
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: