Class PermissionAuditLogger
- java.lang.Object
-
- com.microej.kernel.green.security.PermissionAuditLogger
-
- All Implemented Interfaces:
com.microej.kf.util.security.FeaturePermissionCheckDelegate
public class PermissionAuditLogger extends java.lang.Object implements com.microej.kf.util.security.FeaturePermissionCheckDelegate
A logging-only implementation ofFeaturePermissionCheckDelegate
that grants all permissions. This implementation records permission checks, allowing detailed tracking of actions granted to specified features within the application.Note: This class is meant for logging purposes and does not enforce any actual permission restrictions.
-
-
Constructor Summary
Constructors Constructor Description PermissionAuditLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkPermission(java.security.Permission permission, ej.kf.Feature app)
Logs the permission granted to a specific feature.
-
-
-
Method Detail
-
checkPermission
public void checkPermission(java.security.Permission permission, ej.kf.Feature app)
Logs the permission granted to a specific feature.- Specified by:
checkPermission
in interfacecom.microej.kf.util.security.FeaturePermissionCheckDelegate
- Parameters:
permission
- thePermission
requested by the appapp
- theFeature
"app" that is requesting the permission
-
-