Class ObjectPermission
java.lang.Object
org.apache.guacamole.net.auth.permission.ObjectPermission
- All Implemented Interfaces:
Permission<ObjectPermission.Type>
A permission which affects a specific object, rather than the system as a
whole.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Specific types of object-level permissions. -
Constructor Summary
ConstructorsConstructorDescriptionObjectPermission
(ObjectPermission.Type type, String identifier) Creates a new ObjectPermission having the given type and identifier. -
Method Summary
-
Constructor Details
-
ObjectPermission
Creates a new ObjectPermission having the given type and identifier. The identifier must be the unique identifier assigned to the object associated with this permission by the AuthenticationProvider in use.- Parameters:
type
- The type of operation affected by this permission.identifier
- The identifier of the object associated with the operation affected by this permission.
-
-
Method Details
-
getObjectIdentifier
Returns the identifier of the specific object affected by this permission.- Returns:
- The identifier of the specific object affected by this permission.
-
getType
Description copied from interface:Permission
Returns the type of operation affected by this permission.- Specified by:
getType
in interfacePermission<ObjectPermission.Type>
- Returns:
- The type of operation affected by this permission.
-
hashCode
public int hashCode() -
equals
-