Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.common.security
Class PasswordManager

java.lang.Object
  extended by oracle.apps.fnd.applcore.common.security.PasswordManager

public class PasswordManager
extends java.lang.Object


Constructor Summary
PasswordManager()
           
 
Method Summary
static char[] getPassword()
          Gets the password by prompting to the user if input/output redirected then reads from system.in NOTE: when only output is redirected no masking is done
static char[] getPasswordForConsole()
          Gets the password from the System.in without masking
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordManager

public PasswordManager()
Method Detail

getPassword

public static final char[] getPassword()
Gets the password by prompting to the user if input/output redirected then reads from system.in NOTE: when only output is redirected no masking is done

Returns:
password in char array

getPasswordForConsole

public static char[] getPasswordForConsole()
Gets the password from the System.in without masking

Returns:
password in char array

main

public static void main(java.lang.String[] args)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.