Skip to content

Commit

Permalink
Merge branch 'feature/password-history' of https://github.com/Evolveu…
Browse files Browse the repository at this point in the history
…m/midpoint into feature/password-history
  • Loading branch information
ardanu committed Jun 22, 2016
2 parents b502027 + 87f9ff7 commit 1c2674b
Showing 1 changed file with 54 additions and 1 deletion.
Expand Up @@ -2547,11 +2547,55 @@
<xsd:extension base="tns:AbstractCredentialType">
<xsd:sequence>
<xsd:element name="value" type="t:ProtectedStringType" minOccurs="0"/>
</xsd:sequence>
<xsd:element name="historyEntry" type="tns:PasswordHistoryEntryType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="PasswordHistoryEntryType">
<xsd:annotation>
<xsd:documentation>
Contains a single entry of the password history. It contains a historical value
of a password together with essential metadata.
</xsd:documentation>
<xsd:appinfo>
<a:container/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="metadata" type="tns:MetadataType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
Timestamps and general metadata describing the credential change.
This is a copy of the original metadata of the password before it was
changed and before it was moved to the history.
</xsd:documentation>
<xsd:appinfo>
<a:operational>true</a:operational>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" type="t:ProtectedStringType" minOccurs="0"/>
<xsd:element name="changeTimestamp" type="xsd:dateTime" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The timestamp when this password was changed to a different value.
This is different from the date in metadata. The dates in metadata
tells when this password was created (when it started to be valid).
The changeTimestamp tells when the password stopped to be valid and
was moved to the history entries. This timestamp can be used to
chronologically order the entries.
</xsd:documentation>
<xsd:appinfo>
<a:operational>true</a:operational>
<a:indexed>true</a:indexed>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SecurityQuestionsCredentialsType">
<xsd:annotation>
<xsd:appinfo>
Expand Down Expand Up @@ -10159,6 +10203,15 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="passwordHistoryLength" type="xsd:int" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The number of entries to keep in the password history. Also specifies the
number of past passwords that will be checked before accepting a new password
change.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
Expand Down

0 comments on commit 1c2674b

Please sign in to comment.