org.xwiki.security
Class UserSecurityReference
java.lang.Object
org.xwiki.model.reference.EntityReference
org.xwiki.security.SecurityReference
org.xwiki.security.UserSecurityReference
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<EntityReference>
- Direct Known Subclasses:
- GroupSecurityReference
public class UserSecurityReference
- extends SecurityReference
A user is represented internally in the authorization module by a UserSecurityReference corresponding
to the DocumentReference of the user's profile document. By inheritance, the null user is represented by
the main wiki reference but with a null original reference.
- Since:
- 4.0M2
- Version:
- $Id: da92f9232f0e87ba255a497dae952ed46ec51f6c $
- See Also:
SecurityReferenceFactory},
Serialized Form
| Methods inherited from class org.xwiki.model.reference.EntityReference |
appendParent, compareTo, equals, extractReference, getName, getParameter, getParent, getReversedReferenceChain, getRoot, getType, hashCode, removeParent, replaceParent, setName, setParameter, setParameters, setParent, setType, toString |
getOriginalReference
public DocumentReference getOriginalReference()
- Overrides:
getOriginalReference in class SecurityReference
- Returns:
- the original reference used when this security reference was built.
isGlobal
public boolean isGlobal()
- Returns:
- true for global user
- Since:
- 5.0M2
Copyright © 2004–2015 XWiki. All rights reserved.