Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002304 [Resin] minor always 01-09-08 08:52 01-10-08 14:01
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.4
Summary 0002304: Authenticator needs to be webbeans-aware
Description (rep by Andreas Fischer)
I try to write an Authenticator that uses a persistence unit that
stores users identities.
The unit is stored in ext-webapps so multiple applications can use it.

If I try to use annotations only null is passed as the persistence
manager. If I try to look either the persistence context up in the
authenticator over JNDI I get a name not found. Even if I try to delay
the actual lookup until loginImpl is called the Unit / Context can
still not be found.

Looking up the same context in an example servlet works over
annotations.

It shouldn't be such an uncommon case for an authenticator to access
infomration from a persistence context? I mean it is easy to work
arround the problem by using SQL queries but using the persistence
unit approach would make things easier.


Additional Information
Attached Files

- Relationships

- Notes
(0002637)
ferg
01-10-08 14:01

server/1a22
 

- Issue History
Date Modified Username Field Change
01-09-08 08:52 ferg New Issue
01-10-08 14:01 ferg Note Added: 0002637
01-10-08 14:01 ferg Assigned To  => ferg
01-10-08 14:01 ferg Status new => closed
01-10-08 14:01 ferg Resolution open => fixed
01-10-08 14:01 ferg Fixed in Version  => 3.1.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker