Class GetDisplayPassword

java.lang.Object
org.jgrapes.core.internal.EventBase<String>
org.jgrapes.core.Event<String>
org.jdrupes.vmoperator.manager.events.GetDisplayPassword
All Implemented Interfaces:
Future<String>, Associator, Eligible

public class GetDisplayPassword extends Event<String>
Gets the current display secret and optionally updates it.
  • Constructor Details

    • GetDisplayPassword

      public GetDisplayPassword(VmDefinition vmDef, String user)
      Instantiates a new request for the display secret.
      Parameters:
      vmDef - the vm name
      user - the requesting user
  • Method Details

    • vmDefinition

      Gets the vm definition.
      Returns:
      the vm definition
    • user

      public String user()
      Return the id of the user who has requested the password.
      Returns:
      the string
    • password

      Return the password.

      May only be called when the event is completed.

      Returns:
      the optional