Interface Security


  • public interface Security
    Security
    • Method Summary

      Modifier and Type Method Description
      void disable()
      Disables tracking security state changes.
      void enable()
      Enables tracking security state changes.
      void handleCertificateError​(java.lang.Integer eventId, CertificateErrorAction action)
      Handles a certificate error that fired a certificateError event.
      void setIgnoreCertificateErrors​(java.lang.Boolean ignore)
      Enable/disable whether all certificate errors should be ignored.
      void setOverrideCertificateErrors​(java.lang.Boolean override)
      Enable/disable overriding certificate errors.
    • Method Detail

      • disable

        void disable()
        Disables tracking security state changes.
      • enable

        void enable()
        Enables tracking security state changes.
      • setIgnoreCertificateErrors

        void setIgnoreCertificateErrors​(java.lang.Boolean ignore)
        Enable/disable whether all certificate errors should be ignored.
        Parameters:
        ignore - If true, all certificate errors will be ignored.
      • handleCertificateError

        void handleCertificateError​(java.lang.Integer eventId,
                                    CertificateErrorAction action)
        Handles a certificate error that fired a certificateError event.
        Parameters:
        eventId - The ID of the event.
        action - The action to take on the certificate error.
      • setOverrideCertificateErrors

        void setOverrideCertificateErrors​(java.lang.Boolean override)
        Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with handleCertificateError commands.
        Parameters:
        override - If true, certificate errors will be overridden.