Package net.jini.security.proxytrust
Interface UntrustedObjectSecurityContext
- All Known Implementing Classes:
BasicUntrustedObjectSecurityContext
public interface UntrustedObjectSecurityContext
A trust verifier context element that provides a security context to use to restrict privileges
when invoking methods on untrusted objects.
- Since:
- 2.1
- Author:
- Sun Microsystems, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a security context to use to restrict privileges when invoking methods on untrusted objects.
-
Method Details
-
getContext
SecurityContext getContext()Returns a security context to use to restrict privileges when invoking methods on untrusted objects. The returned context may be based on the current security context in effect when this method is invoked.- Returns:
- a security context to use to restrict privileges when invoking methods on untrusted objects
-