- All Implemented Interfaces:
Serializable
,Comparable<Portal.LoginType>
,Constable
- Enclosing class:
Portal
Signifies the login type for a portal.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLogin uses a digital certificate to identify the user.Login uses an OAuth 2.0 based workflow.Login type is unknown.Login uses a username and password to identify the user. -
Method Summary
Modifier and TypeMethodDescriptionstatic Portal.LoginType
Returns the enum constant of this class with the specified name.static Portal.LoginType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLIENT_CERTIFICATE
Login uses a digital certificate to identify the user.- Since:
- 100.0.0
-
OAUTH
Login uses an OAuth 2.0 based workflow.- Since:
- 100.0.0
-
USERNAME_PASSWORD
Login uses a username and password to identify the user.- Since:
- 100.0.0
-
UNKNOWN
Login type is unknown.- Since:
- 100.0.0
-
-
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
-