An apparatus and method for authenticating users on a data processing
system is implemented. The present invention provides for aggregating
authenticated identities and related authorization information. A
security context created in response to a first user logon is saved in
response to a second logon. A composite or aggregate security context is
created based on the identity passed in the second logon. Access may then
be granted (or denied) based on the current, aggregated security context.
Upon logout of the user based on the second identity, the aggregate
security context is destroyed, and the security context reverts to the
context previously saved.