]
Kabir Khan updated ELY-802:
---------------------------
Fix Version/s: 1.1.0.Beta37
(was: 1.1.0.Beta36)
Elytron ExternalSaslServer/Client should throw IllegalStateException
for wrap/unwrap methods
--------------------------------------------------------------------------------------------
Key: ELY-802
URL:
https://issues.jboss.org/browse/ELY-802
Project: WildFly Elytron
Issue Type: Bug
Components: SASL
Reporter: Josef Cacek
Assignee: Darran Lofthouse
Fix For: 1.1.0.Beta37
Calling {{wrap/unwrap}} methods on {{ExternalSaslServer/Client}} should throw
{{IllegalStateException}} as defines [the
contract|http://docs.oracle.com/javase/8/docs/api/javax/security/sasl/Sas...].
Currently it throws a {{SaslException}}.
--We could be inspired by OpenJDK implementation of CRAM-MD5 and do the following in
both methods:-