Package com.esri.arcgisruntime.security
Class AuthenticationChallengeResponse
- java.lang.Object
-
- com.esri.arcgisruntime.security.AuthenticationChallengeResponse
-
public final class AuthenticationChallengeResponse extends java.lang.Object
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 inAuthenticationChallengeResponse.Action
. The CONTINUE_ actions should set the parameter to either aCredential
object,CertificateCredential
object or aSelfSignedResponse
object, depending on which is used.- Since:
- 100.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuthenticationChallengeResponse.Action
Enum specifying the possible actions that can be taken in response to an AuthenticationChallenge.
-
Constructor Summary
Constructors Constructor Description AuthenticationChallengeResponse(AuthenticationChallengeResponse.Action action, java.lang.Object param)
Constructs a new AuthenticationChallengeResponse with the specified action and parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationChallengeResponse.Action
getAction()
Gets the action to be taken in response to the AuthenticationChallenge that was issuedjava.lang.Object
getParam()
Gets the parameter with which to complete the specified action.
-
-
-
Constructor Detail
-
AuthenticationChallengeResponse
public AuthenticationChallengeResponse(AuthenticationChallengeResponse.Action action, java.lang.Object param)
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 Detail
-
getAction
public AuthenticationChallengeResponse.Action 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
public java.lang.Object 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
-
-