public class NoAuthenticationCache extends Object implements AuthenticationCache
| Constructor and Description |
|---|
NoAuthenticationCache(Properties aProperties) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getGroups(String aUsername)
Gets the groups a user belongs to from the cache.
|
String |
getPassword(String aUsername)
Gets the cached password for a given user.
|
String |
getSeed(String aUsername)
Gets a cached seed for a given username based on the configured sql seed query.
|
void |
setGroups(String aUsername,
List<String> aGroups)
Sets the groups for a given user.
|
void |
setPassword(String aUserName,
String aPassword)
Sets the cached password for a user.
|
void |
setSeed(String aUsername,
String aSeed)
Sets the seed.
|
String |
toString() |
public NoAuthenticationCache(Properties aProperties)
public String getPassword(String aUsername)
AuthenticationCachegetPassword in interface AuthenticationCacheaUsername - Username.public void setPassword(String aUserName, String aPassword)
AuthenticationCachesetPassword in interface AuthenticationCacheaUserName - Username.aPassword - Password.public List<String> getGroups(String aUsername)
AuthenticationCachegetGroups in interface AuthenticationCacheaUsername - User.public void setGroups(String aUsername, List<String> aGroups)
AuthenticationCachesetGroups in interface AuthenticationCacheaUsername - User name.aGroups - Groups (must be non-null).public String getSeed(String aUsername)
AuthenticationCachegetSeed in interface AuthenticationCacheaUsername - Username.public void setSeed(String aUsername, String aSeed)
AuthenticationCachesetSeed in interface AuthenticationCacheaUsername - Username.aSeed - Seed (may not be null).Copyright © 2019. All rights reserved.