Class LoggingPermissionCheckDelegate

    • Constructor Detail

      • LoggingPermissionCheckDelegate

        public LoggingPermissionCheckDelegate​(ej.util.message.MessageLogger logger,
                                              char logLevel)
        Creates a LoggingPermissionCheckDelegate with the specified MessageLogger and Level
        Parameters:
        logger - the logger that should be used to log permission checks
        logLevel - the level that should be used to log permission checks
      • LoggingPermissionCheckDelegate

        public LoggingPermissionCheckDelegate()
        Creates a LoggingPermissionCheckDelegate using the KF utilities logger and the FINER log level.
    • Method Detail

      • checkPermission

        public void checkPermission​(java.security.Permission p,
                                    ej.kf.Feature f)
        Description copied from interface: FeaturePermissionCheckDelegate
        Called by KernelSecurityManager when the current thread context requesting for a Permission check is owned by a Feature. This method is called in Kernel mode.
        Specified by:
        checkPermission in interface FeaturePermissionCheckDelegate
        Parameters:
        p - the permission to check
        f - the feature which own the permission