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
View 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 String
ATTR_HASHED
Deprecated.static String
ATTR_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 PasswordConfigViewModel
empty(Locale locale)
static PasswordConfigViewModel
forAuthConfig(IAuthenticatorConfig config, Locale locale)
String
getPassword()
boolean
isShowPlain()
void
setPassword(String password)
void
setShowPlain(boolean showPlain)
void
togglePlainPassword()
String
toString()
WorkflowStateAuthenticatorConfig
toWorkflowStateAuthenticatorConfig(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:
toWorkflowStateAuthenticatorConfig
in classAConfigViewModel
-
empty
public static PasswordConfigViewModel empty(Locale locale)
-
forAuthConfig
public static PasswordConfigViewModel forAuthConfig(IAuthenticatorConfig config, Locale locale)
-
-