Revision: bbd6e08f59e1
Branch: default
Author: lucio.benfante <
lucio.b...@gmail.com>
Date: Tue Oct 1 16:53:02 2013 UTC
Log: Fixed some packages in deploy.
http://code.google.com/p/lambico/source/detail?r=bbd6e08f59e1&repo=archetypes
Modified:
/lambico-ws-archetype/src/main/resources/archetype-resources/server/src/main/webapp/WEB-INF/beans.xml
/lambico-ws-archetype/src/test/resources/projects/basic/reference/server/src/main/webapp/WEB-INF/beans.xml
=======================================
---
/lambico-ws-archetype/src/main/resources/archetype-resources/server/src/main/webapp/WEB-INF/beans.xml
Tue Oct 1 16:35:10 2013 UTC
+++
/lambico-ws-archetype/src/main/resources/archetype-resources/server/src/main/webapp/WEB-INF/beans.xml
Tue Oct 1 16:53:02 2013 UTC
@@ -42,10 +42,11 @@
<bean id="sampleRestService"
class="${package}.core.rest.SampleService"/>
- <bean id="personRestService"
class="org.lambico.ws.archetype.template.core.rest.PersonService"/>
+ <bean id="personRestService"
class="${package}.core.rest.PersonService"/>
<security:global-method-security secured-annotations="enabled">
<security:protect-pointcut expression="execution(*
${package}.core.rest.SampleService.*(..))" access="ROLE_DEFAULT"/>
+ <security:protect-pointcut expression="execution(*
${package}.core.rest.PersonService.*(..))" access="ROLE_DEFAULT"/>
<!--
<security:protect-pointcut expression="execution(*
demo.jaxrs.service.CustomerService.addCustomer(*))" access="ROLE_ADMIN"/>
<security:protect-pointcut expression="execution(*
demo.jaxrs.service.CustomerService.updateCustomer(Long,demo.jaxrs.service.Customer))"
access="ROLE_ADMIN"/>
=======================================
---
/lambico-ws-archetype/src/test/resources/projects/basic/reference/server/src/main/webapp/WEB-INF/beans.xml
Tue Oct 1 16:35:10 2013 UTC
+++
/lambico-ws-archetype/src/test/resources/projects/basic/reference/server/src/main/webapp/WEB-INF/beans.xml
Tue Oct 1 16:53:02 2013 UTC
@@ -43,6 +43,7 @@
<security:global-method-security secured-annotations="enabled">
<security:protect-pointcut expression="execution(*
org.lambico.ws.archetype.template.core.rest.SampleService.*(..))"
access="ROLE_DEFAULT"/>
+ <security:protect-pointcut expression="execution(*
org.lambico.ws.archetype.template.core.rest.PersonService.*(..))"
access="ROLE_DEFAULT"/>
<!--
<security:protect-pointcut expression="execution(*
demo.jaxrs.service.CustomerService.addCustomer(*))" access="ROLE_ADMIN"/>
<security:protect-pointcut expression="execution(*
demo.jaxrs.service.CustomerService.updateCustomer(Long,demo.jaxrs.service.Customer))"
access="ROLE_ADMIN"/>