Skip navigation links

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

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
Version:
2.0
Skip navigation links

Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.