Istvan Toth created KAFKA-18064:
-----------------------------------
Summary: SASL SCRAM should throw exception on wrap/unwrap
Key: KAFKA-18064
URL: https://issues.apache.org/jira/browse/KAFKA-18064
Project: Kafka
Issue Type: Bug
Components: security
Reporter: Istvan Toth
wrap/unwrap should throw an exception unless a non-auth QOP has been negotiated.
SCRAM only supports auth QOP, so wrap/unwrap should always throw
IllegalStateException.
[https://docs.oracle.com/en/java/javase/23/docs/api/java.security.sasl/javax/security/sasl/SaslClient.html#unwrap(byte%5B%5D,int,int)]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)