0

My users are registered in a database. I use the Java EE 8 API for security and JSF.

I would like to retrieve the groups directly from a principal without launching a JPA request. Is it possible?

user1643352
  • 2,635
  • 2
  • 19
  • 25
  • i'm afraid not. J2EE species what is a prinicpal (a user, a group, an organisation, etc...) but it is the responisibility of each application server to define what is a user or a group and how to handle them. Most of application servers offer security APIs that can help to answer your question. What is your application server ? – Emmanuel Collin May 06 '19 at 11:29
  • Thanks Emmanuel. My application server is Payara – user1643352 May 26 '19 at 09:45

0 Answers0