[midPoint] Missing ValuePolicyType <lifetime> tag in mP 4.x

Lubomir Odlevak odlevak.lubomir at gmail.com
Tue Oct 22 19:17:08 UTC 2019


Hi,

I have noticed that ValuePolicyType class has been updated in mP 4.x. I
have used <lifetime> xml tag to set
minPasswordAge and passwordHistoryLength in ValuePolicy object in mP 3.x.
This <lifetime> tag is missing in mP 4.x. Is there any way how to use it in
mP 4.x ?
Here are differencies in ValuePolicyType class in mP 3.x and 4.x:
mp 3.9 :

<complexType name="ValuePolicyType">
   <complexContent>
     <extension base="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}ObjectType">
       <sequence>
         <element name="lifetime" type="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}PasswordLifeTimeType
"/>
         <element name="stringPolicy" type="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}StringPolicyType
"/>
         <element name="prohibitedValues" type="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProhibitedValuesType"
minOccurs="0"/>
         <element name="minOccurs" type="{
http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="maxOccurs" type="{
http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>


mP 4.x :

<complexType name="ValuePolicyType">
   <complexContent>
     <extension base="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentHolderType
">
       <sequence>
         <element name="stringPolicy" type="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}StringPolicyType
"/>
         <element name="prohibitedValues" type="{
http://midpoint.evolveum.com/xml/ns/public/common/common-3}ProhibitedValuesType"
minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>

Thanks
Regards
Lubomir Odlevak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint/attachments/20191022/c6d94816/attachment.html>


More information about the midPoint mailing list