|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserContext
The user context valid during the scope of a single request.
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String attrKey)
Returns an attribute related to the user identity. |
java.lang.String |
getId()
Retrieves the user id or null if it is not known. |
java.util.Map<java.lang.String,java.lang.String> |
getInformations()
The user profile information keyed by P3PConstants |
java.util.Locale |
getLocale()
Return the user locale. |
java.util.List<java.util.Locale> |
getLocales()
Retrieves the locales that the user is willing to receive information in. |
void |
setAttribute(java.lang.String attrKey,
java.lang.Object attrValue)
Set an attribute related to the user identity. |
| Method Detail |
|---|
java.lang.String getId()
java.util.Map<java.lang.String,java.lang.String> getInformations()
org.jboss.portal.common.p3p.P3PConstantsjava.util.Locale getLocale()
java.util.List<java.util.Locale> getLocales()
void setAttribute(java.lang.String attrKey,
java.lang.Object attrValue)
attrKey - the attribute keyattrValue - the attribute valuejava.lang.Object getAttribute(java.lang.String attrKey)
attrKey - the attribute key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||