public class ConfluenceUserPrincipal extends Object implements Principal, Serializable
This class is saved in the session instead of ConfluenceUser
in
order to avoid bugs caused by the use of stale ConfluenceUser value from the
session.
Constructor and Description |
---|
ConfluenceUserPrincipal(ConfluenceUser user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
com.atlassian.sal.api.user.UserKey |
getUserKey() |
int |
hashCode() |
static ConfluenceUserPrincipal |
of(Principal principal) |
String |
toString() |
public ConfluenceUserPrincipal(ConfluenceUser user)
public String toString()
public boolean equals(Object o)
public int hashCode()
public com.atlassian.sal.api.user.UserKey getUserKey()
public static ConfluenceUserPrincipal of(Principal principal)
Copyright © 2003–2019 Atlassian. All rights reserved.