tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (OPENEJB-557) Throw EJBAccessException not RemoteException when you're unauthorized
Date Sun, 08 Apr 2007 17:27:32 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks reopened OPENEJB-557:
----------------------------------


Further investigation reveals that we are supposed to throw java.rmi.AccessException if the
ejb 2.1 client view is used.  I need some help to understand what this means and how to implement
it.

see 3.0 spec 17.6.9 p. 478

> Throw EJBAccessException not RemoteException when you're unauthorized
> ---------------------------------------------------------------------
>
>                 Key: OPENEJB-557
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-557
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 3.0
>            Reporter: David Jencks
>         Assigned To: David Jencks
>             Fix For: 3.0
>
>
> We're throwing RemoteExceptions when the caller isn't authorized.  Apparently we're supposed
to through EJBAccessExceptions instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message