Skip to Content
0
Dec 27, 2007 at 08:51 AM

JAAS - odd life cycle

23 Views

Hi everybody

I have developed a JAAS login module for j2ee engine 7.0.

The module behaves properly until login() is executed, but afterwards the whole java module object is discarded(or "killed") by the java runtime. No exception is thrown, it just disappears from the NWDS debugger view.

What's worse, when logout() is executed, the module is re-instanciated and of course re-initialized: as it is a completely new module object, the internal state is lost!

Has anyone ever faced this issue before?

Thanks a lot

Point will be awarded

Vincenzo