Package org.apache.guacamole.net.auth
Class AuthenticationSession
java.lang.Object
org.apache.guacamole.net.auth.AuthenticationSession
Representation of an in-progress authentication attempt.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationSession
(long expires) Creates a new AuthenticationSession representing an in-progress authentication attempt. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
Returns whether this authentication session is still valid (has not yet expired).
-
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.
-