jaikiran pai [
https://community.jboss.org/people/jaikiran] created the discussion
"Re: @javax.annotation.security.RolesAllowed on EJBs does not work"
To view the discussion, visit:
https://community.jboss.org/message/648787#648787
--------------------------------------------------------------
herb wrote:
But shouldn't do "@SecurityDomain" (at EJB level) the same as
jboss-ejb3.xml (as also mentioned in
https://community.jboss.org/thread/177728
https://community.jboss.org/thread/177728)? Like I expected, you are using the wrong
annotation:
import org.jboss.security.annotation.SecurityDomain;
@Stateless
@SecurityDomain(value = "formauth")
public class Ejb
You should be using @org.jboss.ejb3.annotation.SecurityDomain
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/648787#648787]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]