Class AuthenticationSession

java.lang.Object
org.apache.guacamole.net.auth.AuthenticationSession

public class AuthenticationSession extends Object
Representation of an in-progress authentication attempt.
  • Constructor Details

    • AuthenticationSession

      public AuthenticationSession(long expires)
      Creates a new AuthenticationSession representing an in-progress authentication attempt.
      Parameters:
      expires - The number of milliseconds that may elapse before this session must be considered invalid.
  • Method Details

    • isValid

      public boolean isValid()
      Returns whether this authentication session is still valid (has not yet expired).
      Returns:
      true if this authentication session is still valid, false if it has expired.