|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.glassfish.auth.cache.impl.NoAuthenticationCache
public class NoAuthenticationCache
Authentication cache which does not cache.
| Constructor Summary | |
|---|---|
NoAuthenticationCache(Properties aProperties)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NoAuthenticationCache(Properties aProperties)
| Method Detail |
|---|
public String getPassword(String aUsername)
AuthenticationCache
getPassword in interface AuthenticationCacheaUsername - Username.
public void setPassword(String aUserName,
String aPassword)
AuthenticationCache
setPassword in interface AuthenticationCacheaUserName - Username.aPassword - Password.public List<String> getGroups(String aUsername)
AuthenticationCache
getGroups in interface AuthenticationCacheaUsername - User.
public void setGroups(String aUsername,
List<String> aGroups)
AuthenticationCache
setGroups in interface AuthenticationCacheaUsername - User name.aGroups - Groups (must be non-null).public String getSeed(String aUsername)
AuthenticationCache
getSeed in interface AuthenticationCacheaUsername - Username.
public void setSeed(String aUsername,
String aSeed)
AuthenticationCache
setSeed in interface AuthenticationCacheaUsername - Username.aSeed - Seed (may not be null).public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||