Can anyone tell me how to connect to a realm that is defined in the Glassfish administrator from my Java code?
In Glassfish I have defined a file realm and created some users in it. Then I tried to make a LoginContext in my Java app and get the users from the realm. I know that I don't 'need' to do this and that I could let Glassfish handle the logging in, but I'm using Wicket and would like to use there authorization mechanism. Which means I need to access that realm.
Any advice?
I'm using Glassfish v2.1-b60e-windows, Java 1.6, and Wicket 1.4-rc2.
Regards,
Linda
[Message sent by forum member 'lvdpal' (lvdpal)]
http://forums.java.net/jive/thread.jspa?messageID=339550