Class UserPasswordHandler

java.lang.Object
org.kopi.ebics.security.UserPasswordHandler
All Implemented Interfaces:
PasswordCallback

public class UserPasswordHandler extends Object implements PasswordCallback
A simple user password handler that creates a password from the user id and a simple suffix.
  • Constructor Details

    • UserPasswordHandler

      public UserPasswordHandler(String userId, String suffix)
      Creates a new user password handler from a given user id and a given suffix.
      Parameters:
      userId - the user id.
      suffix - the user suffix.
  • Method Details

    • getPassword

      public char[] getPassword()
      Description copied from interface: PasswordCallback
      Returns the password. This may be done via user interaction or by passing a stored password.
      Specified by:
      getPassword in interface PasswordCallback
      Returns:
      the password