Re: Getting user role membership without context

2017-07-16 Thread Alex O'Ree
bugger, this time replying with the correct reply address. Not sure if the previous reply went through. Awesome thanks for the pointer. For the reflection mechanism. I think i have a working solution, so long as the tomcat dev's don't change the name of the private context variables in Applicatio

Re: Getting user role membership without context

2017-07-16 Thread Alex O'Ree
Awesome thanks for the pointer. For the reflection mechanism. I think i have a working solution, so long as the tomcat dev's don't change the name of the private context variables in ApplicationContextFacade and ApplicationContext I'll also further investigate the JMX/Mbean method with JNDI as it

Re: Getting user role membership without context

2017-07-16 Thread Mark Thomas
On 16/07/17 15:31, Alex O'Ree wrote: > Thanks for the clarification. To add to my description > > 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 t

Re: Getting user role membership without context

2017-07-16 Thread Alex O'Ree
Thanks for the clarification. To add to my description 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. It l