Sun Identity Manager 8.1 Resources Reference

Examples

Procedureint Token Examples

  1. The following token matches a 6-digit integer and puts integer value of those digits into the attribute value map for the SALARY attribute.


    <int name=’SALARY’ len=’6’/>

    If the value 010250 is found, AttrParse adds SALARY=10250 to the value map.

  2. The following token matches any number of digits and adds that integer value to the attribute map for the AGE attribute.


    <int name=’AGE’ len=’-1’ noval=’NOT GIVEN’/>

    If the value 34 is found, for example, AGE=34 would be added to the attribute map. For string NOT GIVEN, a value will not be added to the attribute map for the AGE attribute.