Class PermissionLogger

  • All Implemented Interfaces:
    com.microej.kf.util.security.FeaturePermissionCheckDelegate

    public class PermissionLogger
    extends java.lang.Object
    implements com.microej.kf.util.security.FeaturePermissionCheckDelegate
    An example logging-only FeaturePermissionCheckDelegate implementation granting all permissions.
    • Constructor Summary

      Constructors 
      Constructor Description
      PermissionLogger​(java.util.logging.Logger logger, java.util.logging.Level logLevel)
      Construct.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkPermission​(java.security.Permission permission, ej.kf.Feature feature)  
      • Methods inherited from class java.lang.Object

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

      • PermissionLogger

        public PermissionLogger​(java.util.logging.Logger logger,
                                java.util.logging.Level logLevel)
        Construct.
        Parameters:
        logger - Logger.
        logLevel - Log level.
    • Method Detail

      • checkPermission

        public void checkPermission​(java.security.Permission permission,
                                    ej.kf.Feature feature)
        Specified by:
        checkPermission in interface com.microej.kf.util.security.FeaturePermissionCheckDelegate