Re: roles filtered list of actions

2004-03-08 Thread Craig R. McClanahan
Quoting Frank Seaton Taylor [EMAIL PROTECTED]: Good day all, I'm a three month old web developer and have been trying to figure out how to do something described below. I've read a bunch of documentation and searched mailing lists and the web for answers, but fear that my inexperience

Re: roles filtered list of actions

2004-03-08 Thread Niall Pemberton
I don't use it, but the struts-menu add on may do what you want. http://struts-menu.sourceforge.net/ Otherwise, the ModuleConfig class has a method findActionConfigs() which returns an array of ActionConfig elements. In an Action you can get the ModuleConfig from the ActionMapping. From

Re: Roles??

2002-09-17 Thread Eddie Bush
That is a container-managed security thing. See the tomcat docs. There are other ways to do it too. Max Cooper (I believe) has the securityfilter SF project that lets you include your realm inside of your web-application (requires servlet spec 2.3). Smith, Johnathan M. wrote: I am going

RE: Roles??

2002-09-17 Thread Tero P Paananen
I am going to be using Struts 1.0.2. How do you setup roles? Depends on what are you using for user authentication / management. If you're using container managed security, then you need to refer to your to the documentation of your container (Tomcat, WebSphere, WebLogic, etc.) Struts itself

Re: Roles without LDAP

2002-09-17 Thread Eddie Bush
You may not just have some object in the session. You may pull your authentication from a database. There are a few different Realm implementations in Tomcat. Be sure you examine each of them :-) to see which best fits your needs. I use JDBCRealm myself ... pulls them out of a RDBMS.

RE: Roles without LDAP

2002-09-17 Thread Tero P Paananen
Anyway to use Roles without LDAP?? Yes. Can I just save some object in the session?? Yes. I wouldn't do it that way though. Use container managed security. Documentation with your container. -TPP winmail.dat -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Roles without LDAP

2002-09-17 Thread wbchmura
Sure, play with the Memory Realms in Tomcat. Its the easiest off the bat, and you can switch them in Tomcat later... See tomcat docs or the tomcat-user list for more info... This should keep ya busy for a few minutes :) http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html

Re: Roles without LDAP

2002-09-17 Thread micael
There are many ways to do this. Where do you want the check to be? Thought of using a filter? Your requirements would determine the best way to do this. Filters are a natural, of course. At 02:49 PM 9/17/2002 -0400, you wrote: Anyway to use Roles without LDAP?? Can I just save some object

RE: Roles based application security

2001-11-14 Thread Nguyen, Khuong
You can use the present and notPresent tag to check for the roles. The present tag will display the input field if the roles are present. The notPresent will display the disabled text field if the user does not have those roles. You can use this to display different menu depending on their