Apr 13, 2018 MP-JWT call notes

17 views
Skip to first unread message

Scott Stark

unread,
Apr 13, 2018, 11:21:47 AM4/13/18
to Eclipse MicroProfile

https://docs.google.com/document/d/13nIVDJ6uxen7d57rxyARX8-vqsf3HTvC6hHnhitGZ0w/edit#heading=h.e1kx4qd247n

Attendees: Scott, David, Jean-Louis


Agenda:

Review updates on configuration, cookies, spec:


microprofile-jwt-auth-spec-1-1-snapshot.pdf:

https://drive.google.com/open?id=1EtUArnXcLVF_pxR9w0x6T19RZjSVW1Eg

microprofile-jwt-auth-spec-1-1-diff.pdf:

https://drive.google.com/open?id=1qvq8-WB2RR48x6UYgUwUn1gUjvN7HmBv


Discussions:

  • @RolesAllowed, @DenyAll, @PermitAll support. There was concern that the JWT spec is the right level to address this, and while true, we don’t have anywhere else to deal with this in MicroProfile at the moment. Suggestion was that we can only mention some of the potential issues and wait until MicroProfile 2.0 / Jakarta EE X to properly deal with this.

  • Is the the clockSkew really standard across the libraries. In Nimbus for instance it is not. Need to look at the verifier interface for a few of the popular JWT libraries to understand what should be surfaced as configuration.

  • PEM, JWK and JWKS as supported formats was discussed. It seems clear that we need to keep the embedded PEM format as it is widely supported and a non-trivial requirement to have to provide an endpoint that sources JWK/JWKS.

Action Items:

  • Scott will go through some of the popular JWT libraries to validate what token verification information is commonly supported to understand what should be made part of the MP-JWT spec.

  • Need to enumerate the key source usecases we must support in this release.

Jean-Louis Monteiro

unread,
Apr 13, 2018, 12:50:24 PM4/13/18
to Eclipse MicroProfile
Thanks Scott for the minutes

Ladislav Thon

unread,
Apr 14, 2018, 3:47:42 PM4/14/18
to MicroProfile
2018-04-13 17:21 GMT+02:00 Scott Stark <sst...@redhat.com>:
  • @RolesAllowed, @DenyAll, @PermitAll support. There was concern that the JWT spec is the right level to address this, and while true, we don’t have anywhere else to deal with this in MicroProfile at the moment. Suggestion was that we can only mention some of the potential issues and wait until MicroProfile 2.0 / Jakarta EE X to properly deal with this.


IMHO, either declarative security is part of MP JWT, in which case it should be properly specified (even if that specification reads "implementors MUST support declarative security annotations, as specified by the EJB specification, on JAX-RS resources, even if those JAX-RS resources aren't themselves session beans, with the same semantics the EJB specification mandates", or something like that), or declarative security isn't part of MP JWT spec, in which case the spec shouldn't refer to those annotations at all. Stopping halfways doesn't help anyone.

LT
Reply all
Reply to author
Forward
0 new messages