Package de.xima.fc.mdl.auth.config.view
Class GeneratedPasswordConfigViewModel
- java.lang.Object
-
- de.xima.fc.mdl.auth.config.view.AConfigViewModel
-
- de.xima.fc.mdl.auth.config.view.GeneratedPasswordConfigViewModel
-
- All Implemented Interfaces:
IStringAttributesMixin,Serializable
public final class GeneratedPasswordConfigViewModel extends AConfigViewModel
View model for custom authenticator config of typeEAuthClientType.PASSWORD_GENERATOR_ACTION- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_HASHEDstatic StringATTR_PASSWORD
-
Constructor Summary
Constructors Constructor Description GeneratedPasswordConfigViewModel()Deprecated.For JSON deserialization only.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratedPasswordConfigViewModelempty(Locale locale)static GeneratedPasswordConfigViewModelforAuthConfig(IAuthenticatorConfig config, Locale locale)StringgetPassword()voidsetPassword(String password)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
public static final String ATTR_HASHED
- See Also:
- Constant Field Values
-
ATTR_PASSWORD
public static final String ATTR_PASSWORD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GeneratedPasswordConfigViewModel
@Deprecated public GeneratedPasswordConfigViewModel()
Deprecated.For JSON deserialization only.
-
-
Method Detail
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
toWorkflowStateAuthenticatorConfig
public WorkflowStateAuthenticatorConfig toWorkflowStateAuthenticatorConfig(WorkflowState state, Function<UUID,ClientAuthenticator> clientAuthDao, Function<UUID,SystemAuthenticator> systemAuthDao)
- Specified by:
toWorkflowStateAuthenticatorConfigin classAConfigViewModel
-
empty
public static GeneratedPasswordConfigViewModel empty(Locale locale)
-
forAuthConfig
public static GeneratedPasswordConfigViewModel forAuthConfig(IAuthenticatorConfig config, Locale locale)
-
-