CredentialShell.PasswordReader (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.security.alias, class: CredentialShell, class: PasswordReader

Package org.apache.hadoop.security.alias

# Class CredentialShell.PasswordReader

java.lang.Object
org.apache.hadoop.security.alias.CredentialShell.PasswordReader

Enclosing class:
  CredentialShell

public static class CredentialShell.PasswordReader extends Object
To facilitate testing since Console is a final class.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PasswordReader()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `format(String message)`
  `char[]`
  `readPassword(String prompt)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PasswordReader

    public PasswordReader()

- ## Method Details

  - ### readPassword

    public char[] readPassword(String prompt)

  - ### format

    public void format(String message)