public class KernelSecurityPolicyManager
extends java.lang.SecurityManager
implements ej.kf.FeatureStateListener
| Constructor and Description |
|---|
KernelSecurityPolicyManager(SecurityPolicyResourceLoader securityPolicyResourceLoader)
Instantiates a new kernel security policy manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToPermissionMap(ej.kf.Feature feature)
This method allows to load the feature's permissions.
|
void |
checkPermission(java.security.Permission perm) |
void |
stateChanged(ej.kf.Feature feature,
ej.kf.Feature.State previousState) |
public KernelSecurityPolicyManager(SecurityPolicyResourceLoader securityPolicyResourceLoader)
securityPolicyResourceLoader - the security policy resource loader
implementation.public void checkPermission(java.security.Permission perm)
checkPermission in class java.lang.SecurityManagerpublic void addToPermissionMap(ej.kf.Feature feature)
KernelSecurityPolicyManager class when using standard
LocalDeploy. This method only needs to be called when the Kernel uses XIP
(Execution In Place) system to load features permissions before starting
them. See the
documentation for more informations.feature - the feature to load permissions from.public void stateChanged(ej.kf.Feature feature,
@Nullable
ej.kf.Feature.State previousState)
stateChanged in interface ej.kf.FeatureStateListener