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.

Method Summary
 void checkLoadScript()
          Controls whether the script should be loaded or not.

Method Detail


void checkLoadScript()
Controls whether the script should be loaded or not.

SecurityException - if the script should not be loaded.

Copyright © 2017 Apache Software Foundation. All Rights Reserved.