public class RemotingPermission extends AbstractNameSetOnlyPermission<RemotingPermission>
Modifier and Type | Field and Description |
---|---|
static RemotingPermission |
ADD_CONNECTION_PROVIDER |
static RemotingPermission |
ALL_PERMISSION |
static RemotingPermission |
CONNECT |
static RemotingPermission |
CREATE_ENDPOINT |
static RemotingPermission |
GET_CONNECTION_PEER_IDENTITY |
static RemotingPermission |
GET_CONNECTION_PROVIDER_INTERFACE |
static RemotingPermission |
REGISTER_SERVICE |
ALL, NONE
Constructor and Description |
---|
RemotingPermission(String name)
Creates a new
RemotingPermission object with the specified name. |
RemotingPermission(String name,
String actions)
Creates a new
RemotingPermission object with the specified name. |
Modifier and Type | Method and Description |
---|---|
static RemotingPermission |
forName(String name)
Get the permission with the given name.
|
RemotingPermission |
withName(String name)
Create a new permission which is identical to this one, except with a new
name . |
impliesName, nameEquals, nameHashCode, newPermissionCollection
equals, hashCode, implies, impliesName, impliesName, nameEquals, nameEquals
equals, getActions, implies, requireEmptyActions
checkGuard, getName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and, checkPermission, from, from, from, from, not, or, toPermissionCollection, unless, xor
public static final RemotingPermission CREATE_ENDPOINT
public static final RemotingPermission CONNECT
public static final RemotingPermission ADD_CONNECTION_PROVIDER
public static final RemotingPermission REGISTER_SERVICE
public static final RemotingPermission GET_CONNECTION_PROVIDER_INTERFACE
public static final RemotingPermission GET_CONNECTION_PEER_IDENTITY
public static final RemotingPermission ALL_PERMISSION
public RemotingPermission(String name) throws NullPointerException, IllegalArgumentException
RemotingPermission
object with the specified name.
The name is the symbolic name of the RemotingPermission
.name
- the name of the RemotingPermission
NullPointerException
- if name
is null
IllegalArgumentException
- if name
is emptypublic RemotingPermission(String name, String actions) throws NullPointerException, IllegalArgumentException
RemotingPermission
object with the specified name.
The name is the symbolic name of the RemotingPermission
, and the
actions string is currently unused.name
- the name of the RemotingPermission
actions
- ignoredNullPointerException
- if name
is null
IllegalArgumentException
- if name
is emptypublic RemotingPermission withName(String name)
name
.withName
in class AbstractNamedPermission<RemotingPermission>
name
- the name to usenull
)IllegalArgumentException
- if the name is not validpublic static RemotingPermission forName(String name)
name
- the name (must not be null
)null
)IllegalArgumentException
- if the name is not validCopyright © 2019 JBoss by Red Hat. All rights reserved.