public class RemotingPermission extends org.wildfly.security.permission.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 |
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
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 org.wildfly.security.permission.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 © 2017 JBoss by Red Hat. All rights reserved.