public enum RoleAuthorization extends Enum<RoleAuthorization>
roleauthorization
table in the Ambari database. The value field
of each item represents the roleauthorization.authorization_id
value.Modifier and Type | Field and Description |
---|---|
static Set<RoleAuthorization> |
AUTHORIZATIONS_UPDATE_CLUSTER |
static Set<RoleAuthorization> |
AUTHORIZATIONS_UPDATE_SERVICE |
static Set<RoleAuthorization> |
AUTHORIZATIONS_VIEW_CLUSTER |
static Set<RoleAuthorization> |
AUTHORIZATIONS_VIEW_SERVICE |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get's the ID value for this RoleAuthorization
This value represents the
roleauthorization.authorization_id value from the Ambari database |
static RoleAuthorization |
translate(String authenticationId)
Safely translates a role authorization Id to a RoleAuthorization
|
static RoleAuthorization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleAuthorization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleAuthorization AMBARI_ADD_DELETE_CLUSTERS
public static final RoleAuthorization AMBARI_ASSIGN_ROLES
public static final RoleAuthorization AMBARI_EDIT_STACK_REPOS
public static final RoleAuthorization AMBARI_MANAGE_SETTINGS
public static final RoleAuthorization AMBARI_MANAGE_GROUPS
public static final RoleAuthorization AMBARI_MANAGE_STACK_VERSIONS
public static final RoleAuthorization AMBARI_MANAGE_USERS
public static final RoleAuthorization AMBARI_MANAGE_VIEWS
public static final RoleAuthorization AMBARI_RENAME_CLUSTER
public static final RoleAuthorization AMBARI_RUN_CUSTOM_COMMAND
public static final RoleAuthorization AMBARI_MANAGE_CONFIGURATION
public static final RoleAuthorization AMBARI_VIEW_STATUS_INFO
public static final RoleAuthorization CLUSTER_MANAGE_CREDENTIALS
public static final RoleAuthorization CLUSTER_MODIFY_CONFIGS
public static final RoleAuthorization CLUSTER_MANAGE_CONFIG_GROUPS
public static final RoleAuthorization CLUSTER_MANAGE_ALERTS
public static final RoleAuthorization CLUSTER_MANAGE_USER_PERSISTED_DATA
public static final RoleAuthorization CLUSTER_TOGGLE_ALERTS
public static final RoleAuthorization CLUSTER_TOGGLE_KERBEROS
public static final RoleAuthorization CLUSTER_UPGRADE_DOWNGRADE_STACK
public static final RoleAuthorization CLUSTER_VIEW_ALERTS
public static final RoleAuthorization CLUSTER_VIEW_CONFIGS
public static final RoleAuthorization CLUSTER_VIEW_METRICS
public static final RoleAuthorization CLUSTER_VIEW_STACK_DETAILS
public static final RoleAuthorization CLUSTER_VIEW_STATUS_INFO
public static final RoleAuthorization CLUSTER_RUN_CUSTOM_COMMAND
public static final RoleAuthorization CLUSTER_MANAGE_AUTO_START
public static final RoleAuthorization CLUSTER_MANAGE_ALERT_NOTIFICATIONS
public static final RoleAuthorization CLUSTER_MANAGE_WIDGETS
public static final RoleAuthorization HOST_ADD_DELETE_COMPONENTS
public static final RoleAuthorization HOST_ADD_DELETE_HOSTS
public static final RoleAuthorization HOST_TOGGLE_MAINTENANCE
public static final RoleAuthorization HOST_VIEW_CONFIGS
public static final RoleAuthorization HOST_VIEW_METRICS
public static final RoleAuthorization HOST_VIEW_STATUS_INFO
public static final RoleAuthorization SERVICE_ADD_DELETE_SERVICES
public static final RoleAuthorization SERVICE_VIEW_OPERATIONAL_LOGS
public static final RoleAuthorization SERVICE_COMPARE_CONFIGS
public static final RoleAuthorization SERVICE_DECOMMISSION_RECOMMISSION
public static final RoleAuthorization SERVICE_ENABLE_HA
public static final RoleAuthorization SERVICE_MANAGE_CONFIG_GROUPS
public static final RoleAuthorization SERVICE_MANAGE_ALERTS
public static final RoleAuthorization SERVICE_MODIFY_CONFIGS
public static final RoleAuthorization SERVICE_MOVE
public static final RoleAuthorization SERVICE_RUN_CUSTOM_COMMAND
public static final RoleAuthorization SERVICE_RUN_SERVICE_CHECK
public static final RoleAuthorization SERVICE_SET_SERVICE_USERS_GROUPS
public static final RoleAuthorization SERVICE_START_STOP
public static final RoleAuthorization SERVICE_TOGGLE_ALERTS
public static final RoleAuthorization SERVICE_TOGGLE_MAINTENANCE
public static final RoleAuthorization SERVICE_VIEW_ALERTS
public static final RoleAuthorization SERVICE_VIEW_CONFIGS
public static final RoleAuthorization SERVICE_VIEW_METRICS
public static final RoleAuthorization SERVICE_VIEW_STATUS_INFO
public static final RoleAuthorization SERVICE_MANAGE_AUTO_START
public static final RoleAuthorization VIEW_USE
public static final Set<RoleAuthorization> AUTHORIZATIONS_VIEW_CLUSTER
public static final Set<RoleAuthorization> AUTHORIZATIONS_UPDATE_CLUSTER
public static final Set<RoleAuthorization> AUTHORIZATIONS_VIEW_SERVICE
public static final Set<RoleAuthorization> AUTHORIZATIONS_UPDATE_SERVICE
public static RoleAuthorization[] values()
for (RoleAuthorization c : RoleAuthorization.values()) System.out.println(c);
public static RoleAuthorization valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getId()
roleauthorization.authorization_id
value from the Ambari databasepublic static RoleAuthorization translate(String authenticationId)
authenticationId
- an authentication idCopyright © 2022 Apache Software Foundation. All rights reserved.