Does not JBoss support the "unchecked" element in ejb-jar.xml/method-permission?

In my ejb-jar.xml I have the following fragment:

   <method-permission >
      <unchecked/>
      <method >
         <ejb-name>SilData</ejb-name>
         <method-intf>Home</method-intf>
         <method-name>create</method-name>
         <method-params>
         </method-params>
      </method>
   </method-permission>

However, when I try to call this method by:

        cat.debug( "silPlatromfTest: setUp() " );
        EjbHomeFactory ehf = EjbHomeFactory.getFactory();
        cat.debug( "setup(): getFactory()" );
        SilDataHome sdh = ehf.lookUpSilDataHome();
        cat.debug( "setup(): lookUpSilDataHome()" );
        sRemote = sdh.create();

The last one fails with:

     [java] java.rmi.ServerException: RemoteException occurred in server thread; 
nested exception is: 
     [java]     java.rmi.ServerException: EJBException:; nested exception is: 
     [java]     javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
     [java]     Authentication exception, principal=null
     [java] java.rmi.ServerException: EJBException:; nested exception is: 
     [java]     javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
     [java]     Authentication exception, principal=null
     [java] javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
     [java]     Authentication exception, principal=null
     [java]     at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)


JBoss version is 3.0.2.

-- 
 Jon Haugsand, [EMAIL PROTECTED]
 http://www.norges-bank.no



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to