Name
Class java.net.SocketPermission
Synopsis
This class represents the ability to work with certain sockets. The name of this permission is constructed from the hostname or IP address of the machine on the other end of the socket and the port number; either portion of the name is subject to wildcard matching. Valid actions for this class include connect, resolve, accept, and listen.
Class Definition
public final class java.net.SocketPermission extends java.security.Permission implements java.io.Serializable { // Constructors public SocketPermission(String, String); // Instance Methods public boolean equals(Object); public String getActions( ); public int hashCode( ); public boolean implies(Permission); public PermissionCollection newPermissionCollection( ); }
See also
Permission
|
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.