issrg.jaas
Class CodeSourceSubtree

java.lang.Object
  extended byissrg.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.


Constructor Summary
protected CodeSourceSubtree()
           
  CodeSourceSubtree(Subtree s)
           
 
Method Summary
 boolean contains(Entry e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface issrg.pba.rbac.policies.Subtree
contains
 

Constructor Detail

CodeSourceSubtree

protected CodeSourceSubtree()

CodeSourceSubtree

public CodeSourceSubtree(Subtree s)
Method Detail

contains

public boolean contains(Entry e)