NetPermission

  • NetPermission is a legacy security class and should not be used in new code.

  • It provides a way to control network access but has been superseded by more modern security mechanisms.

  • This class inherits from BasicPermission and implements the Guard interface.

  • Developers should use newer security classes and APIs for network security control.

public final class NetPermission extends BasicPermission

Legacy security code; do not use.

Public Constructor Summary

NetPermission(String name, String actions)

Inherited Method Summary

Public Constructors

public NetPermission (String name)

Parameters
name

public NetPermission (String name, String actions)

Parameters
name
actions