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.

    Java class for CredentialsType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="CredentialsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="password" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordType" minOccurs="0"/>
             <element name="nonce" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NonceType" minOccurs="0"/>
             <element name="securityQuestions" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}SecurityQuestionsCredentialsType" minOccurs="0"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form