[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jakarta.ee-community] Is Jakarta EE Security missing something?
|
- From: Reza Rahman <reza_rahman@xxxxxxxx>
- Date: Wed, 23 Apr 2025 08:01:28 -0400
- Delivered-to: jakarta.ee-community@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/jakarta.ee-community/>
- List-help: <mailto:jakarta.ee-community-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/jakarta.ee-community>, <mailto:jakarta.ee-community-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/jakarta.ee-community>, <mailto:jakarta.ee-community-request@eclipse.org?subject=unsubscribe>
- Thread-topic: Re: [jakarta.ee-community] Is Jakarta EE Security missing something?
- Ui-outboundreport: notjunk:1;M01:P0:a/WxGC06E4Q=;Xtr0n/1PwI4AjMfatClypc1BJnt TJJUDfazlKrdQPEtNAIUTneslEPC0XGydO9PbhciS8y9EkGE/gw2iBjFGNTvSTkl437vLy2LN DJ45/hDL8NG8sdWU7GDL4wjPHBPmdvpSj9Tdk2H4soSimMA1RD5P0JHrTrOWsV464Yd568PrT VPsECLBpDclKlAxTu/IIxY6CDvCI1ttPZt2Uz3wohkt8Gpz8unPt5awsJL+RnIpaZTAy/j1gT StoktkTtCWrL8DLeYvDmE5NXgi4Lc8d+1giAkIMm03tAyLT+KR65FUN6YiUZDRcaue3SUUYRP nWgaeGbK9mUF+UabP+KbnXD+ae2J6jqQsDB82NiqmE5XddL6IQwNm5kjWuMjyv9JwY/0Ly47M RBIi6K8KvDzNKpPukkp1Kmh9qXnI/YposiRCak/ZH6UDLlOgTPE4+7X7XqnuUu/3O9PWIKztN RqklAJSyL0/eWGfIiGMbVGW2Rk0iFdfLsjRtJ3tIkqn5bs/RmXFik9Zf8agpWsdvZSMEbixuV 3y/94Dqc4b5oIWH0UXkVl8dHSgDOwXuLuCWXZg3SgHCSoBqhASFljQ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fe5GiLLNN/AI3FRVQAzZiFK1acJOmfreqGyytU795I9MCP+ZspIxkvluJRVP7 jWS+bSkQ+64Wfhc6qaWWlYcfuQ44tkF6fiovahN4pJ7Hk1Zs3QEe9WI2kboVNaXxdpwZGqs9n WdsuiET14D16Ds5C8g81U2mJJnKdNSSG0q7dyKRiLT6JNY/Dd3THcJ9TI5O4TX9pPkDe/4QjL Ujp//IH/dOzZCn2ffBD7hmoe5WcLXnQzGQ4Q7huLv9hAiZIz6L0SlNBCWz9anE9nv8mIMeJqX 4pGGMBZnzlsGb95Q9paQCJoz29BSeAg+WlJ1qRY51wLGxz0t+yLJJB96ZwtA/c0cOQJnzwTEy IzqUeFJBvATt0a1tLg3U6d7gDiS23FBxVF1BII45JyqHTsCQoBYiU38zjXwELdMPgIU0bthHb lqPmS5ee//Dq9WX6f8vY5VrTerjz9W3g7f/tWOUSKlsnXZCnHCAqx2Ew==
Looping in Jakarta Security mailing list.
From: jakarta.ee-community <jakarta.ee-community-bounces@xxxxxxxxxxx> on behalf of Ralph Soika via jakarta.ee-community <jakarta.ee-community@xxxxxxxxxxx>
Sent: Wednesday, April 23, 2025 2:55 AM
To: Jakarta EE community discussions <jakarta.ee-community@xxxxxxxxxxx>
Cc: Ralph Soika <ralph.soika@xxxxxxxxx>
Subject: [jakarta.ee-community] Is Jakarta EE Security missing something?
Hi,
I'm not sure if this is the right place for my question, but I'm
a bit confused. It's about the new capabilities in Jakarta EE 10
regarding OpenID Integration (OIDC).
With the @OpenIdAuthenticationMechanismDefinition annotation
Jakarta EE supports a cool way to integrate the oidc
authentication flow. But this annotation (supported by all actual
platforms) is only for browser based authentication. I have always
assumed that this mechanism also supports programmatic logins. But
this is obviously not the case.
This means: If you add the
@OpenIdAuthenticationMechanismDefinition to your Jakarta EE app
you can connect your app easily with different Identity provider
platforms (e.g. Keycloak) and users can authenticate in a secure
way via Web browsers. But if you need to perform a programmatic
login - for example in a microservice architecture where an
external service need to access your applications API you are
totally lost. I can't believe that I'm the only one who makes this
requirement?
Wildfly offers its own proprietary solution (I think based on
soteria) that supports exactly this feature. But this means that
the application is no longer platform-neutral and you are forced
to use the elytron library "wildfly-elytron-http-oidc" to get out
user attributes from the users claim.
I have written a blog about this feature here:
https://ralph.blog.imixs.com/2025/03/26/wildfly-29-oidc-bearer-token-authentication/
I guess your answer in this forum will be that Jakarta EE is just
a specification and if I need such a feature I can implement my
own jaspi login module. But can that really be true? Not every
developer writes his own jaspi Login module. I myself shy away
from it, because I expect that I will very quickly reach a point
where I am no longer platform independent.
Can anyone help me with this question? Or am I missing an
important concept of Jakarta EE all the time?
I have already written issues about this at Wildfly and soteria
and on Stackoverflow. But somehow the community is silent on this
topic.
Thanks for your help in advance
===
Ralph
--
Imixs Software Solutions GmbH
Web: www.imixs.com Phone:
+49 (0)89-452136 16
Timezone: Europe/Berlin - CET/CEST
Office: Frei-Otto-Str. 4, 80797 München
Registergericht: Amtsgericht München, HRB 136045
Geschäftsführer: Gaby Heinle u. Ralph Soika
Imixs is an open source company,
read more: www.imixs.org