豆瓣
扫码直接下载
在读 Core Java, Vol. 2
The last method is the most important. Permissions have an ordering, in which more general permissions imply more specific ones. Consider the file permission p1 = new FilePermission("/tmp/-", "read, write"); This permission allows reading and writing of any file in the /tmp directory and any of its subdirectories. This permission implies other, more specific permissions: p2 = new FilePermission("/tmp/-", "read"); p3 = new FilePermission("/tmp/aFile", "read, write"); p4 = new FilePermission("/tmp/aDirectory/-", "write"); In other words, a file permission p1 implies another file permission p2 if The target file set of p1 contains the target file set of p2. The action set of p1 contains the action set of p2.引自 Chapter 9. Security这是讲的哪出?losting
这是讲的哪出?losting
> ?..的所有笔记(231篇)
Gödel's theorem吗? 有意思,抽时间去看看。
boolean implies(Permission other) 类permission的这个imply在这里就是符合的意思。 模式比...
表示其中内容是对原文的摘抄