public interface IAuthenticationStrategy
Application.getSecuritySettings(). Implementations determine how logon data (username and password) are persisted (e.g. Cookie), retrieved and removed.
|Modifier and Type||Method and Description|
If "rememberMe" is enabled, then load the saved credentials (e.g.
When the user logs out (session invalidation), than remove username and password from the persistence store
If "rememberMe" is enabled and login was successful, then store the given credentials in the persistence store (e.g.
void save(String credential, String... extraCredentials)
The implementation of this method should be symmetrical with the implementation of
credential- The credential to store. For example: a security token or username.
extraCredentials- Optional extra credentials. For example: a password
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.