Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.security
Enum Class AuthenticationChallenge.Type
java.lang.Object
java.lang.Enum<AuthenticationChallenge.Type>
com.esri.arcgisruntime.security.AuthenticationChallenge.Type
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationChallenge.Type>
,Constable
- Enclosing class:
AuthenticationChallenge
Specifies the different types of authentication challenges that can be raised.
- 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 ConstantDescriptionThis challenge is raised when an endpoint requires a client certificate to be presented.This challenge is raised when an endpoint is Token secured and requires a credential.This challenge is raised when an endpoint presents an SSL certificate that is self signed or signed by an unknown root authority (for example an enterprise root certificate).This value is used when the type of the authentication challenge cannot be determined from the available information (namely the exception that was raised).This challenge is raised when a standard username/password credential is required to satisfy an HTTP or Token secured endpoint. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationChallenge.Type
Returns the enum constant of this class with the specified name.static AuthenticationChallenge.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_CREDENTIAL_CHALLENGE
This challenge is raised when a standard username/password credential is required to satisfy an HTTP or Token secured endpoint.- Since:
- 100.0.0
-
SELF_SIGNED_CHALLENGE
This challenge is raised when an endpoint presents an SSL certificate that is self signed or signed by an unknown root authority (for example an enterprise root certificate).- Since:
- 100.0.0
-
CERTIFICATE_CHALLENGE
This challenge is raised when an endpoint requires a client certificate to be presented.- Since:
- 100.0.0
-
OAUTH_CREDENTIAL_CHALLENGE
This challenge is raised when an endpoint is Token secured and requires a credential. This differs from the USER_CREDENTIAL_CHALLENGE in that it will only be issued if the calling portal (or the portal which federates the calling service) supports OAuth and you have set both a redirect URI and a client ID for the calling/federating portal in the AuthenticationManager.- Since:
- 100.0.0
-
UNKNOWN
This value is used when the type of the authentication challenge cannot be determined from the available information (namely the exception that was raised).- 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
-