Package com.esri.arcgisruntime.security
Class AuthenticationChallengeResponse
- java.lang.Object
-
- com.esri.arcgisruntime.security.AuthenticationChallengeResponse
-
public final class AuthenticationChallengeResponse extends java.lang.ObjectRepresents 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 aCredentialobject,CertificateCredentialobject or aSelfSignedResponseobject, depending on which is used.- Since:
- 100.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationChallengeResponse.ActionEnum 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.ActiongetAction()Gets the action to be taken in response to the AuthenticationChallenge that was issuedjava.lang.ObjectgetParam()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
-
-