Package org.jppf.ssl

Class PasswordInFile

java.lang.Object
org.jppf.ssl.PasswordInFile
All Implemented Interfaces:
Callable<char[]>

public class PasswordInFile extends Object implements Callable<char[]>
A password source which uses a base64-encoded string stored in a file
Author:
Laurent Cohen
  • Constructor Details

    • PasswordInFile

      public PasswordInFile(String... args) throws Exception
      Initialize this password source with a plain text password.
      Parameters:
      args - the first argument represents the path to a text file.
      Throws:
      Exception - if any error occurs.
  • Method Details