net.jradius.util
Class RadiusRandom

java.lang.Object
  extended by net.jradius.util.RadiusRandom

public class RadiusRandom
extends Object

A Random Number Generator (wrapper) for JRadius

Author:
David Bird

Constructor Summary
RadiusRandom()
           
 
Method Summary
static byte[] getBytes(int length)
          Generates an array of random bytes.
static String getRandomPassword(int length)
           
static String getRandomPassword(int length, String allowedCharacters)
           
static String getRandomString(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiusRandom

public RadiusRandom()
Method Detail

getBytes

public static byte[] getBytes(int length)
Generates an array of random bytes.

Parameters:
length - number of random bytes to generate
Returns:
array of random bytes

getRandomPassword

public static String getRandomPassword(int length)

getRandomPassword

public static String getRandomPassword(int length,
                                       String allowedCharacters)

getRandomString

public static String getRandomString(int length)


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.