Re: jwt loginmodule

2021-08-13 Thread Matthew Broadhead
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
 wrote:


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





Re: jwt loginmodule

2021-08-12 Thread Jonathan Gallimore
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
 wrote:

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


jwt loginmodule

2021-08-12 Thread Matthew Broadhead

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