]
Jan Kalina reassigned ELY-742:
------------------------------
Fix Version/s: 1.1.0.Alpha1
Assignee: David Lloyd
Resolution: Done
SASL client mechs should use
javax.security.sasl.AuthenticationException where appropriate
------------------------------------------------------------------------------------------
Key: ELY-742
URL:
https://issues.jboss.org/browse/ELY-742
Project: WildFly Elytron
Issue Type: Task
Components: Authentication Mechanisms, SASL
Reporter: David Lloyd
Assignee: David Lloyd
Priority: Minor
Fix For: 1.1.0.Alpha1
There is a specific exception type which indicates that a SASL authentication has failed
as opposed to a protocol/transit or operational problem. We should use that whenever
appropriate.
This means we'd need to add a {{toSaslAuthenticationException()}} method to
{{org.wildfly.security.mechanism.AuthenticationMechanismException}}.