tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdragan <>
Subject Local EJB security
Date Mon, 17 Oct 2016 20:10:26 GMT

I have RESTful web service

    public class EducationRest {  
        private EducationBean service;  
        @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})  
        public List<EducationDTO> read() throws NamingException {  
            return service.readAllEducations();  

and web.xml security constraints

            <web-resource-name>Administrator permissions</web-resource-name> 


Do I have to specify security constraints again in the ejb-jar.xml for every
local EJB or local beans can be unchecked(@PermitAll)?

    public class EducationBean {  
      public List<EducationDTO> readAllEducations(){  


Thank you,

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message