WS-Federation is part of the larger Web Services Security (WS-Security) framework, which provides a means for applying security to web services through the use of security tokens. WS-Federation uses Security Token Service (modeled on the WS-Trust specification) to allow providers in different security realms to broker trust using the information on identities, identity attributes and authentication, and provider federation.