SocketPermission

Class SocketPermission

All Implemented Interfaces:
Serializable, Guard
public final class SocketPermission
extends Permission
implements Serializable

This class represents access to a network via sockets. A SocketPermission consists of a host specification and a set of "actions" specifying ways to connect to that host. The host is specified as

host = (hostname | IPv4address | iPv6reference) [:portrange]
    portrange = portnumb