public interface RememberMeAuthenticationToken extends AuthenticationToken
AuthenticationToken
that indicates if the user wishes their identity to be remembered across sessions.
Note however that when a new session is created for the corresponding user, that user's identity would be
remembered, but they are NOT considered authenticated. Please see the
Subject.isRemembered()
JavaDoc for an in-depth explanation of the semantic
differences of what it means to be remembered vs. authenticated.Subject.isRemembered()
Modifier and Type | Method and Description |
---|---|
boolean |
isRememberMe()
Returns
true if the submitting user wishes their identity (principal(s)) to be remembered
across sessions, false otherwise. |
getCredentials, getPrincipal
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.