package <%= package.lower %>.<%= project.lower %>.service;

import <%= package.lower %>.<%= project.lower %>.entity.User;
import io.swagger.annotations.Api;
import javax.transaction.Transactional;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import org.demoiselle.jee.core.api.crud.Result;
import org.demoiselle.jee.crud.AbstractREST;

@Api("User")
@Path("user")
public class UserREST extends AbstractREST<User, String> {
    
    @GET
    @Override
    @Transactional
    public Result find() {
        return bc.find();
    }

}

@@ -331,16 +331,77 @@
 actREST;
+%0Aimport org.demoiselle.jee.security.annotation.Authenticated;
 %0A%0A@Api(%22
@@ -421,16 +421,31 @@
 %22user%22)%0A
+@Authenticated%0A
 public c

Ajuste na segurança