Re: Getting user role membership without context

2017-07-15 Thread Alex O'Ree
I'm running a task on the users behalf on a background thread with a task scheduler. I need to get the roles when the task is ran in case of a change in role membership between the time the task is scheduled and when it is executed. What class reads server. Xml and creates the realms? Perhaps the

Re: Getting user role membership without context

2017-07-15 Thread tomcat
On 15.07.2017 00:46, Alex O'Ree wrote: Hi Tomcat folks! I have a use case where i have reoccuring background process (quartz job) that needs to perform access control checks against a user prinicple. Normally, user role membership is only accessible via one of the http session, servlet request,