tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Louis MONTEIRO (JIRA)" <>
Subject [jira] [Closed] (TOMEE-1487) CDI Event based realm
Date Thu, 08 Jan 2015 14:30:34 GMT


Jean-Louis MONTEIRO closed TOMEE-1487.
       Resolution: Fixed
    Fix Version/s: 1.7.2

> CDI Event based realm
> ---------------------
>                 Key: TOMEE-1487
>                 URL:
>             Project: TomEE
>          Issue Type: New Feature
>            Reporter: Jean-Louis MONTEIRO
>             Fix For: 2.0.0, 2.0.0-Milestone-1, 1.7.2
> It's sometimes required to reuse a business logic layer to authenticate a user. Let's
say a JPA set of entities and business logic to connect to a backend.
> In order to avoid putting all the app in the container, we created the LazyRealm (which
is also a CDI enabler) so that you can provide the realm in your webapp.
> It's fine, but then, it requires the user to always create a realm wrapper to which the
LazyRealm can delegate to. The wrapper can get business beans and delegate the authentication.
> It could be better to instead have a generic CDI realm firing CDI events so that the
webapp can react and do the authentication.

This message was sent by Atlassian JIRA

View raw message