public class AnonymousUser extends CurrentUser
CurrentUser.PropertyKey<T>
Constructor and Description |
---|
AnonymousUser() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCacheKey()
Returns a unique identifier for this user that is intended to be used as a cache key.
|
GroupMembership |
getEffectiveGroups()
Get the set of groups the user is currently a member of.
|
java.lang.String |
toString() |
asIdentifiedUser, get, getAccessPath, getAccountId, getLastLoginExternalIdKey, getLoggableName, getRealUser, getUserName, hasSameAccountId, isIdentifiedUser, isImpersonating, isInternalUser, put, setAccessPath, setLastLoginExternalIdKey, updateRealAccountId
public GroupMembership getEffectiveGroups()
CurrentUser
The returned set may be a subset of the user's actual groups; if the user's account is currently deemed to be untrusted then the effective group set is only the anonymous and registered user groups. To enable additional groups (and gain their granted permissions) the user must update their account to use only trusted authentication providers.
getEffectiveGroups
in class CurrentUser
public java.lang.Object getCacheKey()
CurrentUser
equals()
and hashCode()
for effective caching.getCacheKey
in class CurrentUser
public java.lang.String toString()
toString
in class java.lang.Object