Hello,
I noticed that the values for SECURITY_PRINCIPAL and SECURITY_CREDENTIALS specified by my app are not taken into account.
Here is a snippet from my app:
p.put(Context.SECURITY_PRINCIPAL,"sa"); p.put(Context.SECURITY_CREDENTIALS,"WRONG");
Start with the JAAS Howto topic in this forum.