# PasswordType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Supertype: AbstractCredentialType

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
failedLogins | property int | [0,1] | The number of failed logins.
lastSuccessfulLogin | property LoginEventType | [0,1] | The date and time of last successful login attempt.
previousSuccessfulLogin | property LoginEventType | [0,1] | The date and time of successful before the last login attempt.
lastFailedLogin | property LoginEventType | [0,1] | The date and time of last failed login attempt.
authenticationAttempt | property AuthenticationAttemptDataType | [0,-1] | The information about authentication attempt, in most cases describing authentication modules failures.
sequenceIdentifier | property string | [0,1] | Identifier of the authentication sequence within which current authentication attempt was processed.
name | property string | [0,1] | Name of the credential.
metadata | container MetadataType | [0,1] | Timestamps and general metadata describing the credential change.
forceChange | property boolean | [0,1] | If it is required to change password.
value | property ProtectedStringType | [0,1] |
historyEntry | container PasswordHistoryEntryType | [0,-1] | Contains a single entry of the password history.
hint | property string | [0,1] | Helps the user to remind his password.

- ### Items

  - #### failedLogins

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    The number of failed logins. It should be increased after every unsuccessful use of the credential. It may be reset after successful login or a time-out or may not. It depends on the policy setting. If not present, value of zero (0) is assumed.

  - #### lastSuccessfulLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    The date and time of last successful login attempt.

  - #### previousSuccessfulLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    The date and time of successful before the last login attempt.

  - #### lastFailedLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    The date and time of last failed login attempt.

  - #### authenticationAttempt

    Flags: RAM,runtime,oper

    Multiplicity: [0,-1]

    Display order:

    The information about authentication attempt, in most cases describing authentication modules failures.

  - #### sequenceIdentifier

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    Identifier of the authentication sequence within which current authentication attempt was processed.

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Name of the credential. It is used as an identifier that specifies credential purpose. E.g. it may specify whether this is default user password or administration password, whether this is a nonce for registration or password reset and so on. Simply speaking the name is used to distinguish credentials that have the same type but different purpose.

  - #### metadata

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    Display order:

    Timestamps and general metadata describing the credential change.

  - #### forceChange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    If it is required to change password. E.g. there are situation when you set first password for the user, but after the user fist log in to the system, he/she has to change his/her password.

  - #### value

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

  - #### historyEntry

    Flags: RAM,runtime,oper

    Multiplicity: [0,-1]

    Display order:

    Contains a single entry of the password history. It contains a historical value of a password together with essential metadata.

  - #### hint

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Helps the user to remind his password.