You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Matthew Broadhead <ma...@nbmlaw.co.uk.INVALID> on 2021/08/12 07:29:30 UTC

jwt loginmodule

Is there a JWT loginmodule?
Would be nice to have an extended SQLLoginModule that used Bearer 
instead of Basic Auth

Re: jwt loginmodule

Posted by Matthew Broadhead <ma...@nbmlaw.co.uk.INVALID>.
Thanks Jon, I will try running the project and tests.  I did see that 
one but wasn't sure I could use a microprofile library in a standard 
JavaEE project

On 12/08/2021 18:24, Jonathan Gallimore wrote:
> Hi Matthew,
>
> Its not a JAAS login module, but take a look at
> https://github.com/apache/tomee/tree/master/examples/mp-rest-jwt-public-key
> - the ability to validate access via a JWT was introduced in MicroProfile
> fairly early on.
>
> Jon
>
> On Thu, Aug 12, 2021 at 8:29 AM Matthew Broadhead
> <ma...@nbmlaw.co.uk.invalid> wrote:
>
>> Is there a JWT loginmodule?
>> Would be nice to have an extended SQLLoginModule that used Bearer
>> instead of Basic Auth
>>


Re: jwt loginmodule

Posted by Jonathan Gallimore <jo...@gmail.com>.
Hi Matthew,

Its not a JAAS login module, but take a look at
https://github.com/apache/tomee/tree/master/examples/mp-rest-jwt-public-key
- the ability to validate access via a JWT was introduced in MicroProfile
fairly early on.

Jon

On Thu, Aug 12, 2021 at 8:29 AM Matthew Broadhead
<ma...@nbmlaw.co.uk.invalid> wrote:

> Is there a JWT loginmodule?
> Would be nice to have an extended SQLLoginModule that used Bearer
> instead of Basic Auth
>