public class NoOpAuthenticationStrategy extends Object implements IAuthenticationStrategy
Constructor and Description |
---|
NoOpAuthenticationStrategy()
Constructor
|
Modifier and Type | Method and Description |
---|---|
String[] |
load()
If "rememberMe" is enabled, than load login name and password from the persistence storage
(e.g.
|
void |
remove()
When the user logs out (session invalidation), than remove username and password from the
persistence store
|
void |
save(String username,
String password)
If "rememberMe" is enabled and login was successful, than store username and password in the
persistence store (e.g.
|
public String[] load()
IAuthenticationStrategy
load
in interface IAuthenticationStrategy
IAuthenticationStrategy.load()
public void save(String username, String password)
IAuthenticationStrategy
save
in interface IAuthenticationStrategy
IAuthenticationStrategy.save(java.lang.String,
java.lang.String)
public void remove()
IAuthenticationStrategy
remove
in interface IAuthenticationStrategy
IAuthenticationStrategy.remove()
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.