Package org.freshcookies.security.policy

Utility classes that parse and manipulate Java security policy files.

See:
          Description

Class Summary
Canonicalizer Utility class that canonicalizes Permissions and file paths.
GenericPrincipal Simple Principal class.
LocalPolicy Security policy class that implements a subset of Policy methods, using a standard Java 2 security policy file as input.
LocalPolicy.AnyPrincipal Principal class that represents a non-class-specific Principal in a policy file grant block.
LocalPolicy.LocalProtectionDomain Lightweight re-implementation of ProtectionDomain that does not allow subsequent modifications to Permissions.
PolicyReader Parser that reads a Java 2 security policy file into memory.
PrincipalComparator Comparator class for sorting objects of type Principal.
SecurityTokenFactory Factory class that dynamically looks up, caches and returns Permission, Principal and CodeSource objects that correspond to supplied strings.
UnresolvedPrincipal Represents a Principal whose class cannot be resolved by the classloader.
 

Exception Summary
PolicyException Lightweight checked Exception subclass for propagating security policy parsing errors.
 

Package org.freshcookies.security.policy Description

Utility classes that parse and manipulate Java security policy files.