Class SystemPermission
- java.lang.Object
-
- org.apache.guacamole.net.auth.permission.SystemPermission
-
- All Implemented Interfaces:
Permission<SystemPermission.Type>
public class SystemPermission extends Object implements Permission<SystemPermission.Type>
A permission which affects the system as a whole, rather than an individual object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemPermission.Type
Specific types of system-level permissions.
-
Constructor Summary
Constructors Constructor Description SystemPermission(SystemPermission.Type type)
Creates a new SystemPermission with the given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
SystemPermission.Type
getType()
Returns the type of operation affected by this permission.int
hashCode()
-
-
-
Constructor Detail
-
SystemPermission
public SystemPermission(SystemPermission.Type type)
Creates a new SystemPermission with the given type.- Parameters:
type
- The type of operation controlled by this permission.
-
-
Method Detail
-
getType
public SystemPermission.Type getType()
Description copied from interface:Permission
Returns the type of operation affected by this permission.- Specified by:
getType
in interfacePermission<SystemPermission.Type>
- Returns:
- The type of operation affected by this permission.
-
-