-
1. Re: Custom Login Modules with 7.1
jsexton Aug 13, 2013 5:24 PM (in response to jsexton)Since posting this, I have tried all the same options with the EJB in a jar file, and the jar included in the EAR, instead of having the EJBs directly in the WAR file.
I also tried deploying just the EJBs in a jar file, with the annotation, and a jboss-ejb3.xml file.
I know the authentication module is loaded and active because it shows up in the admin pages. And I know jBoss is parsing my various descriptors because I can get an error if I mal-form them, or duplicate information in multiple files.
However, it simply will not invoke the custom login code... No error messages either...
-
2. Re: Custom Login Modules with 7.1
jsexton Aug 14, 2013 10:36 AM (in response to jsexton)My problem appears to have something to do with my accessing this EJB as a webservice.
@Stateless
@WebService
@SecurityDomain("SimpleAuth")
public class Sample implements SampleRemote {
public int one()
{
return 1;
}
Accessing this via SOAP does not invoke the security module.