Erez Nahir wrote:
> 
> Hello Philip, Thomas and others,
> 
> I'm facing the same problem you have had.
> I'm trying to integrate Jonas 2.2.7 and Tomcat 3.2.1 on a win 2k platform
> with RMI connection. (JDK 1.3).
> 
> I tried to implement the SecurityCtxInterceptor32 as you mentioned and also
> with a different authorize method:
> 
> public int  Request req, Response res, String[] roles)
> 
> Nothing.
> 
> The exception I get is:
> Cannot create OpBean: java.rmi.ServerException: RemoteException occurred in
> server thread; nested exception is: java.rmi.RemoteException: checkSecurity,
> ..... caller not authorized to access the method.
> 
> If you have found any answer pleas share it :-(
> 
> Thanks,
> 
> Erez
> 

Hi,

the SecurityCtxInterceptor32 that I mentioned in my previous mail
was not correct because authorize has an additional parameter String[]
roles
have you replaced 
int result = super.authorize (req, response);
by
int result = super.authorize (req, response, roles) ;
in your interceptor?
regards,

-- 
        Philippe

Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to