Class 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 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
    • 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 challenge
        param - 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 a Credential, SelfSignedResponse, or CertificateCredential.
        Returns:
        the parameter with which to complete the action
        Since:
        100.0.0