issrg.jaas
Class CodeSourceSubtree
java.lang.Object
issrg.jaas.CodeSourceSubtree
- All Implemented Interfaces:
- Subtree
- public class CodeSourceSubtree
- extends java.lang.Object
- implements Subtree
This class represents a CodeSourceSubtree that identifies a range of
CodeSources. It can match any Entry that returns the CodeSourcePrincipal;
other entries are always not contained (contains() returns false).
There are two ways to construct the CodeSourceSubtree. In one case
the Subtree can be specified as a CodeSource URL with a wildcard (either
"-" or "*") at the end, which are interpreted in the same way as in
java.security.CodeSource.implies method, and in which case there can be no
Min or Max levels specified. In the other case the Subtree can be specified
as provided by another URLHandler. In this case all CodeSource will be
matched by its URL alone: a URL will be parsed and compared using the logic
of the Subtree for the URL of that type.
Method Summary |
boolean |
contains(Entry e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeSourceSubtree
protected CodeSourceSubtree()
CodeSourceSubtree
public CodeSourceSubtree(Subtree s)
contains
public boolean contains(Entry e)