[jboss-jira] [JBoss JIRA] (WFLY-7396) No log messages comming from Elytron - exception handling

Darran Lofthouse (JIRA) issues at jboss.org
Tue Jan 24 11:47:03 EST 2017


     [ https://issues.jboss.org/browse/WFLY-7396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Darran Lofthouse resolved WFLY-7396.
------------------------------------
    Resolution: Done


> No log messages comming from Elytron - exception handling
> ---------------------------------------------------------
>
>                 Key: WFLY-7396
>                 URL: https://issues.jboss.org/browse/WFLY-7396
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Martin Choma
>            Assignee: Jan Kalina
>            Priority: Critical
>             Fix For: 11.0.0.Alpha1
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list