public static enum CustomRestrictionPolicyContext.CredentialsType extends Enum<CustomRestrictionPolicyContext.CredentialsType>
Enum Constant and Description |
---|
ROLE
The
ROLE element indicates that the credential is a role |
USER
The
USER element indicates that the credential is a user |
Modifier and Type | Method and Description |
---|---|
static CustomRestrictionPolicyContext.CredentialsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomRestrictionPolicyContext.CredentialsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomRestrictionPolicyContext.CredentialsType USER
USER
element indicates that the credential is a userpublic static final CustomRestrictionPolicyContext.CredentialsType ROLE
ROLE
element indicates that the credential is a rolepublic static CustomRestrictionPolicyContext.CredentialsType[] values()
for (CustomRestrictionPolicyContext.CredentialsType c : CustomRestrictionPolicyContext.CredentialsType.values()) System.out.println(c);
public static CustomRestrictionPolicyContext.CredentialsType 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 nullCopyright © 2023 Denodo Technologies. All rights reserved.