Hello Fabio,
I've learned a lot with your code. The login works perfect and I've been able to deploy the project with Netbeans and Payara.
Just a question. The code
public boolean isAllowedToSeeUsers(){
return securityContext.isCallerInRole("admin");
}
Always returns false. Do you know how to fix it?
Thanks by sharing your code
Ivan