Examples of searching user records – Apple Federal Smart Card Package User Manual

Page 16

Advertising
background image

16

FSCP Installation and Setup Guide

Examples of Searching User Records

This section provides additional examples for changing the userLookupConfig.plist file.

A Simple Change

This example gets the EDI Identifier from the Common Access Card.

<array>

<dict>

<key>values</key>

<array>

<dict>

<key>type</key>

<string>DemographicData</string>

<key>tag</key>

<string>23</string>

<key>value</key>

<string>placeholder</string>

</dict>

</array>

<key>formatString</key>

<string>$1@mil</string>

<key>userLookupKey</key>

<string>dsAttrTypeStandard:uniqueID</string>

</dict>

</array>

The

formatString

specifies using the EDI Identifier returned by the card (for example,

“1604678933”) followed by the literal string “@mil”. The resulting search string is
“1604678933@mil”.

The

userLookupKey

specifies the standard Open Directory key,

uniqueID

.

FSCP passes the search string and key to Open Directory, which searches for a user record
with the value of the search string as its unique ID.

Sphinx Page 16 Tuesday, January 14, 2003 12:53 PM

Advertising