Class CredentialsAgentResponse

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char[] getPassword()
      Replies the password
      java.lang.String getUsername()
      Replies the user name
      boolean isCanceled()
      Determines if authentication request has been canceled by user
      boolean isSaveCredentials()
      Determines if authentication credentials should be saved
      void setCanceled​(boolean canceled)
      Sets the cancellation status (authentication request canceled by user)
      void setPassword​(char[] password)
      Sets the password
      void setSaveCredentials​(boolean saveCredentials)
      Sets the saving status (authentication credentials to save)
      void setUsername​(java.lang.String username)
      Sets the user name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUsername

        public java.lang.String getUsername()
        Replies the user name
        Returns:
        The user name
      • setUsername

        public void setUsername​(java.lang.String username)
        Sets the user name
        Parameters:
        username - The user name
      • getPassword

        public char[] getPassword()
        Replies the password
        Returns:
        The password in plain text
      • setPassword

        public void setPassword​(char[] password)
        Sets the password
        Parameters:
        password - The password in plain text
      • isCanceled

        public boolean isCanceled()
        Determines if authentication request has been canceled by user
        Returns:
        true if authentication request has been canceled by user, false otherwise
      • setCanceled

        public void setCanceled​(boolean canceled)
        Sets the cancellation status (authentication request canceled by user)
        Parameters:
        canceled - the cancellation status (authentication request canceled by user)
      • isSaveCredentials

        public boolean isSaveCredentials()
        Determines if authentication credentials should be saved
        Returns:
        true if authentication credentials should be saved, false otherwise
      • setSaveCredentials

        public void setSaveCredentials​(boolean saveCredentials)
        Sets the saving status (authentication credentials to save)
        Parameters:
        saveCredentials - the saving status (authentication credentials to save)