Class PasswordType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AuthenticationBehavioralDataType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractCredentialType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.PasswordType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class PasswordType extends AbstractCredentialType implements Serializable, Cloneable, Containerable
Java class for PasswordType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PasswordType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AbstractCredentialType"> <sequence> <element name="value" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType" minOccurs="0"/> <element name="historyEntry" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordHistoryEntryType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_HISTORY_ENTRY
static ItemName
F_VALUE
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractCredentialType
F_FORCE_CHANGE, F_METADATA, F_NAME
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AuthenticationBehavioralDataType
F_FAILED_LOGINS, F_LAST_FAILED_LOGIN, F_LAST_SUCCESSFUL_LOGIN, F_PREVIOUS_SUCCESSFUL_LOGIN
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PasswordType()
PasswordType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractCredentialType
getMetadata, getName, isForceChange, setForceChange, setMetadata, setName
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AuthenticationBehavioralDataType
getFailedLogins, getId, getLastFailedLogin, getLastSuccessfulLogin, getPreviousSuccessfulLogin, setFailedLogins, setId, setLastFailedLogin, setLastSuccessfulLogin, setPreviousSuccessfulLogin
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
PasswordType
public PasswordType()
-
PasswordType
public PasswordType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
- Overrides:
asPrismContainerValue
in classAbstractCredentialType
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
- Overrides:
setupContainerValue
in classAbstractCredentialType
-
toString
public String toString()
- Overrides:
toString
in classAbstractCredentialType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classAbstractCredentialType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCredentialType
-
end
public <X> X end()
- Overrides:
end
in classAbstractCredentialType
-
getValue
public ProtectedStringType getValue()
-
setValue
public void setValue(ProtectedStringType value)
-
getHistoryEntry
public List<PasswordHistoryEntryType> getHistoryEntry()
-
createHistoryEntryList
public List<PasswordHistoryEntryType> createHistoryEntryList()
-
value
public PasswordType value(ProtectedStringType value)
-
beginValue
public ProtectedStringType beginValue()
-
historyEntry
public PasswordType historyEntry(PasswordHistoryEntryType value)
-
beginHistoryEntry
public PasswordHistoryEntryType beginHistoryEntry()
-
name
public PasswordType name(String value)
- Overrides:
name
in classAbstractCredentialType
-
metadata
public PasswordType metadata(MetadataType value)
- Overrides:
metadata
in classAbstractCredentialType
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classAbstractCredentialType
-
forceChange
public PasswordType forceChange(Boolean value)
- Overrides:
forceChange
in classAbstractCredentialType
-
failedLogins
public PasswordType failedLogins(Integer value)
- Overrides:
failedLogins
in classAbstractCredentialType
-
lastSuccessfulLogin
public PasswordType lastSuccessfulLogin(LoginEventType value)
- Overrides:
lastSuccessfulLogin
in classAbstractCredentialType
-
beginLastSuccessfulLogin
public LoginEventType beginLastSuccessfulLogin()
- Overrides:
beginLastSuccessfulLogin
in classAbstractCredentialType
-
previousSuccessfulLogin
public PasswordType previousSuccessfulLogin(LoginEventType value)
- Overrides:
previousSuccessfulLogin
in classAbstractCredentialType
-
beginPreviousSuccessfulLogin
public LoginEventType beginPreviousSuccessfulLogin()
- Overrides:
beginPreviousSuccessfulLogin
in classAbstractCredentialType
-
lastFailedLogin
public PasswordType lastFailedLogin(LoginEventType value)
- Overrides:
lastFailedLogin
in classAbstractCredentialType
-
beginLastFailedLogin
public LoginEventType beginLastFailedLogin()
- Overrides:
beginLastFailedLogin
in classAbstractCredentialType
-
id
public PasswordType id(Long value)
- Overrides:
id
in classAbstractCredentialType
-
clone
public PasswordType clone()
- Overrides:
clone
in classAbstractCredentialType
-
-