public class NoOpAuthenticationStrategy extends Object implements IAuthenticationStrategy
| Constructor and Description |
|---|
NoOpAuthenticationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
load()
If "rememberMe" is enabled, then load the saved credentials (e.g.
|
void |
remove()
When the user logs out (session invalidation), than remove username and password from the
persistence store
|
void |
save(String credential,
String... extraCredentials)
If "rememberMe" is enabled and login was successful, then store the given credentials in the
persistence store (e.g.
|
public String[] load()
IAuthenticationStrategyload in interface IAuthenticationStrategysaved credentialspublic void save(String credential, String... extraCredentials)
IAuthenticationStrategyThe implementation of this method should be symmetrical with the implementation of
IAuthenticationStrategy.load().
save in interface IAuthenticationStrategycredential - The credential to store. For example: a security token or username.extraCredentials - Optional extra credentials. For example: a passwordpublic void remove()
IAuthenticationStrategyremove in interface IAuthenticationStrategyCopyright © 2006–2021 Apache Software Foundation. All rights reserved.