users@jacc-spec.java.net

Should JACC providers be able to access resources (from JNDI)

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Wed, 31 Aug 2016 11:30:59 +0200

Hi,

Similarly as what was asked for SAMs over at the JASPIC mailing list a
while back, I wonder if a JACC provider (specifically the policy) should be
able/allowed to access resources from JNDI. Such resource could be a global
data source like e.g. java:global/ds, or a data source local to the
application for which the Policy is called like e.g. java:app/ds.

I tested a number of servers (JBoss, GlassFish/Payara, IBM Liberty, and
TomEE), and found that in all those servers a JACC module can indeed use
JNDI, with the exception of GlassFish in some cases.

Kind regards,
Arjan Tijms