|
Bees v0.5.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Permission | |
bees.core | The core functionality for Bees, including, capabilities, coroutines, and events. |
bees.core.resource | This package holds most of the system provided capabilities. |
bees.core.security | This packages holds most of the security related capabilities and Permission classes. |
Uses of Permission in bees.core |
Fields in bees.core declared as Permission | |
static Permission |
Capability.DELETE_PERMISSION
Permission to delete a capability. |
static Permission |
Node.READ_NODE_NAME
Permission for reading the node name. |
static Permission |
Node.READ_NODE_VERSION
Permission for reading the node version info. |
static Permission |
Node.THREAD_START
Permission for starting a thread. |
static Permission |
Node.PROTOCOL_REGISTER
Permission for registering a protocol. |
static Permission |
Node.JSI_REGISTER
Permission to register a JSI handler. |
static Permission |
NeighborImpl.CAPSULE__READ_PERMISSION
Permission to receive capsules from the neighbor. |
static Permission |
NeighborImpl.CAPSULE__WRITE_PERMISSION
Permission to send capsules to the neighbor. |
Methods in bees.core that return Permission | |
Permission |
Capability.clonePermission(Permission what)
|
Methods in bees.core with parameters of type Permission | |
void |
Capability.checkPermission(Permission what)
Check if this capability has the permissions to do something. |
Permission |
Capability.clonePermission(Permission what)
|
void |
Capability.revokePermission(Permission what)
|
void |
Capability.revokedPermission(Permission what)
Callback... |
void |
Capsule.checkPermission(Permission what)
Check the capsule for the given permission. |
Uses of Permission in bees.core.resource |
Subclasses of Permission in bees.core.resource | |
class |
IPAddressPermission
An IPAddressPermission is used to encode an IPAddress as a permission object. |
Fields in bees.core.resource declared as Permission | |
static Permission |
File.FILE_READ_PERMISSION
Permission to read the file. |
static Permission |
File.FILE_WRITE_PERMISSION
Permission to write to the file. |
static Permission |
File.FILE_LENGTH_PERMISSION
Permission to get the file's length. |
static Permission |
File.FILE_READ_LAST_MODIFIED_PERMISSION
Permission to read the file's last modified time. |
static Permission |
File.FILE_WRITE_LAST_MODIFIED_PERMISSION
Permission to write the file's last modified time. |
static Permission |
File.FILE_DELETE_PERMISSION
Permission to delete the file. |
static Permission |
NodeOSNeighbor.INCOMING_PROTOCOL_SPEC__READ_PERMISSION
Permission to read the incoming protocol spec. |
static Permission |
NodeOSNeighbor.INCOMING_ADDRESS_SPEC__READ_PERMISSION
Permission to read the incoming address spec. |
static Permission |
NodeOSNeighbor.OUTGOING_PROTOCOL_SPEC__READ_PERMISSION
Permission to read the outgoing protocol spec. |
static Permission |
NodeOSNeighbor.OUTGOING_ADDRESS_SPEC__READ_PERMISSION
Permission to read the outgoing address spec. |
static Permission |
Console.CONSOLE_READ_PERMISSION
Permission to read from the console. |
static Permission |
Console.CONSOLE_WRITE_PERMISSION
Permission to write to the console. |
static Permission |
Logger.LEVEL_PERMISSION
The permission containing the maximum LogLevel value for this Logger. |
static Permission |
Clock.READ_LOCAL_TIME
Permission to read the local time. |
static Permission |
Clock.WRITE_LOCAL_TIME
Permission to write the local time. |
static Permission |
Clock.GRANULARITY
Permission to write the local time. |
Methods in bees.core.resource with parameters of type Permission | |
void |
NodeOSNeighbor.revokedPermission(Permission what)
|
java.lang.String |
AddressComponent.map(java.lang.String type,
Permission what)
Map an address slot type and value to a string suitable for use in a NodeOS address specification. |
boolean |
IPAddressPermission.implies(Permission what)
|
Uses of Permission in bees.core.security |
Subclasses of Permission in bees.core.security | |
class |
CountPermission
A CountPermission holds a positive integer value, most likely used to count something (e.g. |
class |
EnumerationPermission
An EnumerationPermission holds a string value, representing a symbol, that can later be mapped to an integer. |
class |
FilePermission
FilePermission extends the standard Permission class to support file specific actions. |
class |
FloatPermission
A FloatPermission binds a permission name to a floating point value. |
class |
IntegerPermission
An IntegerPermission binds a permission name to an integer value. |
class |
MaximumFloatPermission
A MaximumFloatPermission limits a FloatPermission to a given maximum. |
class |
MaximumIntegerPermission
A MaximumIntegerPermission limits a IntegerPermission to a given maximum. |
class |
MinimumFloatPermission
A MinimumFloatPermission limits a FloatPermission to a given minimum. |
class |
MinimumIntegerPermission
A MinimumIntegerPermission limits a IntegerPermission to a given minimum. |
class |
RangePermission
A RangePermission restricts access based on ranges of integers. |
Fields in bees.core.security declared as Permission | |
static Permission |
Cipher.DECRYPT_PERMISSION
Permission to use this key for decryption. |
static Permission |
Cipher.ENCRYPT_PERMISSION
Permission to use this key for encryption. |
static Permission |
Signature.SIGN_PERMISSION
Permission to use this key for signing. |
static Permission |
Signature.VERIFY_PERMISSION
Permission to use this key for verification. |
static Permission |
PublicKey.READ_ENCODED_PERMISSION
Permission to read the encoded version of this key. |
static Permission |
Mac.MAC_PERMISSION
Permission to use this key for decryption. |
Methods in bees.core.security that return Permission | |
static Permission |
Permission.instantiate(XdrByteArray xba)
Instantiate a Permission object from the given byte array. |
static Permission |
Permission.instantiate(byte[] flattened)
Instantiate a Permission object from the given byte array. |
Permission[] |
PermissionSet.toArray()
|
Permission |
PermissionSet.hasPermission(Permission what)
Check if this set has the given Permission. |
Methods in bees.core.security with parameters of type Permission | |
boolean |
Permission.nameImplies(Permission p)
Test whether this permission's name implies the given permission. |
boolean |
Permission.implies(Permission p)
Test whether this permission implies the given permission. |
void |
Permission.grant(Permission what)
Grant the actions in "what" to this permission. |
void |
Permission.revoke(Permission what)
Revoke the actions in "what" from this permission. |
void |
Permission.bound(Permission what)
Bound this permission's actions to the ones available in what. |
void |
CountPermission.revoke(Permission what)
|
void |
CountPermission.grant(Permission what)
|
boolean |
CountPermission.implies(Permission what)
|
void |
MinimumIntegerPermission.bound(Permission perm)
|
void |
MinimumIntegerPermission.revoke(Permission perm)
|
void |
MinimumIntegerPermission.grant(Permission perm)
|
boolean |
MinimumIntegerPermission.implies(Permission what)
|
boolean |
RangePermission.implies(Permission what)
|
void |
RangePermission.grant(Permission what)
|
void |
RangePermission.revoke(Permission what)
|
void |
RangePermission.bound(Permission what)
|
void |
MinimumFloatPermission.bound(Permission perm)
|
void |
MinimumFloatPermission.revoke(Permission perm)
|
void |
MinimumFloatPermission.grant(Permission perm)
|
boolean |
MinimumFloatPermission.implies(Permission what)
|
boolean |
EnumerationPermission.implies(Permission what)
|
void |
MaximumFloatPermission.bound(Permission perm)
|
void |
MaximumFloatPermission.revoke(Permission perm)
|
void |
MaximumFloatPermission.grant(Permission perm)
|
boolean |
MaximumFloatPermission.implies(Permission what)
|
void |
PermissionSet.grantPermission(Permission what)
Grant the given Permission to this set. |
void |
PermissionSet.revokePermission(Permission what)
Revoke the given Permission from this set. |
PermissionSet |
PermissionSet.subset(Permission what)
|
Permission |
PermissionSet.hasPermission(Permission what)
Check if this set has the given Permission. |
void |
PermissionSet.checkPermission(Permission what)
Check if this set has the given Permission and throw a PermissionException if it doesn't. |
void |
MaximumIntegerPermission.bound(Permission perm)
|
void |
MaximumIntegerPermission.revoke(Permission perm)
|
void |
MaximumIntegerPermission.grant(Permission perm)
|
boolean |
MaximumIntegerPermission.implies(Permission what)
|
Constructors in bees.core.security with parameters of type Permission | |
PermissionSet(Permission[] permissions)
Construct a PermissionSet with the given value. |
|
Bees v0.5.0 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |