[jboss-jira] [JBoss JIRA] (WFLY-839) no logmessage if @RolesAllowed is not present on @WebService inside a secure ejb-jar

Katarina Hermanova (Jira) issues at jboss.org
Wed Nov 13 03:11:00 EST 2019


     [ https://issues.jboss.org/browse/WFLY-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katarina Hermanova closed WFLY-839.
-----------------------------------
    Resolution: Out of Date


> no logmessage if @RolesAllowed is not present on @WebService inside a secure ejb-jar
> ------------------------------------------------------------------------------------
>
>                 Key: WFLY-839
>                 URL: https://issues.jboss.org/browse/WFLY-839
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web Services
>            Reporter: Simon Walter
>            Assignee: Katarina Hermanova
>            Priority: Minor
>
> If a webserive with a webcontext-annotation is deployed inside a secure ejb-jar (security domain in jboss-ejb3.xml), where no web.xml is present, access to the webservice is denied without a logmessage.
> org.apache.catalina.realm.RealmBas#hasResourcePermission doesn't handle this case at all.
> There should be a logmessage if access to a resource is impossible because of this configuration error.
> Or a constraint at deployment time if a resource without a role is registered/deployed.
> This problem also occures if the @RolesAllowed-Annotation has "" as argument.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list