Class 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 of FeaturePermissionCheckDelegate 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.

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermissionAuditLogger

        public PermissionAuditLogger()
    • 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 interface com.microej.kf.util.security.FeaturePermissionCheckDelegate
        Parameters:
        permission - the Permission requested by the app
        app - the Feature "app" that is requesting the permission