Enum SystemPermission.Type
- java.lang.Object
-
- java.lang.Enum<SystemPermission.Type>
-
- org.apache.guacamole.net.auth.permission.SystemPermission.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<SystemPermission.Type>
- Enclosing class:
- SystemPermission
public static enum SystemPermission.Type extends Enum<SystemPermission.Type>
Specific types of system-level permissions. Each permission type is related to a specific class of system-level operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTER
Administer the system in general, including adding permissions which affect the system (like user creation, connection creation, and system administration).CREATE_CONNECTION
Create connections.CREATE_CONNECTION_GROUP
Create connection groups.CREATE_SHARING_PROFILE
Create sharing profiles.CREATE_USER
Create users.CREATE_USER_GROUP
Create user groups.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SystemPermission.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static SystemPermission.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_USER
public static final SystemPermission.Type CREATE_USER
Create users.
-
CREATE_USER_GROUP
public static final SystemPermission.Type CREATE_USER_GROUP
Create user groups.
-
CREATE_CONNECTION
public static final SystemPermission.Type CREATE_CONNECTION
Create connections.
-
CREATE_CONNECTION_GROUP
public static final SystemPermission.Type CREATE_CONNECTION_GROUP
Create connection groups.
-
CREATE_SHARING_PROFILE
public static final SystemPermission.Type CREATE_SHARING_PROFILE
Create sharing profiles.
-
ADMINISTER
public static final SystemPermission.Type ADMINISTER
Administer the system in general, including adding permissions which affect the system (like user creation, connection creation, and system administration).
-
-
Method Detail
-
values
public static SystemPermission.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SystemPermission.Type c : SystemPermission.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemPermission.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-