@Deprecated
public class RealtimeSecurity
extends java.lang.Object
Security requirements are generally application-specific. Every
implementation shall have a default RealtimeSecurity
instance, and a way to install a replacement at run-time,
RealtimeSystem.setSecurityManager(javax.realtime.RealtimeSecurity). The default security is
minimal. All security managers should prevent access to JVM internal
data and the Java heap; additional protection is
implementation-specific and must be documented.
| Constructor and Description |
|---|
RealtimeSecurity()
Deprecated.
Create an
RealtimeSecurity object. |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAccessPhysical()
Deprecated.
Check whether the application is allowed to access physical memory.
|
void |
checkAccessPhysicalRange(long base,
long size)
Deprecated.
Checks whether the application is allowed to access physical memory
within the specified range.
|
void |
checkAEHSetDaemon()
Deprecated.
Checks whether the application is allowed to set the daemon status
of an AEH.
|
void |
checkSetFilter()
Deprecated.
Checks whether the application is allowed to register
PhysicalMemoryTypeFilter objects with the
PhysicalMemoryManager. |
void |
checkSetMonitorControl(MonitorControl policy)
Deprecated.
Checks whether the application is allowed to set the default
monitor control policy.
|
void |
checkSetScheduler()
Deprecated.
Checks whether the application is allowed to set the scheduler.
|
public RealtimeSecurity()
RealtimeSecurity object.public void checkAccessPhysical()
throws StaticSecurityException
StaticSecurityException - The application doesn't have
permission to access physical memory.public void checkAccessPhysicalRange(long base,
long size)
throws StaticSecurityException
base - The beginning of the address range.size - The size of the address range.StaticSecurityException - The application doesn't have
permission to access the memory in the given range.public void checkSetFilter()
throws StaticSecurityException
PhysicalMemoryTypeFilter objects with the
PhysicalMemoryManager.StaticSecurityException - The application doesn't have
permission to register filter objects.public void checkSetMonitorControl(MonitorControl policy) throws StaticSecurityException
policy - The new policyStaticSecurityException - when the application doesn't have
permission to change the default monitor control policy
to policy.public void checkAEHSetDaemon()
throws StaticSecurityException
StaticSecurityException - when the application is not
permitted to alter the daemon status.public void checkSetScheduler()
throws StaticSecurityException
StaticSecurityException - The application doesn't have
permission to set the scheduler.