This method of the StandardSecurityManager Class determines whether classes within the current execution context, based on the call stack of the current thread, are allowed to perform the specified access to the specified portion of the registry.
public void checkRegistry(int access, String value);
access | The access type. |
value | The registry key. |
The check succeeds only if all the classes found on the call stack possess RegistryPermissions, and if those permissions allow the specified access type onto the specified portion of the registry.
SecurityException if the security check fails.