AggregatePolicyProvider
instance, containing
a main policy created as follows: if the
org.apache.river.start.AggregatePolicyProvider.mainPolicyClass
security property is set, then its value is interpreted as the class
name of the main policy provider; otherwise, a default class name of
"net.jini.security.policy.DynamicPolicyProvider"
is used.AggregatePolicyProvider
instance with the
given main policy, which must be non-null
.ServiceDescriptor
instance.descCreated
flaghost
and
port
.String
representing a classpath into file URL
(s).String
representing a codebase into standard URL
(s).getGrants
method of the
currently active sub-policy to return a new array containing the set of
permissions dynamically granted to protection domains which are
associated with the class loader of the given class and possess at least
the given set of principals.getGrants
method of the underlying policy associated
with the loader of the given class (the loader-specific policy if the
class loader is null
, the same as or a child of the loader
specified in the constructor for this instance, or the default loader
otherwise).String
representing a codebase or classpath into URL
(s).ProxyPreparer
accessor method.LifeCycle
accessor method.getPermissions
method of the
currently active sub-policy to return the set of permissions allowed for
code from the specified code source, as a newly-created mutable
PermissionCollection
which supports heterogeneous
permission types.PermissionCollection
containing AllPermission
is returned.getPermissions
method of the
underlying default policy.PermissionCollection
containing AllPermission
is returned.ProxyPreparer
accessor method.grant
method of the
currently active sub-policy to grant the specified permissions to all
protection domains (including ones not yet created) which are associated
with the class loader of the given class and possess at least the given
set of principals.grant
method of the underlying policy associated with
the loader of the given class (the loader-specific policy if the class
loader is null
, the same as or a child of the loader
specified in the constructor for this instance, or the default loader
otherwise).true
if the currently active sub-policy supports
dynamic grants; this is determined by delegating to the
grantSupported
method of the currently active sub-policy if
it implements the DynamicPolicy
interface.true
if both of the underlying policy providers
implement DynamicPolicy
and return true
from calls
to grantSupported
; returns false
otherwise.codebase
parameter and displays a warning message if
it is determined that a potential codebase
accessibility problem exists.true
is returned.true
is returned.LoaderSplitPolicyProvider
instance which
delegates to loaderPolicy
any permission query/grant
operations involving protection domains or classes with the given class
loader, any child class loader of the given class loader, or the
null
class loader; all other operations are delegated to
defaultPolicy
(with the exception of refresh
,
which applies to both policies).URL
address.ServiceStarter
application.ServiceStarter
application.NonActivatableServiceDescriptor.create()
method that returns the proxy and implementation references
for the created service.refresh
method.refresh
on both the loader-specific and default
underlying policy providers.Activatable.register()
for activatable objects that want
to use this wrapper mechanism.ProxyPreparer
for this descriptor.LifeCycle
object for this
descriptor.ProxyPreparer
for this descriptor.SharedActivatableServiceDescriptor.create()
method that returns the associated proxy, activation group
identifier, and activation identifier
for the created service.Permission
class used by the
service starter
package.SharedActivationPolicyPermission
with the specified name.SharedActivationPolicyPermission
with the specified name.Copyright © 2016–2018. All rights reserved.