tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wiederkehr <a...@fantasymail.de>
Subject DataSqueezer question
Date Sat, 02 Oct 2004 14:19:12 GMT
I'm writing an application that deals with Document objects. I use a
custom ISqueezeAdaptor implementation to represent a document in an HTML
page. Squeezing and unsqueezing works fine, so far, so good.

But now I've run into the following problem: A Document object contains
sensitive information. Only privileged users should be allowed to obtain
a Document instance from its squeezed representation. Ownership and user
rights have to be checked. So the unsqueeze() method of ISqueezeAdaptor
would need to access the current user which is stored in the Visit
object. Unfortunately neither the Visit object nor the Engine seems to
be accessible from within the unsqueeze() method.

Is there an easy solution to this problem?

Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message