-
Bug
-
Resolution: Done
-
Critical
-
None
-
7.1.0.CR2
-
None
The Elytron SASL mechanism implementations don't throw IllegalStateException when calling the getNegotiatedProperty() method before the negotiation is finished.
The contract of the Object javax.security.sasl.SaslClient.getNegotiatedProperty(String propName) says:
Retrieves the negotiated property. This method can be called only after the authentication exchange has completed (i.e., when isComplete() returns true); otherwise, an IllegalStateException is thrown.
The same is valid for the SaslServer interface.
- is cloned by
-
ELY-1380 Calling getNegotiatedProperty for Elytron SASL mechanisms doesn't throw IllegalStateException when negotiatition is not completed
- Resolved