Re: A lunatic scheme for getting around the Origin restriction in HttpUrlConnection

2011-12-01 Thread Barrie Treloar
On Fri, Dec 2, 2011 at 1:15 AM, Benson Margulies  wrote:
> This was misdirected. Apologies.
>
> On Thu, Dec 1, 2011 at 9:03 AM, Benson Margulies  
> wrote:
>> There is a system property that disables it -- read once -- in a static 
>> block.
>>
>> Does anyone thing it would be possible to create an independent class
>> loader and load this class into it a second time, with the property
>> set, and then talk to it via reflection?

Feel like providing more details for the archives?

I find 
http://commons.apache.org/lang/api-3.1/org/apache/commons/lang3/reflect/FieldUtils.html
is your hacker's friends for poking around in stuff you aren't meant
to.
But you need to have no security model in place...

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: A lunatic scheme for getting around the Origin restriction in HttpUrlConnection

2011-12-01 Thread Benson Margulies
This was misdirected. Apologies.

On Thu, Dec 1, 2011 at 9:03 AM, Benson Margulies  wrote:
> There is a system property that disables it -- read once -- in a static block.
>
> Does anyone thing it would be possible to create an independent class
> loader and load this class into it a second time, with the property
> set, and then talk to it via reflection?

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org