Re: Re: How to digest a customized struts configuration

2003-12-17 Thread Sebastian Linz
Hi Joe,

thank you for your usefull hint. Now it flies :) Of
course I was quite close. I even tried out different
addSetNext methods. Following your hint I knew I had
to change something else. But I missed to add a
corresponding add-method to my ActionMapping
sub-class.

Once again: thank you for your advise.

If anybody is interessted to the solution I would post
it under this thread. Otherwise I won't looking at the
traffic of this thread.

Regards,

Sebastian


 --- Joe Germuska [EMAIL PROTECTED] schrieb:  At
9:33 PM +0100 12/16/03, Sebastian Linz wrote:
 I added my sample rule set using the init parameter
 within the web
 deployment descriptor. But I didn't find the way
 how
 to tell the
 digester to
 add the
 SecurityConstraint bean to my sample action
 mapping.
 
 Impatiently waiting for your answers
 
 You've gotten quite close; it just seems to me that
 you need to add a 
 setNext rule at the path 

struts-config/action-mappings/action/security-constraint
 -- and 
 then guarantee that you only use
 security-constraint elements 
 nested inside of action elements that specify a
 subclass of 
 ActionMapping which would accept a
 security-constraint object.
 
 Joe
 
 -- 
 Joe Germuska
 [EMAIL PROTECTED]  
 http://blog.germuska.com
   We want beef in dessert if we can get it there.
-- Betty Hogan, Director of New Product
 Development, National 
 Cattlemen's Beef Association
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
  

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to digest a customized struts configuration

2003-12-16 Thread Joe Germuska
At 9:33 PM +0100 12/16/03, Sebastian Linz wrote:
I added my sample rule set using the init parameter
within the web
deployment descriptor. But I didn't find the way how
to tell the
digester to
add the
SecurityConstraint bean to my sample action mapping.
Impatiently waiting for your answers
You've gotten quite close; it just seems to me that you need to add a 
setNext rule at the path 
struts-config/action-mappings/action/security-constraint -- and 
then guarantee that you only use security-constraint elements 
nested inside of action elements that specify a subclass of 
ActionMapping which would accept a security-constraint object.

Joe

--
Joe Germuska
[EMAIL PROTECTED]  
http://blog.germuska.com
 We want beef in dessert if we can get it there.
  -- Betty Hogan, Director of New Product Development, National 
Cattlemen's Beef Association

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]