Hi,
you need to add the appserv-rt.jar from the glassfish_inst/lib folder to your java project. To do so, right-click the "Libraries" folder in NetBeans and select "Add JAR" ... This jar file contains the com.sun.appserv.security.AppservPasswordLoginModule class.
Kai
[Message sent by forum member 'hudalla' (hudalla)]
http://forums.java.net/jive/thread.jspa?messageID=263907