Class IrisSplashLogin

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class IrisSplashLogin
extends Splash
Displays a splash panel for logging in.
See Also:
Serialized Form
  • Constructor Details

    • IrisSplashLogin

      public IrisSplashLogin​(ImageIcon image, String name, String iconImage, String message, boolean isPasswordAuthEnabled, String defaultUser)
      Create an IrisSplashLogin panel.
      Parameters:
      image - The image to be displayed as background of the panel
      name - The name to be shown for the application
      iconImage - The name of the icon (as a resource) to use for the icon.
      message - An optional message to include on the splash panel
      isPasswordAuthEnabled - Indicates whether interactive logon is enabled - if not, they should login via key exchange or other method instead of a login panel anyway.
      defaultUser - The user to enter as the 'default' for any interactive panels that allow entering a username manually.
  • Method Details

    • isAuthenticated

      public boolean isAuthenticated()
      Indicate whether the current login panel has authenticated the user.
      Returns:
      true if the user is authenticated, false otherwise.
    • getEffectiveUserName

      public String getEffectiveUserName()
      Get the effective user name. Might be different from the authorized user.
      Returns:
      effective user name
    • getAuthorizedUserName

      public String getAuthorizedUserName()
      Get the authorized user name.
      Returns:
      authorized user name
    • isCancelled

      public boolean isCancelled()
      Indicate whether the current login panel has been cancelled, either by the user hitting the 'cancel' button or by some underlying logic indicating a failure.
      Returns:
      True if the panel has been cancelled, false otherwise.
    • waitForEffectiveUserName

      public String waitForEffectiveUserName()
      Wait for successful authentication. Return the effective user.
      Returns:
      effective user name