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 classSystemPermission.TypeSpecific 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 booleanequals(Object obj)SystemPermission.TypegetType()Returns the type of operation affected by this permission.inthashCode()
-
-
-
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:PermissionReturns the type of operation affected by this permission.- Specified by:
getTypein interfacePermission<SystemPermission.Type>- Returns:
- The type of operation affected by this permission.
-
-