Authentication with AOP, Guice, and New RequestFactories

I would like to use the new RequestFactories and the new approach to create AOPs with Guice for authentication.

I would like to have, for example, the RequestFactory Request method in a JPA entity, for example

findCustomer (int id), which I can annotate, e.g. with @NeedsAuthorization (rights = Rigths.ADMIN)

This is just an example, but I'm not so experienced in this area, and it would be nice if I had a good tutorial that shows such an opportunity. Possibly HttpSession.

+3
source share
1 answer

. Guice RequestFactory : https://github.com/mgenov/injecting-request-factory

Authorizaton wit AOP: http://snippets.dzone.com/posts/show/11587

dynatableRF GWT , Factory ( AuthFilter)

+4

Source: https://habr.com/ru/post/1779074/


All Articles