Federating user accounts in bulk
In order for users to do single sign-on between an Identity Provider (IdP) and a Service Provider (SP), the user accounts must be federated, or linked together. When an account is federated, the two systems agree on a common identifier for a user. The common identifier is used when the systems communicate about the user. In this way, account names do not need to be shared between the two systems. Instead, a unique name specific to the federated identity is agreed upon by the two systems.
The following topics provide basic information and instructions for federating user accounts in bulk:
The following topics provide additional information for federating user accounts in bulk:
bulkFederation utility syntax
Bulk federation is accomplished by using the bulkFederation utility with the following syntax:
(Microsoft Windows) bulkFederation.bat <command> <arg1> ...< argN>
(UNIX) bulkFederation.sh <command> <arg1> ... <argN>
bulkFederation utility commands
The following bulkFederation utility commands are used for bulk account federation:
To perform bulk federation
- Provide either an identity list file or an identity mapping file.
- An identity list file is simple text file with only your local user IDs.
- An identity mapping file is a simple text file with both your local user IDs and your remote user IDs.
- Create user accounts on each server (local and remote) with the createcommand.
- Use either your identity list file or your identity mapping file as the input file on the local server.
- Use a separate identity list file or your federated mapping file on the remote server.
For example (UNIX):
bulkFederation.sh create -ap myAdminPassword -au amAdmin -rf myDiagnosticFile1 -um userIdMapFile.dat
In this example, an identity mapping file, userIdMapFile.dat, is used.
- Federate the user accounts on the local server with the federatecommand.
- Be sure that your user accounts were created on each server (local and remote).
- Use your identity mapping file as the input file and provide a file name for the output file that will contain the federated identity mapping data.
For example (UNIX ):
bulkFederation.sh federate -ap myAdminPassword -au amAdmin -fm /BmcRealm/sp -nm nameIdMapFile.dat -re IdP -rf myResultsFile2 -um userIdMapFile.dat
In this example, nameIdMapFile.dat is the output file for the federated identity mapping data that is generated by the federate command.
- Copy the federated identity mapping data file to the remote server.
Import the federated identity mapping data into the remote server with the import command.
The federated identity mapping data file is the output file from the federate step and becomes the input file for the import step.
For example (UNIX ):
bulkFederation.sh import -ap myAdminPassword -au amAdmin -im /BmcRealm/idp -nm nameIdMapFile.dat -rf myResultsFile3
In this example, nameIdMapFile.dat contains the federated identity mapping data that is generated by the federatecommand and imported into the remote server.