]
Ilia Vassilev updated ELY-1479:
-------------------------------
Fix Version/s: 1.2.0.Final
Coverity, Missing call to superclass in AbstractGssapiMechanism
---------------------------------------------------------------
Key: ELY-1479
URL:
https://issues.jboss.org/browse/ELY-1479
Project: WildFly Elytron
Issue Type: Bug
Components: Authentication Mechanisms
Affects Versions: 1.2.0.Beta11
Reporter: Martin Choma
Assignee: Ilia Vassilev
Fix For: 1.2.0.Final
super.getNegotiatedProperty() is not called in
AbstractGssapiMechanism#getNegotiatedProperty, although it is called in similar cases in
Gs2SaslServer, DigestSaslServer, AnonymousSaslClient.
{code:java|title=AbstractGssapiMechanism.java}
@Override
public Object getNegotiatedProperty(String propName) {
assertComplete();
switch (propName) {
case Sasl.QOP:
return selectedQop.getName();
case Sasl.MAX_BUFFER:
return Integer.toString(actualMaxReceiveBuffer != 0 ?
actualMaxReceiveBuffer : configuredMaxReceiveBuffer);
case Sasl.RAW_SEND_SIZE:
return Integer.toString(maxBuffer);
}
return null;
}
{code}
This coverity report is not caused by recent change in AbstractGssapiMechanism but rather
Gs2SaslServer and DigestSaslServer
[1]
https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=44847...