public class JCRUserNode extends JCRProtectedNodeAbstractDecorator
JCRNodeWrapper.NodeNamingConflictResolutionStrategy| Modifier and Type | Field and Description |
|---|---|
static String |
J_DISPLAYABLE_NAME |
static String |
J_EXTERNAL |
static String |
J_EXTERNAL_SOURCE |
static String |
J_PASSWORD |
static String |
PROVIDER_NAME |
List<String> |
publicProperties |
static String |
ROOT_USER_UUID |
nodeEMPTY| Constructor and Description |
|---|
JCRUserNode(JCRNodeWrapper node) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canReadProperty(String s)
Only method to implement, that check the readability of a property, based on the property name
|
String |
getDisplayableName() |
String |
getDisplayableName(Locale locale) |
JahiaUser |
getJahiaUser() |
long |
getLastPasswordChangeTimestamp() |
String |
getLocalPath()
Deprecated.
for compatibility only, use getPath()
|
List<PasswordHistoryEntry> |
getPasswordHistory() |
String |
getProviderName() |
String |
getRealm() |
String |
getUserKey() |
String |
getUsername()
Deprecated.
|
boolean |
isAccountLocked() |
boolean |
isMemberOfGroup(String siteKey,
String name) |
boolean |
isPropertyEditable(String name) |
boolean |
isRoot() |
boolean |
setPassword(String pwd) |
boolean |
verifyPassword(String userPassword) |
getProperties, getProperties, getProperties, getPropertiesAsString, getProperty, getPropertyAsString, hasPropertyaccept, addMixin, addNode, addNode, addNode, canAddMixin, cancelMerge, canMarkForDeletion, changeRoles, checkI18nAndMandatoryPropertiesForLocale, checkin, checkLanguageValidity, checkLock, checkout, checkpoint, checkValidity, clearAllLocks, clone, copy, copy, copy, copy, copy, copy, copy, copy, copy, copyProperties, createCollection, decorateProperty, denyRoles, doneMerge, equals, followLifecycleTransition, getAbsoluteUrl, getAbsoluteWebdavUrl, getAccessControlManager, getAclEntries, getAclInheritanceBreak, getActualAclEntries, getAllowedLifecycleTransistions, getAncestor, getAncestors, getApplicableChildNodeDefinition, getApplicablePropertyDefinition, getApplicablePropertyDefinition, getAvailableRoles, getBaseVersion, getCanonicalPath, getContentLastModifiedAsDate, getContentLastPublishedAsDate, getCorrespondingNodePath, getCreationDateAsDate, getCreationUser, getDecoratedNode, getDefinition, getDepth, getExistingLocales, getFileContent, getI18N, getI18N, getI18Ns, getIdentifier, getIndex, getJCRProvider, getLanguage, getLastModifiedAsDate, getLastPublishedAsDate, getLinearVersionInfos, getLock, getLockedLocales, getLockInfos, getLockOwner, getMixinNodeTypes, getModificationUser, getName, getNode, getNodes, getNodes, getNodes, getNodeTypes, getOrCreateI18N, getOrCreateI18N, getParent, getPath, getPermissions, getPermissionsAsBitSet, getPlaceholder, getPrimaryItem, getPrimaryNodeType, getPrimaryNodeTypeName, getProvider, getPublicationUser, getRealNode, getReferenceProperties, getReferences, getReferences, getResolveSite, getSession, getSharedSet, getThumbnails, getThumbnailUrl, getThumbnailUrls, getUnescapedName, getUrl, getUser, getUUID, getVersionHistory, getVersionInfos, getVersions, getVersionsAsVersion, getWeakReferences, getWeakReferences, getWebdavUrl, grantRoles, hashCode, hasI18N, hasI18N, hasNode, hasNodes, hasPermission, hasProperties, hasTranslations, holdsLock, internalCopy, isCheckedOut, isCollection, isFile, isLockable, isLocked, isMarkedForDeletion, isModified, isNew, isNode, isNodeType, isPortlet, isSame, isVersioned, lock, lockAndStoreToken, lockAndStoreToken, markForDeletion, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, rename, restore, restore, restore, restoreByLabel, revokeAllRoles, revokeRolesForPrincipal, save, saveSession, setAclInheritanceBreak, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, toString, unlock, unlock, unlock, unmarkForDeletion, update, uploadFile, versionFilepublic static final String ROOT_USER_UUID
public static final String PROVIDER_NAME
public static final String J_DISPLAYABLE_NAME
public static final String J_PASSWORD
public static final String J_EXTERNAL
public static final String J_EXTERNAL_SOURCE
public JCRUserNode(JCRNodeWrapper node)
public JahiaUser getJahiaUser()
public String getUsername()
public String getUserKey()
public String getProviderName()
public boolean isPropertyEditable(String name)
public boolean isRoot()
protected boolean canReadProperty(String s) throws javax.jcr.RepositoryException
JCRProtectedNodeAbstractDecoratorcanReadProperty in class JCRProtectedNodeAbstractDecorators - the property name to checkjavax.jcr.RepositoryException - in case of JCR-related errorspublic boolean verifyPassword(String userPassword)
public boolean setPassword(String pwd)
public boolean isAccountLocked()
public List<PasswordHistoryEntry> getPasswordHistory()
public long getLastPasswordChangeTimestamp()
public String getRealm()
public String getLocalPath()
public String getDisplayableName()
getDisplayableName in interface JCRNodeWrappergetDisplayableName in class JCRNodeDecoratorCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.