Class CredentialsType
java.lang.Object
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.xml.ns._public.common.common_3.CredentialsType
- All Implemented Interfaces:
Containerable
,Freezable
,com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
,DebugDumpable
,Serializable
,Cloneable
public class CredentialsType
extends com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
This is a container type for various credentials types: passwords, public keys, one-time password
scheme identifiers, etc. However, we expect that password will be the most widely used credential
type.
The reason to "formalize" this structure is the ability to synchronize credentials. If the password
would be just an ordinary attribute, we cannot automatically synchronize user and account passwords.
Similarly as other credential types.
Note: marking password with a special attribute type will not be enough. There may be numerous passwords
with various meanings, we need to distinguish the "primary" one to synchronize. We also need to store
user password somewhere.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable.Any
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ContainerableList<T extends Containerable>, com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding.ReferencableList<T extends Referencable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QName
static final ItemName
static final ItemName
static final ItemName
static final ItemName
static final Producer<CredentialsType>
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
<X> X
end()
boolean
getNonce()
password
(PasswordType value) void
void
void
setPassword
(PasswordType value) void
Methods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toString
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, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerable
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
-
Field Details
-
COMPLEX_TYPE
-
F_PASSWORD
-
F_NONCE
-
F_SECURITY_QUESTIONS
-
F_ATTRIBUTE_VERIFICATION
-
FACTORY
-
-
Constructor Details
-
CredentialsType
public CredentialsType() -
CredentialsType
Deprecated.
-
-
Method Details
-
getPassword
-
setPassword
-
getNonce
-
setNonce
-
getSecurityQuestions
-
setSecurityQuestions
-
getAttributeVerification
-
setAttributeVerification
-
equals
- Overrides:
equals
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
password
-
beginPassword
-
nonce
-
beginNonce
-
securityQuestions
-
beginSecurityQuestions
-
attributeVerification
-
beginAttributeVerification
-
end
public <X> X end() -
clone
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-