Class RandomPasswordGenerator
- java.lang.Object
-
- com.sun.identity.password.plugins.RandomPasswordGenerator
-
- All Implemented Interfaces:
PasswordGenerator
public class RandomPasswordGenerator extends Object implements PasswordGenerator
RandomPasswordGeneratordefines a set of methods that are required to generate a new password for a user.
-
-
Constructor Summary
Constructors Constructor Description RandomPasswordGenerator()Constructs a random password generator object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgeneratePassword(AMIdentity user)Generates new password for user.
-
-
-
Method Detail
-
generatePassword
public String generatePassword(AMIdentity user) throws PWResetException
Generates new password for user.- Specified by:
generatePasswordin interfacePasswordGenerator- Parameters:
user- User object.- Returns:
- new password for user.
- Throws:
PWResetException- if password cannot be generated.
-
-