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.AnyNested 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 QNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final ItemNamestatic final Producer<CredentialsType>Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()<X> Xend()booleangetNonce()password(PasswordType value) voidvoidvoidsetPassword(PasswordType value) voidMethods inherited from class com.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
asPrismContainerValue, getId, hashCode, setId, setupContainerValue, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.prism.impl.binding.ContainerablePrismBinding
prismGetContainerableList, prismGetPropertyValue, prismGetPropertyValues, prismGetReferencable, prismGetReferencableList, prismGetReferenceObjectable, prismGetSingleContainerable, prismSetPropertyValue, prismSetReferencable, prismSetReferenceObjectable, prismSetSingleContainerableMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods 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:
equalsin classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-
id
-
password
-
beginPassword
-
nonce
-
beginNonce
-
securityQuestions
-
beginSecurityQuestions
-
attributeVerification
-
beginAttributeVerification
-
end
public <X> X end() -
clone
- Overrides:
clonein classcom.evolveum.midpoint.prism.impl.binding.AbstractMutableContainerable
-