You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/04/07 18:29:32 UTC

[jira] Created: (OPENEJB-557) Throw EJBAccessException not RemoteException when you're unauthorized

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.


[jira] Reopened: (OPENEJB-557) Throw EJBAccessException not RemoteException when you're unauthorized

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (OPENEJB-557) Throw EJBAccessException not RemoteException when you're unauthorized

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed OPENEJB-557.
--------------------------------

    Resolution: Fixed

I think I got all the places exceptions need to be rethrown in rev 527055.

> 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.


[jira] Closed: (OPENEJB-557) Throw EJBAccessException not RemoteException when you're unauthorized

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed OPENEJB-557.
--------------------------------

    Resolution: Fixed

fixed in rev 526452

> 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.