Interface AuthorizationMonitor

    • Method Detail

      • accessViolation

        void accessViolation()
        Called to mark an access violation in the default permission validator.
      • permissionError

        void permissionError()
        Called to mark unexpected errors related to the permission store. It does does not cover access violations, but actual operational errors that probably need to be investigated. Any triggered event should have a corresponding error logged to make this investigation possible.
      • permissionRefresh

        void permissionRefresh()
        Called when the PermissionProvider is being refreshed and permission caches are cleared.
      • permissionAllLoaded

        void permissionAllLoaded​(long timeTakenNanos)
        Called to record the time it takes to eagerly load all permissions for a given principal.
        Parameters:
        timeTakenNanos - Time in nanoseconds.