Hi, I have a similar situation than the one described above.
| @Stateless | @Remote(Test.class) | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | @SecurityDomain("java:/jaas/MyDomain") | public class TestService implements Test { | | @WebMethod | public String test() { | return "test"; | } | } | I'm trying to protect my 181 SLSB WS by HTTP BASIC authentication but using my custom login module. If I use the @SecurityDomain("MyDomain") annotation with MyDomain as defined in login-config.xml, each client call to any of the @WebMethod methods causes the following exception: | 16:01:07,478 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | However, the MyDomain configuration does not include a reference to the UsersRolesLoginModule. Also, the login() method in MyLoginModule (as defined in MyDomain in login-config.xml) is never called. So I feel like it's not actually using MyDomain as security domain, but something else instead (JBossWS)? Any ideas? Thanks, Georges View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971577#3971577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971577 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user