|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.feide.moria.store.CachedUserData
public final class CachedUserData
This class is a container for userdata that persists across logins (for SSO Light and Proxy authentication).
Field Summary | |
---|---|
private java.util.HashMap |
attributes
The internal hashmap used to store the attributes. |
Constructor Summary | |
---|---|
CachedUserData(java.util.HashMap attributes)
Constructs a new instance encapsulating the userdata given as argument. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.Object data)
Adds an attribute. |
java.util.HashMap |
getAttributes()
Gets a map containing the attributes. |
void |
removeAttribute(java.lang.String name)
Remove an attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.HashMap attributes
Constructor Detail |
---|
public CachedUserData(java.util.HashMap attributes)
attributes
- A hashmap containing the user attributes.Method Detail |
---|
public void addAttribute(java.lang.String name, java.lang.Object data)
name
- Attribute name.data
- Attribute data.public void removeAttribute(java.lang.String name)
name
- Attribute name.public java.util.HashMap getAttributes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |