i want to set the role in my logic
i have a login procedure with db access and final, i know which role the user will get...
so i only want to set his role "customer" in ejb - exist there one command?
i look for it but nothing worked
i tried ctx.isCallerInRole("guest");
but get No valid security context for the caller identity
in web.xml i added
Authorized to limited access.
Authorized to access everything.
Moved to user forum as this is not a design question.