[jboss-user] [EJB3] - Re: security in ejb3.1 using jboss 6.0 CR1

aravind kopparthi do-not-reply at jboss.com
Wed Dec 15 11:11:26 EST 2010


aravind kopparthi [http://community.jboss.org/people/aravindsk] created the discussion

"Re: security in ejb3.1 using jboss 6.0 CR1"

To view the discussion, visit: http://community.jboss.org/message/576186#576186

--------------------------------------------------------------
just for checking using annotation even though i would like to keep the security-domain name in configuration over convention ( as it is jboss specific)
i did not work 
@org.jboss.ejb3.annotation.SecurityDomain("javaee6-app")
@Stateless
*public* *class* SLSBProcessBean
{
...
 
@RolesAllowed(Roles.BUSINESS)
*public* List getMembers(){
and also Jai you mentioned about TRACE in log4j.xml: I could not find the log4j.xml. can i modify something in jboss-logging.xml?



i added below dependency : i had to use provided other wise it did not get deployed properly ( i got class name null)
<dependency>
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-ext-api</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
              <dependency>
 <groupId>org.jboss.ejb3</groupId>
 <artifactId>jboss-ejb3-ext-api</artifactId>
 <version>1.1.1</version>
 <scope>provided</scope>
 </dependency>


LOG: 
11:00:18,953 INFO  [com.arjuna.ats.arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
11:00:19,031 INFO  [com.arjuna.ats.arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
11:01:45,953 INFO  [STDOUT] Caller : admin

11:01:45,968 INFO  [STDOUT] Caller is in Role : false
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/576186#576186]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101215/6b8b0fd7/attachment-0001.html 


More information about the jboss-user mailing list