Hi,

I need to write secure session cookies and Tapestry Cookies interface
and CookiesImpl don't do that. So I extend the Cookies interface like
this

 

Public interface SecureCookies extends Cookies {

                void writeSecureCookie(yada,yada);

}

 

And create an imple that injects the existing, TapestryModule created
CookiesImpl as a delegate and delegates all method calls to the existing
CookiesImpl and implements writeSecureCookie itself.

 

The problem is...the service PersistentLocale depends on Cookies and I
can't disambiguate that dependency.

 

The question why is SecureCookies the same interface as Cookies to
Tapestry IoC?

How do I go about creating a service that implements the same interface
as an existing tapestry service?

 

I'm a bit confused by all this. It seems that the safest way for me to
go is create a class that has no relationship to Cookies.

 

Russell

 

 



Communications on or through ioko's computer systems may be monitored or 
recorded to secure effective system operation and for other lawful purposes.

Unless otherwise agreed expressly in writing, this communication is to be 
treated as confidential and the information in it may not be used or disclosed 
except for the purpose for which it has been sent. If you have reason to 
believe that you are not the intended recipient of this communication, please 
contact the sender immediately. No employee is authorised to conclude any 
binding agreement on behalf of ioko with another party by e-mail without prior 
express written confirmation.

ioko365 Ltd.  VAT reg 656 2443 31. Reg no 3048367. All rights reserved.

Reply via email to