Package org.keycloak.adapters.saml
Enum SamlDeployment.PrincipalNamePolicy
- java.lang.Object
-
- java.lang.Enum<SamlDeployment.PrincipalNamePolicy>
-
- org.keycloak.adapters.saml.SamlDeployment.PrincipalNamePolicy
-
- All Implemented Interfaces:
Serializable,Comparable<SamlDeployment.PrincipalNamePolicy>
- Enclosing interface:
- SamlDeployment
public static enum SamlDeployment.PrincipalNamePolicy extends Enum<SamlDeployment.PrincipalNamePolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FROM_ATTRIBUTEFROM_NAME_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SamlDeployment.PrincipalNamePolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static SamlDeployment.PrincipalNamePolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FROM_NAME_ID
public static final SamlDeployment.PrincipalNamePolicy FROM_NAME_ID
-
FROM_ATTRIBUTE
public static final SamlDeployment.PrincipalNamePolicy FROM_ATTRIBUTE
-
-
Method Detail
-
values
public static SamlDeployment.PrincipalNamePolicy[] 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 (SamlDeployment.PrincipalNamePolicy c : SamlDeployment.PrincipalNamePolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamlDeployment.PrincipalNamePolicy 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
-
-