Relationship between Payara Platform, MicroProfile and Java EE/Jakarta EE
Cloud & Microservices
Share:
5 minutes
Published a little later than usual due to a busy conference season, this edition looks back at the key […]
4 minutes
Learning Jakarta EE can sometimes feel like solving a puzzle. You have JPA, CDI, REST, Security, and Docker... but how do they all fit together in a real-world scenario?
8 minutes
Jakarta EE applications can take anywhere from several seconds to over a minute to start, depending on their size […]
Hi Rudy,
When will JWT officially integrate with Jakarta EE Security in a next release of MicroProfile?
Hi Volker,
The integration needs to be defined by Jakarta EE Security (and MicroProfile JWT Auth has already defined some optional requirements when running in a Java EE server) but I cannot give you an answer on when there is a formal integration into Jakarta EE for the moment. There is no Github issue for this yet, but support for JWT by Security API was already on the table in the past.
However, you can already use it and you can see an example in this blog https://www.payara.fish/blog/java-ee-security-api-jsr-375/soteria-with-jwt-tokens.
Regards
Rudy
Thanks for the detailed explanation, but I meant, when is MicroProfile going to officially be saying it uses Jakarta EE Security?
I mean, it’s now using JAX-RS, CDI and JSON. When is MicroProfile saying it’s using JAX-RS, CDI, JSON and Jakarta Security?
MicroProfile is never going to use Java EE Security, because it means every MicroProfile implementation also needs to include JASPIC and JACC to name the 2 most important ones. Java EE Security is build on top of those two and thus requires them.
Regards
Rudy
Oh, I thought JASPIC was quite small? Even Tomcat has it 😉
How deep is the integration of Microprofile into Payara? Is it possible to use a newer Microprofile version with an older payara version by replacing/patching the corresponding app module jar?
Hi Lars,
There is a deep integration of the Payara Server with MicroProfile. So replacing the jar files on an older version will probably fail, especially when the major version is different (MP 1x, 2.x and 3.x).
Instead, it is recommended to upgrade Payara so that you also benefit from the bug fixings and additional features in the latest version.
Best regards
Rudy