Interface Guard

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Determines whether to allow access to the guarded object object.
  • Method Details

    • checkGuard

      void checkGuard(Object object) throws SecurityException
      Determines whether to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.
      Parameters:
      object - the object being protected by the guard.
      Throws:
      SecurityException - if access is denied.