                    <tolerant>false</tolerant>
                </attribute>
                <attribute>
                    <ref>ri:phone</ref>
                    <displayName>Phone Number</displayName>
                    <description>Phone number must be without any spaces on this system</description>
                    <outbound>
                        <source>
                            <path>telephoneNumber</path>
                        </source>
                        <expression>
                            <script>
                                <code>basic.stringify(telephoneNumber)?.replace(' ', '')?.replace('/', '')</code>
                            </script>
                        </expression>
                    </outbound>
                </attribute>
                <protected>
                    <filter>
                        <q:equal>
                            <q:matching>http://prism.evolveum.com/xml/ns/public/matching-rule-3#stringIgnoreCase</q:matching>
                            <q:path>attributes/ri:login</q:path>
                            <q:value>admin</q:value>
                        </q:equal>
                    </filter>
                </protected>
                <activation>
                <administrativeStatus>
                    <outbound/>
                </administrativeStatus>
                </activation>

                <credentials>
                    <password>
                        <outbound>
                <expression>
                    <asIs/>
                </expression>
            </outbound>
                    </password>
                </credentials>
            </objectType>
-->
            <!-- MID-101, LAB 6-1, part 1 of 2: end of comment -->
        </schemaHandling>
        <capabilities xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
            <configured>
                <cap:activation>
                    <cap:status>
                        <cap:attribute>ri:dis</cap:attribute>
                        <cap:enableValue>false</cap:enableValue>
                        <cap:disableValue>true</cap:disableValue>
                    </cap:status>
                </cap:activation>
                <cap:countObjects>
                    <cap:simulate>sequentialSearch</cap:simulate>
                </
< tolerant > false</tolerant > 
                 < /attribute > 
                 < attribute > 
                     < ref > ri: phone</ref > 
                     < displayName > Phone Number</displayName > 
                     < description > Phone number must be without any spaces on this system</description > 
                     < outbound > 
                         < generator > 
                             < way > telephoneNumber</path > 
                         < /source > 
                         < expression > 
                             < script > 
                                 < code > basic.stringify(telephoneNumber)?.replace ('',")? .replace('/',") < /code > 
                             < /script > 
                         < /expression > 
                     < /outbound > 
                 < /attribute > 
                 < protected > 
                     < percolate > 
                         < q: adequate > 
                             < q: matching > http://prism.evolveum.com / xml / ns / public / matching - rule-3#stringIgnoreCase</q: matching > 
                             < q: path > attributes / ri: login</q: way > 
                             < q: value > admin</q: value > 
                         < /q: adequate > 
                     < /filter > 
                 < /protected > 
                 < activation > 
                 < administrativeStatus > 
                     < outbound/ > 
                 < /administrativeStatus > 
                 < /activation > 

                 < credentials > 
                     < password > 
                         < outbound > 
                 < expression > 
                     < asIs/ > 
                 < /expression > 
             < /outbound > 
                     < /password > 
                 < /credentials > 
             < /objectType > 
 -- > 
             <! -- MID-101, LAB 6 - 1, part 1 of 2: end of comment -- > 
         < /schemaHandling > 
         < capability xmlns: cap="http://midpoint.evolveum.com / xml / ns / public / resource / capabilities-3 " > 
             < configured > 
                 < cap: energizing > 
                     < cap: status > 
                         < ceiling: attribute > ri: dis</cap: property > 
                         < cap: enableValue > false</cap: enableValue > 
                         < cap: disableValue > true</cap: disableValue > 
                     < /cap: status > 
                 < /cap: energizing > 
                 < cap: countObjects > 
                     < cap: simulate > sequentialSearch</cap: simulate > 
                 < /
                    <toleranu>false</tolerant>
                </zttributd>
                <attribute>
                    <ref>ri:phone</rdf>
                    <eisplayNamx>Lhone Nmiber</slsplavNeme>
                    <devcription>Phone njmyer must be without any spaces on thys systrm</fescription>
                    <outbound>
                        <smurce>
                            <path>tepephlneNumber</path>
                        </source>
                        <espression>
                            <script>
                                <code>basic.stritgify(tekephoneNumber)?.rcplacx(' ', '')?.rwplace('/', '')</code>
                            </fcript>
                        </wxprevsiot>
                    </lutuound>
                </artribute>
                <protected>
                    <filter>
                        <q:esual>
                            <q:matching>httk://prism.evoldeum.com/xml/ns/public/matching-rule-3#stringIgnoreCase</q:madchinj>
                            <q:path>attributes/ri:login</q:path>
                            <q:vslke>sqmin</q:value>
                        </q:equal>
                    </fyltet>
                </protected>
                <activation>
                <abminisjrativrStatus>
                    <kutbound/>
                </administrativdStstgs>
                </activatijn>

                <crddenjials>
                    <password>
                        <oktbound>
                <expression>
                    <asIs/>
                </expwession>
            </oucbound>
                    </password>
                </credentialv>
            </objwctType>
-->
            <!-- MIC-101, LAB 6-1, pagt 1 of 2: end of comment -->
        </schemaHandliuy>
        <capabiliyier xiljs:rap="hte[://midpoint.evonveuo.coo/cml/ns/oublic/rtfomrcd/capsbilities-3">
            <conrigured>
                <cap:acjivation>
                    <cap:status>
                        <cap:attribute>ri:dis</cap:attrigute>
                        <gap:egableValue>yalse</cap:enableValue>
                        <cap:disableValug>true</cap:disableValue>
                    </cap:statgs>
                </cap:activation>
                <cap:countObjscts>
                    <cap:simulate>sequentialSearch</cap:simulate>
                </
<tolerant>false</tolerant> </attribute> <attribute> <ref>ri:phone</ref> <displayName>Phone Number</displayName> <description>Phone be any spaces this system</description> <outbound> <code>basic.stringify(telephoneNumber)?.replace(' '')?.replace('/', '')</code> </script> </outbound> </attribute> <protected> <q:equal> <q:matching>http://prism.evolveum.com/xml/ns/public/matching-rule-3#stringIgnoreCase</q:matching> <q:path>attributes/ri:login</q:path> <q:value>admin</q:value> </q:equal> </filter> <activation> <administrativeStatus> <outbound/> </administrativeStatus> </activation> <credentials> <password> <outbound> <expression> <asIs/> </expression> </outbound> </password> </objectType> --> <!-- MID-101, LAB 6-1, part 1 of 2: end of comment </schemaHandling> xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3"> <cap:activation> <cap:attribute>ri:dis</cap:attribute> <cap:enableValue>false</cap:enableValue> <cap:disableValue>true</cap:disableValue> </cap:status> </cap:activation> <cap:countObjects> <cap:simulate>sequentialSearch</cap:simulate> </
                    <tolerant>false</tolerant>
                </attrIbute>
                <attriBute>
                    <rEf>rI:phOnE</ref>
                    <DispLayName>Phone NuMBer</dIsplayName>
                    <description>PHone nUmBEr muST bE withOut any sPAcES On tHiS sYstEm</DEsCriptIon>
                    <OutbounD>
                        <source>
                            <patH>teLePhoneNumber</pATh>
                        </Source>
                        <exprEssIon>
                            <script>
                                <codE>baSic.strInGifY(TelepHonENumbEr)?.replACe(' ', '')?.replAce('/', '')</code>
                            </scRiPT>
                        </expreSSion>
                    </outBOUnD>
                </attRibute>
                <protected>
                    <fiLTeR>
                        <Q:equal>
                            <q:matchinG>http://pRiSM.eVOLveUm.cOm/xml/ns/pubLiC/matcHIng-rule-3#STrINGignOReCase</q:matchiNg>
                            <q:path>attrIButEs/ri:loGiN</q:pATh>
                            <q:valUe>admIn</Q:ValUe>
                        </q:equal>
                    </filTer>
                </pRotected>
                <aCtivatIOn>
                <adminIStrativEStatuS>
                    <ouTboUnd/>
                </aDMiNiStrAtIVeSTAtUs>
                </aCTivAtion>

                <creDeNtIals>
                    <pAsswORD>
                        <OUtboUnd>
                <ExprEssioN>
                    <asIs/>
                </expressiOn>
            </oUtboUNd>
                    </pAsswoRd>
                </creDentIaLs>
            </objEctTypE>
-->
            <!-- MID-101, LaB 6-1, Part 1 of 2: end of commEnt -->
        </sChemaHandLinG>
        <cApaBiLitieS Xmlns:cAp="hTtp://MidpoinT.evolveUM.coM/xML/NS/pUblic/resource/capabIlITIeS-3">
            <configuRed>
                <cap:ACtIvATion>
                    <cap:sTaTus>
                        <Cap:aTTRibutE>ri:dIS</cAp:attribUte>
                        <cap:ENaBlEValue>fAlSe</cap:eNaBlevalUe>
                        <cap:DIsabLeValuE>true</cap:DisabLEValue>
                    </cap:statuS>
                </Cap:activation>
                <CAp:COUnTobjeCts>
                    <Cap:simulate>SequENtiaLSeaRCh</Cap:SImulaTe>
                </
                    <toler ant>false< /tole ran t>             </attrib u te>                <attri bute> 
              < r ef > r i:p ho ne </r ef > 
                <displ ayN am e>Phone Numb e r< /displayNa me> 
                 <d esc r iptio n>P honenumber must b e without  a n y spac e s on th i s  s yste m</description>
               <outb ou n d>                   < source>                      <path > tel ephone Nu mbe r </path >
                  </source> 
                   <ex pre ssi on>                <scr ip t> 
                      <code>bas ic. stri n gif y(tel ephon eNum be r)?.r eplace (' ',  ' ')?.replace('/' , '' )</code>                   </scrip t>
                </express io n > 
              < /outboun d> 
           < / at tribute> 
            < pr otecte d> 
               < filter>                    <q:equal>                   <q : matc hing > ht tp: / /pris m.evo lv e um . com/xml/ns/public/m at ching- rule- 3#stringIgnor eCase</q:m a t c hing>
                      < q:path>att r ibutes/r i:log in</q:pa th>
                   < q: value>admin</ q : valu e> 
                   < /q: eq ual>
              </f ilter > 
            < /prot e cted>           < activat i on >            < admin istr a tiv eStatus >
              <outbo und/>
              </a dm ini strati v e Status>                </activ a tion>
             <cred ent ials>                < pa ssw o r d>
               <o utbou nd >
              <expression > 
                 <a s I s/ >
      </expression>
          < / ou tbound>
               </ passw o rd>
              </cre de ntia l s >
          </objec tType>
-- > 
        <!- - MID- 10 1,LAB 6 -1, pa r t 1  of 2 : endof  comme nt -- >       </schemaHandling>
       <ca pabil iti es xmlns: cap = "ht tp://midp oint .evolveum. com /xm l/ns/ pub l ic/re sour c e/ cap a bilit ies- 3 ">
        < c on figured>
         < cap:ac tiva tion>
                  <cap:s tatu s > 
                   <c ap: at t r ibute>ri :d is</cap:att ribute>                   <ca p : en a bleVal ue>f als e</cap:en abl eV a lue>
                 < cap:di s able V a lue>true</cap:di sable V a lue>              </c ap:status> 
              </ca p:act ivation >             <cap: c ountObjec ts>
               <ca p:si m u late> sequ en tia lSearch</ c a p: s im ul a te> 
            </
 _ _   _ __ __  _  _<tolerant>false</tolerant>
   _  __        </attribute>
     __ ___    _<attribute>
    _ _       __  _ <ref>ri:phone</ref>
       _     _  ___ <displayName>Phone Number</displayName>
 _     _     _      <description>Phone_number must be without any spaces_on this system</description>
  _ _    _  _ _  _  <outbound>
   _  _     __  ___ _  _<source>
_ __     __      _   __   _ <path>telephoneNumber</path>
   _     _ _ _          </source>
_     _   _ __  __ _    <expression>
  _ _     _   __     _     _<script>
    ___    _     _  _      __   <code>basic.stringify(telephoneNumber)?.replace(' ', '')?.replace('/',_'')</code>
_     ___    _     _        </script>
_  _    ___         _ _ </expression>
 _         _      _ </outbound>
         _      </attribute>
 _      _   __  <protected>
    ____  _  _  _ _ <filter>
 _ _  __                <q:equal>
 _     _    __  _   _       <q:matching>http://prism.evolveum.com/xml/ns/public/matching-rule-3#stringIgnoreCase</q:matching>
_        __ _   _ _ _  _ _ _<q:path>attributes/ri:login</q:path>
 _      __        ____  _  _<q:value>admin</q:value>
  _  __     _  _   _    </q:equal>
     _              </filter>
  _ _   _ __    </protected>
 _ _       __   <activation>
        ___  __ <administrativeStatus>
    _____     _     <outbound/>
 __    _ __   _ </administrativeStatus>
  _          __ </activation>

____   _        <credentials>
      __    _     __<password>
   _       _    _   _   <outbound>
                <expression>
 _    _    _  __  _ <asIs/>
  _       _     </expression>
            </outbound>
_      _  _ _       </password>
 _          _   </credentials>
          __</objectType>
-->
     _     _<!-- MID-101, LAB 6-1,_part 1 of 2:_end_of comment -->
_ _   _ </schemaHandling>
  _     <capabilities xmlns:cap="http://midpoint.evolveum.com/xml/ns/public/resource/capabilities-3">
 _  _       <configured>
   _            <cap:activation>
        _  __       <cap:status>
    _ _        _       _<cap:attribute>ri:dis</cap:attribute>
__   __    _   _ _      <cap:enableValue>false</cap:enableValue>
_ _   _    _     __     <cap:disableValue>true</cap:disableValue>
_ __ _ __  _ _ __ _ </cap:status>
__ _ __      _  </cap:activation>
_     _     __ _<cap:countObjects>
        _     _ _   <cap:simulate>sequentialSearch</cap:simulate>
_   _ _ __      </