[jboss-jira] [JBoss JIRA] (WFWIP-280) Warnings propagated from io.smallrye.jwt.auth.* don't have assigned ID

Darran Lofthouse (Jira) issues at jboss.org
Wed Dec 11 06:54:00 EST 2019


    [ https://issues.redhat.com/browse/WFWIP-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823822#comment-13823822 ] 

Darran Lofthouse commented on WFWIP-280:
----------------------------------------

I don't agree this is a Blocker, by flagging as a Blocker it is effectively saying that we will not include this feature in WildFly unless it is resolved.

>From the perspective of Wildfly SmallRye is a third party project, it is not our place to force WildFly coding standards onto a third party project.  I am going to see if they will accept a contribution to accept message IDs in their project but if for any reason they choose not to accept this we will be using SmallRye JWT with messages that do not contain an ID.

The wiki page you are quoting is specifically in relation to JBoss projects, SmallRye is NOT a JBoss project.  Due to this I am going to drop the priority to Critical, I am happy we prioritise looking for a solution but not omitting an entire feature.

As with all third party projects we have to accept the logging they provide us with.  Exceptions may be slightly different as we could have an opportunity to catch any exception thrown and log it ourselves or rethrow it ourselves with a new associated ID but we do not have that option for logged messages.

[~maeste] / [~bstansberry2] FYI ^^^ When we pull in a third party library to the application server instead of developing it ourselves we can not be imposing JBoss logging requirements onto that component.




> Warnings propagated from io.smallrye.jwt.auth.* don't have assigned ID
> ----------------------------------------------------------------------
>
>                 Key: WFWIP-280
>                 URL: https://issues.redhat.com/browse/WFWIP-280
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP JWT
>            Reporter: Jan Kasik
>            Assignee: Darran Lofthouse
>            Priority: Blocker
>
> Warning which are propagated to log from io.smallrye.jwt.auth package don't have assigned logging ID.
> Example:
> {code}
> 11:52:50,705 WARN  [io.smallrye.jwt.auth.mechanism.JWTHttpAuthenticationMechanism] (default task-1) Unable to validate bearer token: Failed to verify token: io.smallrye.jwt.auth.principal.ParseException: Failed to verify token
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list