Package de.xima.fc.mdl.auth.config.view
Class PasswordConfigViewModel
- java.lang.Object
-
- de.xima.fc.mdl.auth.config.view.AConfigViewModel
-
- de.xima.fc.mdl.auth.config.view.PasswordConfigViewModel
-
- All Implemented Interfaces:
IStringAttributesMixin,Serializable
public final class PasswordConfigViewModel extends AConfigViewModel
Vuew model for custom authenticator config of typeEAuthClientType.PASSWORD- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_HASHEDDeprecated.static StringATTR_PASSWORD
-
Constructor Summary
Constructors Constructor Description PasswordConfigViewModel()Deprecated.For JSON deserialization only.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PasswordConfigViewModelempty(Locale locale)static PasswordConfigViewModelforAuthConfig(IAuthenticatorConfig config, Locale locale)StringgetPassword()booleanisShowPlain()voidsetPassword(String password)voidsetShowPlain(boolean showPlain)voidtogglePlainPassword()StringtoString()WorkflowStateAuthenticatorConfigtoWorkflowStateAuthenticatorConfig(WorkflowState state, Function<UUID,ClientAuthenticator> clientAuthDao, Function<UUID,SystemAuthenticator> systemAuthDao)-
Methods inherited from class de.xima.fc.mdl.auth.config.view.AConfigViewModel
getAttributes, getAuthenticatorType, getDisplayDescription, getDisplayName, getIdentifier, setAttributes, setAuthenticatorType, setDisplayDescription, setDisplayName, setIdentifier
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.mixin.attributes.IStringAttributesMixin
getAttributeValue, getAttributeValueList, getAttributeValueMap, putAttribute, putAttributes, putAttributes, removeAttribute
-
-
-
-
Field Detail
-
ATTR_HASHED
@Deprecated public static final String ATTR_HASHED
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PASSWORD
public static final String ATTR_PASSWORD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PasswordConfigViewModel
@Deprecated public PasswordConfigViewModel()
Deprecated.For JSON deserialization only.
-
-
Method Detail
-
getPassword
public String getPassword()
-
isShowPlain
public boolean isShowPlain()
-
setPassword
public void setPassword(String password)
-
setShowPlain
public void setShowPlain(boolean showPlain)
-
togglePlainPassword
public void togglePlainPassword()
-
toWorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig toWorkflowStateAuthenticatorConfig(WorkflowState state, Function<UUID,ClientAuthenticator> clientAuthDao, Function<UUID,SystemAuthenticator> systemAuthDao)
- Specified by:
toWorkflowStateAuthenticatorConfigin classAConfigViewModel
-
empty
public static PasswordConfigViewModel empty(Locale locale)
-
forAuthConfig
public static PasswordConfigViewModel forAuthConfig(IAuthenticatorConfig config, Locale locale)
-
-