Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.security
Class AuthenticationChallengeResponse
java.lang.Object
com.esri.arcgisruntime.security.AuthenticationChallengeResponse
Represents a response to an AuthenticationChallenge, indicating the action to be taken, and
potentially a parameter with which to complete the action. Possible actions are outlined in
AuthenticationChallengeResponse.Action
. The CONTINUE_ actions
should set the parameter to either a Credential
object, CertificateCredential
object or a
SelfSignedResponse
object, depending
on which is used.- Since:
- 100.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enum specifying the possible actions that can be taken in response to an AuthenticationChallenge. -
Constructor Summary
ConstructorDescriptionConstructs a new AuthenticationChallengeResponse with the specified action and parameter. -
Method Summary
Modifier and TypeMethodDescriptionGets the action to be taken in response to the AuthenticationChallenge that was issuedgetParam()
Gets the parameter with which to complete the specified action.
-
Constructor Details
-
AuthenticationChallengeResponse
Constructs a new AuthenticationChallengeResponse with the specified action and parameter.- Parameters:
action
- the action to be taken in response to the challengeparam
- the parameter with which to complete the action- Since:
- 100.0.0
-
-
Method Details
-
getAction
Gets the action to be taken in response to the AuthenticationChallenge that was issued- Returns:
- the action to be taken
- Since:
- 100.0.0
-
getParam
Gets the parameter with which to complete the specified action. Should be aCredential
,SelfSignedResponse
, orCertificateCredential
.- Returns:
- the parameter with which to complete the action
- Since:
- 100.0.0
-