Details
-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
Description
Log error messages from exceptions into log, where it can be useful. See https://issues.jboss.org/browse/JBEAP-6041 for more details.
It happened to me twice elytron doesn't log exceptions into log, which would be useful for me, but instead just ignore it. I get to them, once I was debugging code.
- https://github.com/wildfly-security/wildfly-elytron/blob/cb57f2f0ffcdb1470e3135007603c97679b9434f/src/main/java/org/wildfly/security/auth/server/ServerAuthenticationContext.java#L810
- https://github.com/wildfly-security/wildfly-elytron/blob/7666231fa76b95c3c97eed0d16968a5f77a7de22/src/main/java/org/wildfly/security/http/impl/SpnegoAuthenticationMechanism.java#L144
- exceptin which was ignored here "java.security.PrivilegedActionException: GSSException: Unsupported mechanism requested: 1.2.840.48018.1.2.2"
Please review also other exception handling places, if exceptions are handled correctly.
Attachments
Issue Links
- clones
-
JBEAP-6677 No log messages comming from Elytron - exception handling
- Verified