I have created my own JAAS login module by extending AbstractServerLoginModule as suggested in the jboss docs..
Where do I put this module? When I jar it up and put it into any of the jboss lib directories it can't be found (including WEB-INF/lib of my war files).. When I include it on the JBOSS_CLASSPATH it gets found OK but the server then claims not to be able to find AbstractServerLoginModule like so: java.lang.NoClassDefFoundError: org/jboss/security/auth/spi/AbstractServerLoginM odule at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11 1) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:557) at javax.security.auth.login.LoginContext.access$000 I am running JBOSS 3.1.0 off the HEAD stream.. and I have had no problems getting the UsersRolesLoginModule etc to work.. I have tried jdk1.3.1_03 and jdk1.4.. I am on W2K. Yours Phil ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user