Package com.esri.arcgisruntime.security
Enum AuthenticationChallengeResponse.Action
- java.lang.Object
-
- java.lang.Enum<AuthenticationChallengeResponse.Action>
-
- com.esri.arcgisruntime.security.AuthenticationChallengeResponse.Action
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthenticationChallengeResponse.Action>
- Enclosing class:
- AuthenticationChallengeResponse
public static enum AuthenticationChallengeResponse.Action extends java.lang.Enum<AuthenticationChallengeResponse.Action>
Enum specifying the possible actions that can be taken in response to an AuthenticationChallenge.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCEL
Cancels the current request.CONTINUE_AFTER_APPLYING_CLIENT_CERT
Retries the current request with the accompanyingCertificateCredential
CONTINUE_WITH_CREDENTIAL
Retries the current request with the accompanyingCredential
CONTINUE_WITH_SELF_SIGNED_RESPONSE
Applies the accompanyingSelfSignedResponse
(by either granting or denying trust to the server certificate, and caching or not caching the trust).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationChallengeResponse.Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationChallengeResponse.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE_WITH_CREDENTIAL
public static final AuthenticationChallengeResponse.Action CONTINUE_WITH_CREDENTIAL
Retries the current request with the accompanyingCredential
- Since:
- 100.0.0
-
CONTINUE_WITH_SELF_SIGNED_RESPONSE
public static final AuthenticationChallengeResponse.Action CONTINUE_WITH_SELF_SIGNED_RESPONSE
Applies the accompanyingSelfSignedResponse
(by either granting or denying trust to the server certificate, and caching or not caching the trust). If the response indicates that the server should be trusted, the request will be retried.- Since:
- 100.0.0
-
CONTINUE_AFTER_APPLYING_CLIENT_CERT
public static final AuthenticationChallengeResponse.Action CONTINUE_AFTER_APPLYING_CLIENT_CERT
Retries the current request with the accompanyingCertificateCredential
- Since:
- 100.0.0
-
CANCEL
public static final AuthenticationChallengeResponse.Action CANCEL
Cancels the current request.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static AuthenticationChallengeResponse.Action[] 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 (AuthenticationChallengeResponse.Action c : AuthenticationChallengeResponse.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthenticationChallengeResponse.Action valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-