Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package net.jini.security.policy

Provides an interface for security policy providers capable of dynamic permission grants, an interface for security manager or policy providers that use custom security context state, and a security policy provider supporting dynamic permission grants.

See:
Description

Interface Summary
DynamicPolicy | Interface implemented by security policy providers that may support dynamic granting of permissions at run-time.
SecurityContextSource | Interface that a security manager or policy provider can optionally implement in order to support the saving and restoring of custom security context state.

Class Summary
DynamicPolicyProvider | Security policy provider that supports dynamic granting of permissions at run-time.
PolicyFileProvider | Security policy provider that wraps the J2SE(TM) default "PolicyFile" security policy provider distributed as part of the Java(TM) 2 Platform, Standard Edition.
UmbrellaGrantPermission | Permission that is specially intepreted by `PolicyFileProvider` as shorthand for a `GrantPermission` covering all permissions authorized to a given protection domain.

Exception Summary
PolicyInitializationException | Exception indicating failed initialization of a security policy provider.

## Package net.jini.security.policy Description

Provides an interface for security policy providers capable of dynamic permission grants, an interface for security manager or policy providers that use custom security context state, and a security policy provider supporting dynamic permission grants.

The `DynamicPolicy` interface is implemented by security policy providers that may support dynamic granting of permissions at run-time. One such provider is `DynamicPolicyProvider`, which layers dynamic grant functionality on top of a "static" security policy provider (that is, one incapable of dynamic permission grants itself).

The default static security policy used by `DynamicPolicyProvider` is `PolicyFileProvider`: a policy implementation that wraps the J2SE(TM) default "PolicyFile" security policy provider distributed as part of the Java(TM) 2 Platform, Standard Edition. `PolicyFileProvider` augments the J2SE default policy provider with convenience constructors as well as support for a special-cased permission, `UmbrellaGrantPermission`, which signifies a `GrantPermission` for all permissions authorized to a given protection domain.

The `SecurityContextSource` interface is intended to be implemented by security managers and policy providers whose security contexts include state in addition to that provided by `AccessControlContext`.

Since:
  2.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2004 Sun Microsystems, Inc. All rights reserved