[cap-talk] "ambient authority" on wiki.erights.org
Toby Murray
toby.murray at comlab.ox.ac.uk
Tue Jun 16 03:30:23 EDT 2009
On Tue, 2009-06-16 at 00:57 +0100, David-Sarah Hopwood wrote:
> Karp, Alan H wrote:
> > Normally, holding a reference to an object allows you to invoke any method
> > of the object.
>
> The subject in the static variable example didn't "hold" the reference,
> strictly speaking. It accessed it from a scope larger than itself, and
> that access was ambient.
So in
def someAmbientAuthority ...
def makeBob() {
def bob {
}
return bob
}
'someAmbientAuthority' is part of Bob's ambient authority?
More information about the cap-talk
mailing list