This method checks if the supplied login is still valid (not closed and not expired), that the token matches and also update the last activity timestamp.
Syntax
PersistentLogin
checkAndUpdateLogin
(
final String
series
,
final String
presentedToken
,
final long
callerId
) throws EntityNotFoundException, PersistentLoginException
Parameters
-
series –
the series identifier
-
presentedToken –
the token supplied by the user
-
callerId –
the callerid
Returns
the login object
Exceptions
-
EntityNotFoundException –
-
PersistentLoginException –