-
Bug
-
Resolution: Done
-
Major
-
4.0.7.Final
-
None
As documented in JBEAP-12279, remoting throws two different exceptions for failed authentication depending whether the connection was already opened or not: SaslException or AuthenticationException
But EJB clients use "instanceof SaslException" to determine, whether the fail was an authentication of or the target server is unavailable:
Should accept both exceptions, unless JBEAP-12279 will be resolved.
(but unification to AuthenticationException was rejected and reverted and unification to SaslException is blocked by elytron public api change - better to accept both exceptions here)