public enum SamlPrincipalType extends Enum<SamlPrincipalType>
Enum Constant and Description |
---|
ATTRIBUTE |
FRIENDLY_ATTRIBUTE |
SUBJECT |
Modifier and Type | Method and Description |
---|---|
static SamlPrincipalType |
from(String name,
SamlPrincipalType defaultValue) |
static SamlPrincipalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SamlPrincipalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SamlPrincipalType SUBJECT
public static final SamlPrincipalType ATTRIBUTE
public static final SamlPrincipalType FRIENDLY_ATTRIBUTE
public static SamlPrincipalType[] values()
for (SamlPrincipalType c : SamlPrincipalType.values()) System.out.println(c);
public static SamlPrincipalType 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 static SamlPrincipalType from(String name, SamlPrincipalType defaultValue)
Copyright © 2021 JBoss by Red Hat. All rights reserved.