Daniel-Dos commented on a change in pull request #445: Tomee 2494
URL: https://github.com/apache/tomee/pull/445#discussion_r268688943
 
 

 ##########
 File path: examples/testing-security/README.adoc
 ##########
 @@ -58,6 +59,8 @@ public class Movie {
 
 == Movies
 
+After, we created a DAO class. Look that we used the security anotations to 
set the need roles to use each DAO action. For example, adition of a movie is 
able to a user that has "Manager" or "Employee" `ROLE`, but to remove a movie 
the user need to has Manager `ROLE`.
+Criamos outra classe DAO para Filme. Observe que utilizamos as anotações para 
dizer as roles necessárias para utilização de cada ação disponível. Por 
exemplo, adicionar um filme é possível para um usuário que tenha a `ROLE` 
"Manager" ou "Employee", mas a remoção de um filme pode ser feita somente por 
quem tem a `ROLE` Manager.
 
 Review comment:
   here this in portuguese .

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to