Class CredentialsType

  • All Implemented Interfaces:
    Containerable, DebugDumpable, Serializable, Cloneable

    public class CredentialsType
    extends Object
    implements Serializable, Cloneable, Containerable
    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. <p>Java class for CredentialsType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="CredentialsType"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="password" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordType" minOccurs="0"/&gt; &lt;element name="nonce" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NonceType" minOccurs="0"/&gt; &lt;element name="securityQuestions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SecurityQuestionsCredentialsType" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form