Class PasswordAttribute
- java.lang.Object
-
- io.github.factoryfx.factory.attribute.Attribute<T,A>
-
- io.github.factoryfx.factory.attribute.ImmutableValueAttribute<EncryptedString,PasswordAttribute>
-
- io.github.factoryfx.factory.attribute.types.PasswordAttribute
-
- All Implemented Interfaces:
AttributeCopy<EncryptedString>,AttributeMatch<EncryptedString>,AttributeMerger<EncryptedString>,AttributeValue<EncryptedString>
public class PasswordAttribute extends ImmutableValueAttribute<EncryptedString,PasswordAttribute>
-
-
Field Summary
-
Fields inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
value
-
-
Constructor Summary
Constructors Constructor Description PasswordAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PasswordAttributehash(java.util.function.Function<java.lang.String,java.lang.String> passwordHash)java.lang.Stringinternal_hash(java.lang.String pw)booleaninternal_isValidKey(java.lang.String key)voidsetPasswordNotHashed(java.lang.String password, java.lang.String key)-
Methods inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
defaultValue, get, getDisplayText, getNullable, getValue, internal_addBackReferences, internal_copyTo, internal_mergeMatch, internal_required, internal_reset, internal_semanticCopyTo, internal_validate, nullable, set, setValue
-
Methods inherited from class io.github.factoryfx.factory.attribute.Attribute
addonText, createAttributeStorageMetadata, de, en, es, fr, internal_addListener, internal_endUsage, internal_getAddonText, internal_getListeners, internal_getPreferredLabelText, internal_getPreferredTooltipText, internal_hasWritePermission, internal_isUserReadOnly, internal_merge, internal_removeAllListener, internal_removeListener, it, labelText, labelText, listenersEmpty, permission, pt, tooltipDe, tooltipEn, updateListeners, userReadOnly, userReadOnly, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMatch
internal_referenceEquals, internal_referenceListEquals
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMerger
internal_mergeFactoryList
-
-
-
-
Method Detail
-
hash
public PasswordAttribute hash(java.util.function.Function<java.lang.String,java.lang.String> passwordHash)
-
internal_hash
public java.lang.String internal_hash(java.lang.String pw)
-
setPasswordNotHashed
public void setPasswordNotHashed(java.lang.String password, java.lang.String key)
-
internal_isValidKey
public boolean internal_isValidKey(java.lang.String key)
-
-