the authenticator id
the user this authenticator is associated with
the expiration date
the last time the authenticator was used
the authenticator creation time
the authenticator store where instances of this authenticator are persisted
The time an authenticator is allowed to live in the store
The time an authenticator is allowed to live in the store
the authenticator creation time
the authenticator creation time
Removes the authenticator from the store and discards the cookie associated with it.
Removes the authenticator from the store and discards the cookie associated with it.
the current invocation context
the current http context modified to signal the authenticator is no longer valid
Ends an authenticator session.
Ends an authenticator session. This is invoked when the user logs out or if the authenticator becomes invalid (maybe due to a timeout)
the result that is about to be sent to the client.
the result modified to signal the authenticator is no longer valid
the expiration date
the expiration date
Checks if the authenticator has expired.
Checks if the authenticator has expired. This is an absolute timeout since the creation of the authenticator
true if the authenticator has expired, false otherwise.
the authenticator id
the authenticator id
The inactivity period after which an authenticator is considered invalid
The inactivity period after which an authenticator is considered invalid
Checks if the authenticator is valid.
Checks if the authenticator is valid. For this implementation it means that the authenticator has not expired or timed out.
true if the authenticator is valid, false otherwise.
the last time the authenticator was used
the last time the authenticator was used
Starts an authenticated session by placing a cookie in the result
Starts an authenticated session by placing a cookie in the result
the result that is about to be sent to the client
the result with the authenticator cookie set
the authenticator store where instances of this authenticator are persisted
the authenticator store where instances of this authenticator are persisted
Checks if the time elapsed since the last time the authenticator was used is longer than the maximum idle timeout specified in the properties.
Checks if the time elapsed since the last time the authenticator was used is longer than the maximum idle timeout specified in the properties.
true if the authenticator timed out, false otherwise.
Updated the last used timestamp
Updated the last used timestamp
a future with the updated authenticator
Adds a touched authenticator to the result(for Java).
Adds a touched authenticator to the result(for Java). In this implementation there's no need to do anything with the result
the current invocation context
the http context modified with the updated authenticator
Adds a touched authenticator to the result (for Scala).
Adds a touched authenticator to the result (for Scala). In this implementation there's no need to do anything with the result
Updates the user information associated with this authenticator
Updates the user information associated with this authenticator
the user object
a future with the updated authenticator
the user this authenticator is associated with
the user this authenticator is associated with
Returns a copy of this authenticator with the given last used time
Returns a copy of this authenticator with the given last used time
the new time
the modified authenticator
Returns a copy of this Authenticator with the given user
Returns a copy of this Authenticator with the given user
the new user
the modified authenticator
A Cookie based authenticator. This authenticator puts an id an a cookie that is then used to track authenticated users. Since the cookie only has the id for this authenticator the rest of the data is stored using an instance of the AuthenticatorStore.
the user type (defined by the application using the module)
the authenticator id
the user this authenticator is associated with
the expiration date
the last time the authenticator was used
the authenticator creation time
the authenticator store where instances of this authenticator are persisted
RuntimeEnvironment
AuthenticatorStore