[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1186) Security annotations not working properly

Javid Jamae (JIRA) jira-events at lists.jboss.org
Fri Jan 25 13:15:26 EST 2008


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1186?page=all ]

Javid Jamae updated EJBTHREE-1186:
----------------------------------

    Attachment: Client.java
                StatelessCalculatorBean.java

Here are the client and EJB source files. The EJB remote/local interfaces both just have all the methods on the bean.

> Security annotations not working properly
> -----------------------------------------
>
>                 Key: EJBTHREE-1186
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1186
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: AS 5.0.0.Beta3
>            Reporter: Javid Jamae
>         Attachments: calculator.ear, calculator.jar, Client.java, StatelessCalculatorBean.java
>
>
> I'm trying to call an EJB with security annotations set on it, but only some of them work properly. See referenced forum topic.
> Two problems:
> 1) @PermitAll denies all access
> 2) Class level @RolesAllowed annotation does not apply to methods without annotations

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list