It seems as if the principalsQuery is not being set as per the login-config.xml detail.
What do I do (in log4j.xml) to get the trace so that I can see what the principalsQuery was set to? My client code is as follows: | System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | System.setProperty(Context.PROVIDER_URL,"jnp://localhost:1099"); | System.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); | handler = new MyCallbackHandler("smith", "smith".toCharArray()); | lc = new LoginContext("SecurityTest", handler); | lc.login(); | | context = new InitialContext(System.getProperties()); | objRef = context.lookup("ejb/SecuredSLSB"); | slsbHome = (SecuredSLSBHome)javax.rmi.PortableRemoteObject.narrow(objRef, SecuredSLSBHome.class); | securedSLSB = slsbHome.create(); | System.out.println("securedSLSB.securedSLSBFunction = "+securedSLSB.securedSLSBFunction()); | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858769#3858769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858769 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user