RE: Any good suggestions on implementing Security

2003-02-13 Thread Rob Kischuk
On the free side of things, I believe you could use a JNDI Realm in Tomcat for this purpose. You would need to roll your own SOAPInitialContextFactory and use that in the configuration of the JNDI Realm. Weblogic has an implementation of a SOAPInitialContextFactory:

RE: Any good suggestions on implementing Security

2003-02-12 Thread Rob Kischuk
+1 on the ServletFilter approach. Even better if you can get container managed security to meet your needs. Depending on the container, your groups and group memberships can be dynamically mapped to roles, with declarative specification of what resources can be accessed. This approach is optimal

RE: [OT] Any good suggestions on implementing Security

2003-02-12 Thread Rob Kischuk
Depending on the container, your groups and group memberships can be dynamically mapped to roles, with declarative specification of what resources can be accessed. Is this the case with tomcat? I did not think so. Our needs our very similar. The users with a admin page that allows them to

RE: LookupDispatchAction

2003-02-12 Thread Rob Kischuk
The keys in your KeyMethodMap should correspond to messages in your message bundle used to render the button. So you would have in your jsp: html:submit bean:message key=button.add.banana/ /html:submit in your action: protected Map getKeyMethodMap(ActionMapping mapping, ActionForm form,

RE: how to access a specific object inside a List efficiently

2003-02-05 Thread Rob Kischuk
The problem you're hitting is that there's really no concept of a key in a List - it's just an ordered collection of objects. The closest you'd find is the contains( Object o) method, but that looks for the entire object and not just a key. I would suggest using a HashMap for what you're looking

RE: [Tiles] loses current url

2003-02-05 Thread Rob Kischuk
In the header file, try request.getRequestURL() - it should give you the page that was called. Tiles effectively does a jsp:insert, which means that the request parameters are the same for any included tiles. -Rob -Original Message- From: Kevin Tung [mailto:[EMAIL PROTECTED]] Sent:

RE: form naming

2003-02-05 Thread Rob Kischuk
In fairness, I don't think it's clear from the documentation. However, a google search yields: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg52038.html, which indicates someone looked at the source to find the answer. Also in fairness, searching the list is not an easy task -

RE: How to access a valueObject inside a Map?

2003-02-05 Thread Rob Kischuk
I think a shift in how you approach your JSPs and Actions will get you the most mileage here. It seems that by storing this map in session, you're trying to get around ever creating any additional references to it. What I'd suggest is that you handle this in your Action. In your action, fetch

RE: [Tiles] loses current url

2003-02-05 Thread Rob Kischuk
the correct original url from within these jsp pages? Thanks, Kevin -Original Message- From: Rob Kischuk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 3:43 PM To: 'Struts Users Mailing List' Subject: RE: [Tiles] loses current url In the header file, try request.getRequestURL