Interface UserIdentity

All Known Subinterfaces:
UserIdentity.UnauthenticatedUserIdentity
All Known Implementing Classes:
DefaultUserIdentity, OpenIdUserIdentity, SpnegoUserIdentity

public interface UserIdentity
User object that encapsulates user identity and operations such as run-as-role actions, checking isUserInRole and getUserPrincipal.

Implementations of UserIdentity should be immutable so that they may be cached by Authenticators and LoginServices.