-
Bug
-
Resolution: Won't Do
-
Blocker
-
None
-
None
This factory is the last point where we handle unexpected exceptions and errors during authentication so they should be logged at trace level otherwise the information is lost making debugging via logs impossible.
e.g.
10:12:59,589 ERROR [stderr] (management task-8) javax.security.sasl.SaslException: ELY05053: [JBOSS-LOCAL-USER] Callback handler failed for unknown reason [Caused by java.lang.NoClassDefFoundError: javax/json/Json]
10:12:59,589 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AbstractSaslParticipant.tryHandleCallbacks(AbstractSaslParticipant.java:105)
10:12:59,589 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AbstractSaslParticipant.handleCallbacks(AbstractSaslParticipant.java:85)
10:12:59,589 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.localuser.LocalUserServer.evaluateMessage(LocalUserServer.java:253)
10:12:59,589 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AbstractSaslParticipant.evaluateMessage(AbstractSaslParticipant.java:180)
10:12:59,589 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AbstractSaslServer.evaluateResponse(AbstractSaslServer.java:52)
10:12:59,590 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AuthenticationCompleteCallbackSaslServerFactory$1.evaluateResponse(AuthenticationCompleteCallbackSaslServerFactory.java:58)
10:12:59,590 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.AuthenticationTimeoutSaslServerFactory$DelegatingTimeoutSaslServer.evaluateResponse(AuthenticationTimeoutSaslServerFactory.java:106)
10:12:59,590 ERROR [stderr] (management task-8) at org.wildfly.security.sasl.util.SecurityIdentitySaslServerFactory$1.evaluateResponse(SecurityIdentitySaslServerFactory.java:57)
10:12:59,590 ERROR [stderr] (management task-8) at org.xnio.sasl.SaslUtils.evaluateResponse(SaslUtils.java:245)
10:12:59,590 ERROR [stderr] (management task-8) at org.xnio.sasl.SaslUtils.evaluateResponse(SaslUtils.java:217)
10:12:59,590 ERROR [stderr] (management task-8) at org.jboss.remoting3.remote.ServerConnectionOpenListener$AuthStepRunnable.run(ServerConnectionOpenListener.java:470)
10:12:59,591 ERROR [stderr] (management task-8) at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:897)
10:12:59,592 ERROR [stderr] (management task-8) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
10:12:59,592 ERROR [stderr] (management task-8) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
10:12:59,592 ERROR [stderr] (management task-8) at java.lang.Thread.run(Thread.java:748)
10:12:59,592 ERROR [stderr] (management task-8) Caused by: java.lang.NoClassDefFoundError: javax/json/Json
10:12:59,592 ERROR [stderr] (management task-8) at org.wildfly.security.audit.JsonSecurityEventFormatter.handlePermissionCheckEvent(JsonSecurityEventFormatter.java:109)
10:12:59,592 ERROR [stderr] (management task-8) at org.wildfly.security.audit.JsonSecurityEventFormatter.handlePermissionCheckEvent(JsonSecurityEventFormatter.java:43)
10:12:59,592 ERROR [stderr] (management task-8) at org.wildfly.security.auth.server.event.SecurityEventVisitor.handlePermissionCheckSuccessfulEvent(SecurityEventVisitor.java:104)
10:12:59,593 ERROR [stderr] (management task-8) at org.wildfly.security.auth.server.event.SecurityPermissionCheckSuccessfulEvent.accept(SecurityPermissionCheckSuccessfulEvent.j