# SecurityQuestionsCredentialsType (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.
questionAnswer | container SecurityQuestionAnswerType | [0,-1] | Answer to the security question.

- ### Items

  - #### failedLogins

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    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]

    The date and time of last successful login attempt.

  - #### previousSuccessfulLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

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

  - #### lastFailedLogin

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

    The date and time of last failed login attempt.

  - #### authenticationAttempt

    Flags: RAM,runtime,oper

    Multiplicity: [0,-1]

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

  - #### sequenceIdentifier

    Flags: RAM,runtime,oper

    Multiplicity: [0,1]

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

  - #### name

    Flags: RAM,runtime

    Multiplicity: [0,1]

    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]

    Timestamps and general metadata describing the credential change.

  - #### forceChange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    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.

  - #### questionAnswer

    Flags: RAM,runtime

    Multiplicity: [0,-1]

    Answer to the security question. This is a "personalized" answer and it is supposed to be associated with a single user. However, it may also optionally contain a question. E.g. in case a user specified a custom question.