public class ConnectorPermission extends InstancePermission
Modifier and Type | Field and Description |
---|---|
static String |
FILE_PREFIX |
static String |
JDBC_PREFIX |
static String |
JMS_PREFIX |
static String |
SOCKET_PREFIX |
Constructor and Description |
---|
ConnectorPermission(String name,
String... actions) |
Modifier and Type | Method and Description |
---|---|
static ConnectorPermission |
file(String directory,
String action)
converts the
directory to canonical path if it is not
one of the Hadoop prefixes. |
protected int |
initMask(String[] actions)
init mask
|
static ConnectorPermission |
jdbc(String connectionUrl,
String action) |
static ConnectorPermission |
jms(String destination,
String action) |
static ConnectorPermission |
socket(String host,
int port,
String action) |
equals, getActions, hashCode, implies
newPermissionCollection
checkGuard, getName, toString
public static final String FILE_PREFIX
public static final String SOCKET_PREFIX
public static final String JMS_PREFIX
public static final String JDBC_PREFIX
public static ConnectorPermission file(String directory, String action)
directory
to canonical path if it is not
one of the Hadoop prefixes.
see FileSourceBuilder.hasHadoopPrefix(String)
public static ConnectorPermission socket(String host, int port, String action)
public static ConnectorPermission jms(@Nullable String destination, String action)
public static ConnectorPermission jdbc(@Nullable String connectionUrl, String action)
protected int initMask(String[] actions)
InstancePermission
initMask
in class InstancePermission
Copyright © 2024 Hazelcast, Inc.. All rights reserved.