See: Description
Interface | Description |
---|---|
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 | Description |
---|---|
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 | Description |
---|---|
PolicyInitializationException |
Exception indicating failed initialization of a security policy provider.
|
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
.
Copyright © GigaSpaces.