A mechanism is provided for signing on a user of a first domain into an
affiliate application in a second domain. When the user needs access to
the affiliate application, the request for access causes a ticket to be
generated. The ticket identifies the user and is passed to an adapter.
The adapter, which ultimately will perform the sign on in the affiliate
application, redeems the ticket for the user's credentials (e.g., a valid
userID/password combination for the affiliate application), and then
presents the credentials to the affiliate application. A service is
provided that issues tickets, redeems tickets, manages the registration
and de-registration of affiliate applications, manages the correlation
between a user and the user's credentials with an affiliate application,
and manages encryption of stored records.