com.xpn.xwiki.objects.meta
Class PasswordMetaClass
java.lang.Object
com.xpn.xwiki.objects.BaseElement<R>
com.xpn.xwiki.objects.BaseCollection<DocumentReference>
com.xpn.xwiki.objects.classes.BaseClass
com.xpn.xwiki.objects.meta.PropertyMetaClass
com.xpn.xwiki.objects.meta.StringMetaClass
com.xpn.xwiki.objects.meta.PasswordMetaClass
- All Implemented Interfaces:
- com.xpn.xwiki.internal.objects.classes.PropertyClassProvider, com.xpn.xwiki.internal.objects.meta.PropertyMetaClassInterface, ClassInterface, ElementInterface, ObjectInterface, PropertyInterface, Serializable, Cloneable
@Component
@Named(value="Password")
@Singleton
public class PasswordMetaClass
- extends StringMetaClass
Defines the meta properties of a boolean XClass property.
- Version:
- $Id: e6e2a36dc6315bc9a34190c277ea1134cd3894e1 $
- See Also:
- Serialized Form
Field Summary |
static String |
ALGORITHM_KEY
The name of the meta property that specifies how the password is stored. |
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. |
Methods inherited from class com.xpn.xwiki.objects.classes.BaseClass |
addBooleanField, addDateField, addDateField, addDateField, addDBListField, addDBListField, addDBListField, addDBTreeListField, addDBTreeListField, addDBTreeListField, addField, addGroupsField, addGroupsField, addLevelsField, addLevelsField, addNumberField, addPasswordField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addTemplateField, addTextAreaField, addTextField, 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, put, setCustomClass, setCustomMapping, setDefaultEditSheet, setDefaultViewSheet, setDefaultWeb, setDirty, setName, setNameField, setOwnerDocument, setValidationScript, toXML, toXML, validateObject |
Methods inherited from class com.xpn.xwiki.objects.BaseCollection |
addPropertyForRemoval, getClassName, getCustomMappingMap, getDateValue, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClass, getXClassReference, merge, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringListValue, setStringValue, setXClassReference, toString, toXMLString |
CLEAR
public static final String CLEAR
- Indicates that the password should be stored in clean.
- See Also:
- Constant Field Values
ENCRYPTED
public static final String ENCRYPTED
- Indicates that the password should be stored encrypted.
- See Also:
- Constant Field Values
HASH
public static final String HASH
- Indicates that the password hash should be store instead of the pass itself.
- See Also:
- Constant Field Values
SEPARATOR
public static final String SEPARATOR
- The string used to separate the possible values of a static list. It is used for instance to separate the various
storage types for
ALGORITHM_KEY
.
- See Also:
- Constant Field Values
ALGORITHM_KEY
public static final String ALGORITHM_KEY
- The name of the meta property that specifies how the password is stored.
- See Also:
- Constant Field Values
PasswordMetaClass
public PasswordMetaClass()
- Default constructor. Initializes the default meta properties of a Password XClass property.
getInstance
public PropertyClassInterface getInstance()
- Specified by:
getInstance
in interface com.xpn.xwiki.internal.objects.classes.PropertyClassProvider
- Overrides:
getInstance
in class StringMetaClass
Copyright © 2004-2013 XWiki. All Rights Reserved.