public class RemotingPermission extends BasicPermission
This class is for WildFly Security Remoting's permissions. A permission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.
The naming convention follows the hierarchical property naming convention. An asterisk may appear by itself, or if immediately preceded by a "." may appear at the end of the name, to signify a wildcard match.
The target name is the name of the permission. The following table lists all the possible permission target names, and for each provides a description of what the permission allows.
| Permission Target Name | What the Permission Allows |
|---|---|
| clearConnection | Clear a RemotingContext's Connection |
| getConnection | Retrieve a RemotingContext's Connection |
| isConnectionSet | Check if a RemotingContext's Connection is set |
| setConnection | Set a RemotingContext's Connection |
| Constructor and Description |
|---|
RemotingPermission(String name)
Creates a new permission with the specified name.
|
RemotingPermission(String name,
String actions)
Creates a new permission object with the specified name.
|
equals, getActions, hashCode, implies, newPermissionCollectioncheckGuard, getName, toStringpublic RemotingPermission(String name)
name - the name of the permission.NullPointerException - if name is null.IllegalArgumentException - if name is empty.public RemotingPermission(String name, String actions)
name - the name of the permission.actions - should be null.NullPointerException - if name is null.IllegalArgumentException - if name is empty.Copyright © 2018 JBoss by Red Hat. All rights reserved.