Re: Getting user role membership without context

2017-07-19 Thread Alex O'Ree
..@apache.org> wrote: > On 18/07/17 23:21, Alex O'Ree wrote: >> Nice, any idea which method I need to call? > > You already have the Context so you want > > Context.findChildren() > > for a list of all the Wrappers (and it is the wrapper object you need) or > > Con

Re: Getting user role membership without context

2017-07-18 Thread Alex O'Ree
Nice, any idea which method I need to call? On Jul 18, 2017 3:54 PM, "Mark Thomas" <ma...@apache.org> wrote: > On 18/07/17 17:41, Alex O'Ree wrote: > > Alright, quick update on this. > > > > At this point, I have servlet context and a username running off the

Re: Getting user role membership without context

2017-07-18 Thread Alex O'Ree
P defined group or role into what the application is expecting. Am I on the right path here? On Sun, Jul 16, 2017 at 6:18 PM, Alex O'Ree <alexo...@apache.org> wrote: > bugger, this time replying with the correct reply address. Not sure > if the previous reply went through. > &g

Re: Getting user role membership without context

2017-07-16 Thread Alex O'Ree
in ApplicationContextFacade and ApplicationContext I'll also further investigate the JMX/Mbean method with JNDI as it will probably be more sustainable in the long run On Sun, Jul 16, 2017 at 3:55 PM, Mark Thomas <ma...@apache.org> wrote: > On 16/07/17 15:31, Alex O'Ree wrote: >> Thanks for th

Re: Getting user role membership without context

2017-07-16 Thread Alex O'Ree
as it will probably be more sustainable in the long run On Sun, Jul 16, 2017 at 3:55 PM, Mark Thomas <ma...@apache.org> wrote: > 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 be

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

Re: Getting user role membership without context

2017-07-15 Thread Alex O'Ree
there's a way to get a reference to the realm via some static reference? On Jul 15, 2017 4:53 AM, "André Warnier (tomcat)" <a...@ice-sa.com> wrote: > On 15.07.2017 00:46, Alex O'Ree wrote: > >> Hi Tomcat folks! >> >> I have a use case where i have reoc

Getting user role membership without context

2017-07-14 Thread Alex O'Ree
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, objects, etc. Question, is there a way

<    1   2