public class UserProfileContext extends AbstractContext
UserProfileFilter
to make the user's profile attributes available in the context.Modifier and Type | Field and Description |
---|---|
static String |
NAME
Context's name.
|
data
Modifier and Type | Method and Description |
---|---|
JsonValue |
asJsonValue()
Get the raw JSON representation as a
JsonValue . |
String |
getCommonName()
Get the user's common name (cn) or
null if none. |
String |
getDistinguishedName()
Get the user's distinguished name (dn) or
null if none. |
Map<String,Object> |
getRawInfo()
Returns the unmodifiable
Map of the user profile info, not null . |
String |
getRealm()
Get the user's realm or
null if none. |
String |
getUsername()
Get the user's username or
null if none. |
asContext, containsContext, containsContext, getContext, getContextName, getId, getParent, getRootId, isRootContext, toJsonValue, toString
public static final String NAME
public String getDistinguishedName()
null
if none.null
if none.public String getCommonName()
null
if none.null
if none.public Map<String,Object> getRawInfo()
Map
of the user profile info, not null
.Map
of the user profile info, not null
.public String getRealm()
null
if none.null
if none.public String getUsername()
null
if none.null
if none.Copyright 2011-2017 ForgeRock AS.