I have implemented security on my application and I´m a newbie
with these questions. My apply catch the exceptions and show it via
JSP.
When I try to access a method that
I don't have permission for, I get a com.evermind.server.rmi.OrionRemoteException: dave is not allowed
to call this EJB method, check your security settings (method-permission in
ejb-jar.xml and security-role-mapping in
orion-application.xml).
This a Orion propietary Exception
and my question is... Wich is the Exception that throws every ApplicationServer
? a generic RemoteException ? and how can I manage it to control if it´s a
security exception and show, for example, a "You´re not allowed to do that" text
in my JSP ?
Thank you very much, mates
!!!!
__________________________
David Bonilla Fuertes THE BIT BANG NETWORK http://www.bit-bang.com Profesor Waksman, 8, 6º B 28036 Madrid SPAIN Tel.: (+34) 914 577 747 Móvil: 656 62 83 92 Fax: (+34) 914 586 176 __________________________ |
- RE: QUESTIONS ABOUT MANAGING SECURITY David Bonilla
- RE: QUESTIONS ABOUT MANAGING SECURITY Johan Fredriksson
- RE: QUESTIONS ABOUT MANAGING SECURITY Emeline Barns