com.sun.mfwk.security.password
Class MfPassword

java.lang.Object
  extended bycom.sun.mfwk.security.password.MfPassword

public class MfPassword
extends java.lang.Object

Class to generate randomly computed password.

Author:
ooudghir

Constructor Summary
MfPassword()
           
 
Method Summary
static java.lang.String getMfPassword(int n)
          Generates a random password.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MfPassword

public MfPassword()
Method Detail

getMfPassword

public static java.lang.String getMfPassword(int n)
Generates a random password.

Parameters:
n - Number of characters of the password. Must be positive, otherwise as null string is returned.
Returns:
the generated password or null if n is negative or null

main

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