Package | Description |
---|---|
net.jini.security |
Provides mechanisms and abstractions for managing security, especially in the
presence of dynamically downloaded code.
|
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.
|
net.jini.security.proxytrust |
Historically, proxy trust relied on the Java sandbox, however with the
plethora of security problems relating to serialization.
|
org.apache.river.start |
Provides the utilities and APIs used to launch the contributed services
provided in the River-Internet release.
|
Modifier and Type | Method and Description |
---|---|
static SecurityContext |
Security.getContext()
Returns a snapshot of the current security context, which can be used to
restore the context at a later time.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
Security.doAsPrivileged(Subject subject,
PrivilegedAction<T> action,
SecurityContext context)
Perform work as a particular Subject in the presence of untrusted code
for distributed systems.
|
static <T> T |
Security.doAsPrivileged(Subject subject,
PrivilegedExceptionAction<T> action,
SecurityContext context)
Perform work as a particular Subject in the presence of untrusted code
for distributed systems.
|
Modifier and Type | Method and Description |
---|---|
SecurityContext |
SecurityContextSource.getContext()
Returns a snapshot of the current security context, which can be used to
restore the context at a later time.
|
Modifier and Type | Method and Description |
---|---|
SecurityContext |
UntrustedObjectSecurityContext.getContext()
Returns a security context to use to restrict privileges when
invoking methods on untrusted objects.
|
SecurityContext |
BasicUntrustedObjectSecurityContext.getContext()
Returns a security context to use to restrict privileges when
invoking methods on untrusted objects.
|
Modifier and Type | Method and Description |
---|---|
SecurityContext |
AggregatePolicyProvider.getContext()
Returns a snapshot of the current security context, which can be used to
restore the context at a later time.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.