Martin Choma created ELY-1521:
---------------------------------
Summary: Coverity, SpnegoContext is Serializable; consider declaring a
serialVersionUID
Key: ELY-1521
URL:
https://issues.jboss.org/browse/ELY-1521
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Mechanisms
Affects Versions: 1.2.1.Final, 1.3.0.CR1
Reporter: Martin Choma
New class SpnegoContext is Serializable, but does not define serialVersionUID
explicitely.
{code}
/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
{code}
[1]
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)