Package com.spotfire.server.api.userdir
Enum Class PrincipalProperty
- All Implemented Interfaces:
Serializable
,Comparable<PrincipalProperty>
,Constable
Represents searchable properties (fields) of user directory principals.
- Since:
- 10.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe display name of a principal.The email address of a principal.The name of a principal. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrincipalProperty
Returns the enum constant of this class with the specified name.static PrincipalProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
The name of a principal. If the value is given in the form of the currently configured domain name style (controlled using theuser-directory.domain-name-style
configuration property) and thesecurity.parse-user-and-domain-name
istrue
then the value will be parsed, allowing searches on both domain name and principal name (otherwise the expression will be matched against the principal name). -
DISPLAY_NAME
The display name of a principal. -
EMAIL
The email address of a principal.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-