A system and method are provided for maintaining a security profile throughout
nested service invocations on a distributed component-based system. Interconnections
are provided between distributed components each having nested service invocations.
A user context instance is created upon successful identification of the user.
A request is received from the user to invoke a first service on a first component,
wherein the first component invokes a second service of a second component, and
wherein completion of the second service is necessary to complete the first service.
The user context is queried for a unique user identifier. The unique user identifier
is compared with an access control list for verifying that the user has access
to the first component. The unique user identifier is also compared with an access
control list for verifying that the user has access to the second service of the
second component.