Class PasswordMetaClass

    • Field Detail

      • STORAGE_TYPE

        public static final String STORAGE_TYPE
        The name of the meta property that specifies how the password is stored.
        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 which algorithm should be used for password storage.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PasswordMetaClass

        public PasswordMetaClass()
        Default constructor. Initializes the default meta properties of a Password XClass property.
    • Method Detail

      • getInstance

        public PropertyClassInterface getInstance()
        Specified by:
        getInstance in interface com.xpn.xwiki.internal.objects.classes.PropertyClassProvider
        Overrides:
        getInstance in class StringMetaClass
        Returns:
        a new XClass property instance