xiang yingbing [
https://community.jboss.org/people/ybxiang.china] commented on the
document
"JBoss 7 and Ejb remote call with security"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-17581#comment-10340
--------------------------------------------------
Hello
https://community.jboss.org/people/mates1234 Petr Mates,
Did you tested those codes with JBoss AS 7.1.1 Final???
I always get bellow exception on the server during EJB client calling:
23:17:39,421 ERROR [org.jboss.ejb3.invocation] (EJB default - 4)
JBAS014134: EJB Invocation failed on component SecuredR
emoteSession for method public abstract java.lang.String
com.ybxiang.nms.server.ejb.session.ISecuredRemoteSession.getNam
e(): javax.ejb.EJBAccessException: JBAS014502: Invocation on method: public abstract
java.lang.String com.ybxiang.nms.se
rver.ejb.session.ISecuredRemoteSession.getName() of bean: SecuredRemoteSession is not
allowed
at
org.jboss.as.ejb3.security.AuthorizationInterceptor.processInvocation(AuthorizationInterceptor.java:101)
[jbo
ss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
--------------------------------------------------