Interface ScriptSecurity

All Known Implementing Classes:
DefaultScriptSecurity, EmbededScriptSecurity, NoLoadScriptSecurity, RelaxedScriptSecurity

public interface ScriptSecurity
An interface that allows UserAgents to describe the security constraints desired for scripting. Right now, this interface only has one method, but it may be extended in the future to add finer control over the security settings for scripts.
Version:
$Id: ScriptSecurity.java 1733416 2016-03-03 07:07:13Z gadams $
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Controls whether the script should be loaded or not.
  • Method Details

    • checkLoadScript

      void checkLoadScript()
      Controls whether the script should be loaded or not.
      Throws:
      SecurityException - if the script should not be loaded.