Package | Description |
---|---|
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.
|
Constructor and Description |
---|
DynamicPolicyProvider()
Creates a new
DynamicPolicyProvider instance that wraps a
default underlying policy. |
PolicyFileProvider()
Creates a
PolicyFileProvider whose starting set of
permission mappings is the same as those that would result from
constructing a new instance of the J2SE default security policy provider
with the current java.security.policy system property
setting (if any), except that UmbrellaGrantPermission s are
expanded into GrantPermission s as described in the
documentation for UmbrellaGrantPermission . |
PolicyFileProvider(String policyFile)
Creates a
PolicyFileProvider whose starting set of
permission mappings is the same as those that would result from
constructing a new instance of the J2SE default security policy provider
with the java.security.policy system property set to the
value of policyFile , except that
UmbrellaGrantPermission s are expanded into
GrantPermission s as described in the documentation for
UmbrellaGrantPermission . |