Re: isUserInRole - how it works

2005-06-28 Thread Frank W. Zammetti
That's going to be a container-specific thing... there is, as far as I know, no provision for doing that within the spec. Various containers may allow you to do it though. Also note that you could be making changes in web.xml or in your container's group config data... the context can be dyna

Re: isUserInRole - how it works

2005-06-28 Thread Grzegorz Stasica
Frank W. Zammetti wrote: What do you mean by "reload roles"? Do you mean put changes to your roles in effect in real-time, or do you mean assign a user to a given role? I mean the first one. I want to put changes in roles in real-time

Re: isUserInRole - how it works

2005-06-28 Thread Frank W. Zammetti
What do you mean by "reload roles"? Do you mean put changes to your roles in effect in real-time, or do you mean assign a user to a given role? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, June 28, 2005 2:59 pm, Grzegorz Stasica s

Re: isUserInRole - how it works

2005-06-28 Thread Grzegorz Stasica
ok but is it possible to reload roles manually from action. Function getPrinciple() seems to solve some of my problems but still I need to have an possibility to reload roles. I can not find setPrinciple function - To unsubscr

Re: isUserInRole - how it works

2005-06-28 Thread Wendy Smoak
From: "Grzegorz Stasica" <[EMAIL PROTECTED]> > Is it possible to access container from action. I'm using securityfilter > which extends BaseRealm. In this way I can put additional parameter to > user being authorized but the problem is that I'm not able to access it > from the action. There is only

Re: isUserInRole - how it works

2005-06-28 Thread erikweber
I think you will find information on container-based security in: 1) The J2EE tutorial from Sun 2) The Servlet Specification (should explain the method you cite as well as web.xml) 3) Articles/tutorials on JAAS Since "container-based" security necessarily involves the container, you are going t

Re: isUserInRole - how it works

2005-06-28 Thread Frank W. Zammetti
When you specify a constraint on a resource within a webapp via web.xml settings, you specify what group the constraint references. Within your container you specify which groups are a part of what groups (the former is a standard part of the servlet spec, the later is specific to whichever contai