org.mmbase.util
Interface PasswordGeneratorInterface

All Known Implementing Classes:
PasswordGenerator

public interface PasswordGeneratorInterface

Interface for the automatic generation of passwords.
The passwords generated by classes implementing this interface are based on a template. A template can exists of a number of characters, which are replaced by the generator. The meaning of the characters in a template is left to the implementing class.

Version:
9 Jan 1997
Author:
Rico Jansen, Pierre van Rooden (javadocs)

Method Summary
 java.lang.String getPassword()
          Generate a password, based on a default template.
 java.lang.String getPassword(java.lang.String template)
          Generate a password, based on the given template.
 

Method Detail

getPassword

public java.lang.String getPassword()
Generate a password, based on a default template.
Returns:
the generated password.

getPassword

public java.lang.String getPassword(java.lang.String template)
Generate a password, based on the given template.
Parameters:
template - the template the password should be based on.
Returns:
the generated password.


MMBase 2001