Bernhard Günter [
http://community.jboss.org/people/berni02] commented on the document
"JBoss AS7 : Security Domain Model"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16811#comment-8308
--------------------------------------------------
Hi,
My custom LoginModule, defined in standalone.xml is not called (JBoss7.1-B1), what could
be wrong? On JBoss 4.2 it was working...
The stateless beans are annotated with
@org.jboss.security.annotation.SecurityDomain("MyDomain")
and the methods:
@RolesAllowed(..)
*standalone.xml:*
<subsystem xmlns="urn:jboss:domain:security:1.1">
<security-domains>
<security-domain name="MyDomain"
cache-type="default">
<authentication>
<login-module
code="de.security.MyDatabaseLoginModule" flag="required"/>
</authentication>
</security-domain>
</security-domains>
</subsystem>
Regards,
Bernhard
--------------------------------------------------