Class LoginLocalFolderPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class LoginLocalFolderPanel extends JPanel implements ActionListener
A panel for displaying a user's login credentials where those credentials are stored in files available on the user's computer.
Author:
James Murty
See Also:
  • Constructor Details

  • Method Details

    • refreshStoredCredentialsTable

      public void refreshStoredCredentialsTable()
      Refreshes the table of stored credentials by finding *.enc files in the directory specified as the Cockpit home folder.
    • actionPerformed

      public void actionPerformed(ActionEvent arg0)
      Specified by:
      actionPerformed in interface ActionListener
    • getHomeFolder

      public File getHomeFolder()
      Returns:
      the folder chosen by the user as their Cockpit home.
    • getCredentialsFile

      public File getCredentialsFile()
      Returns:
      the credentials encrypted file chosen by the user.
    • getPassword

      public String getPassword()
      Returns:
      the password the user provided to unlock their encrypted credentials file.
    • clearPassword

      public void clearPassword()
      Clears the user-provided password field.