@Component @Named(value="Password") @Singleton public class PasswordMetaClass extends StringMetaClass
Modifier and Type | Field and Description |
---|---|
static String |
ALGORITHM_KEY
The name of the meta property that specifies which algorithm should be used for password storage.
|
static String |
CLEAR
Indicates that the password should be stored in clean.
|
static String |
ENCRYPTED
Indicates that the password should be stored encrypted.
|
static String |
HASH
Indicates that the password hash should be store instead of the pass itself.
|
static String |
SEPARATOR
The string used to separate the possible values of a static list.
|
static String |
STORAGE_TYPE
The name of the meta property that specifies how the password is stored.
|
currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolver
documentReference, ownerDocument, referenceCache
Constructor and Description |
---|
PasswordMetaClass()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
PropertyClassInterface |
getInstance() |
clone, getDefinition, getObject, newObject, setObject, toFormString
addBooleanField, addBooleanField, addBooleanField, addBooleanField, addDateField, addDateField, addDateField, addDBListField, addDBListField, addDBListField, addDBTreeListField, addDBTreeListField, addDBTreeListField, addEmailField, addField, addGroupsField, addGroupsField, addLevelsField, addLevelsField, addNumberField, addPageField, addPageField, addPageField, addPageField, addPasswordField, addPasswordField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addTemplateField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextAreaField, addTextField, addTimezoneField, addUsersField, addUsersField, addUsersField, addUsersField, apply, disableField, enableField, equals, flushCache, fromMap, fromMap, fromString, fromValueMap, fromXML, fromXML, get, getCustomClass, getCustomMapping, getCustomMappingPropertyList, getDefaultEditSheet, getDefaultViewSheet, getDefaultWeb, getDeprecatedObjectProperties, getDiff, getDisabledObjectProperties, getDisabledProperties, getEnabledProperties, getName, getNameField, getReference, getValidationScript, hasCustomMapping, hasExternalCustomMapping, hasInternalCustomMapping, isCustomMappingValid, isCustomMappingValid, merge, merge, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, put, setCustomClass, setCustomMapping, setDefaultEditSheet, setDefaultViewSheet, setDefaultWeb, setDirty, setName, setNameField, setOwnerDocument, setValidationScript, validateObject
addPropertyForRemoval, getClassName, getCurrentReferenceDocumentReferenceResolver, getCustomMappingMap, getDateValue, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getRelativeEntityReferenceResolver, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClass, getXClassReference, merge, mergeField, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringListValue, setStringValue, setXClassReference, toXML, toXML, toXMLString
createReference, getDocumentReference, getId, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getOwnerDocument, getPrettyName, getXWikiContext, hashCode, localizePlain, localizePlainOrKey, setId, setPrettyName, toString, toXMLString
finalize, getClass, notify, notifyAll, wait, wait, wait
get, getXClass, put, safeget, safeput, toXML
apply, getDocumentReference, getName, getReference, merge, setDocumentReference, setName, toString
getId, setId, toXML
public static final String STORAGE_TYPE
public static final String CLEAR
public static final String ENCRYPTED
public static final String HASH
public static final String SEPARATOR
ALGORITHM_KEY
.public static final String ALGORITHM_KEY
public PasswordMetaClass()
public PropertyClassInterface getInstance()
getInstance
in interface com.xpn.xwiki.internal.objects.classes.PropertyClassProvider
getInstance
in class StringMetaClass
Copyright © 2004–2022 XWiki. All rights reserved.