You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Warner Onstine <sw...@warneronstine.com> on 2002/12/01 00:22:10 UTC

Re: url patterns

Thanks, I'll take a look at that!

-warner

----- Original Message -----
From: "Reynir Hübner" <re...@hugsmidjan.is>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, November 30, 2002 7:44 AM
Subject: RE: url patterns


You could write a request filter that would be mapped onto /* and put your
logic in it.
By this you would be able to parse any Path-info from the url like you want.

Hope it helps
-reynir


> -----Original Message-----
> From: Warner Onstine [mailto:sw-list@warneronstine.com]
> Sent: 30. nóvember 2002 03:26
> To: tomcat-user@jakarta.apache.org
> Subject: url patterns
>
>
> I'm trying to figure out if this can be done with
> url-patterns. I need to protect a sub-string of this url
> /wo/c/ognl/admin/...
>
> I need to protect the ognl/admin part. The problem is that
> the preceding string before it can change depending on
> actions that I perform so I can't just do /wo/c/ognl/admin/*
> as that won't guarantee my security. I tried
> */ognl/admin/* but received an error when starting up saying
> that it had to start with a '.' or '/'.
>
> Any help on this is greatly appreciated.
>
> -warner
>
> +warner onstine+
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>