Ah, I had neglected to consider people using that field outside of the
Restlet modules.

On Wed, Oct 22, 2008 at 8:39 AM, Rob Heittman <[EMAIL PROTECTED]>wrote:

> Repeating, it's important on the server side.  I have a lot of code that
> depends on examining this.  This way the code does not have to explicitly
> check stuff like ( protocol.equals(Protocol.HTTPS) ||
> protocol.equals(Protocol.RIAP) || ... ) and possibly leave out a
> confidential communication protocol/pseudoprotocol that the check code is
> not aware of.  It can simply check this property and behave properly (e.g.
> throw an exception or return forbidden status) if a request that is supposed
> to be confidential isn't.  There is an analogue in the Servlet world that is
> used similarly.
>
>
> On Wed, Oct 22, 2008 at 8:30 AM, Kevin Conaway <[EMAIL PROTECTED]>wrote:
>
>> Is the confidential property on the Request (or Message) even necessary?
>> It seems to only be read by the jaxrs module and it doesn't appear to be
>> providing much value there.
>
>
>

Reply via email to