Package com.sun.ts.lib.util.sec.security.util

# Class Password

java.lang.Object
com.sun.ts.lib.util.sec.security.util.Password

public class Password extends Object
A utility class for reading passwords

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Password()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static char[]`
  `readPassword(InputStream in)`
  Reads user password from given input stream.

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

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

- ## Constructor Details

  - ### Password

    public Password()

- ## Method Details

  - ### readPassword

    public static char[] readPassword(InputStream in) throws IOException
    Reads user password from given input stream.
    Throws:
      `IOException`