`

Security Token Service

    博客分类:
  • ESB
阅读更多
Introduction to WS-Trust
Overview

The WS-Trust standard is based around a centralized security server (the Security Token Service), which is capable of authenticating clients and can issue tokens containing various kinds of authentication and authorization data.
WS-Trust specification

The WS-Trust features of Artix are based on the WS-Trust standard from Oasis:

http://docs.oasis-open.org/ws-sx/ws-trust/v1.4/ws-trust.html

Supporting specifications

Apart from the WS-Trust specification itself, several other specifications play an important role in the WS-Trust architecture, as follows:

    WS-SecurityPolicy 1.2

    SAML 2.0

    Username Token Profile

    X.509 Token Profile

    SAML Token Profile

    Kerberos Token Profile

WS-Trust architecture

Figure 8.1 shows a general overview of the WS-Trust architecture.


Figure 8.1. WS-Trust Architecture
WS-Trust Architecture

Requestor

A requestor is an entity that tries to invoke a secure operation over a network connection. In practice, a requestor is typically a Web service client.

Relying party

A relying party refers to an entity that has some services or resources that must be secured against unauthorized access. In practice, a relying party is typically a Web service.
[Note] Note

This is a term defined by the SAML specification, not by WS-Trust.
Security token

A security token is a collection of security data that a requestor sends inside a request (typically embedded in the message header) in order to invoke a secure operation or to gain access to a secure resource. In the WS-Trust framework, the notion of a security token is quite general and can be used to describe any block of security data that might accompany a request.

In principle, WS-Trust can be used with the following kinds of security token:

    SAML token.

    UsernameToken token.

    X.509 certificate token.

    Kerberos token.

SAML token

A SAML token is a particularly flexible kind of security token. The SAML specification defines a general-purpose XML schema that enables you to wrap almost any kind of security data and enables you to sign and encrypt part or all of the token.

SAML is a popular choice of token to use in the context of WS-Trust, because SAML has all of the necessary features to support typical WS-Trust authentication scenarios.
Claims

A SAML security token is formally defined to consist of a collection of claims. Each claim typically contains a particular kind of security data.
Policy

In WS-Trust scenarios, a policy can represent the security configuration of a participant in a secure application. The requestor, the relying party, and the security token service are all configured by policies. For example, a policy can be used to configure what kinds of authentication are supported and required.
Security token service

The security token service (STS) lies at the heart of the WS-Trust security architecture. In the WS-Trust standard, the following bindings are defined (not all of which are supported by Apache CXF):

    Issue binding—the specification defines this binding as follows: Based on the credential provided/proven in the request, a new token is issued, possibly with new proof information.

    Validate binding—the specification defines this binding as follows: The validity of the specified security token is evaluated and a result is returned. The result may be a status, a new token, or both.

    Renew binding—the specification defines this binding as follows: A previously issued token with expiration is presented (and possibly proven) and the same token is returned with new expiration semantics.

    Cancel binding—the specification defines this binding as follows: When a previously issued token is no longer needed, the Cancel binding can be used to cancel the token, terminating its use.
分享到:
评论

相关推荐

    VMware vCenter Server安装及初始配置.

    ### VMware vCenter Server 安装及初始配置详解 #### 一、引言 随着云计算和虚拟化技术的不断发展,企业对于高效、灵活的数据中心管理需求日益增长。VMware vCenter Server(以下简称“vCenter”)作为一款业界...

    java实现使用STS临时访问凭证访问阿里云OSS.zip

    Java 实现使用STS(Security Token Service)临时访问凭证访问阿里云OSS(Object Storage Service)是一种安全的访问控制策略。STS允许您为第三方或者短期任务分配一个临时的、有限权限的访问令牌,而不是直接分享您...

    文件对象管理器(集成MinIO、阿里云OSS基本操作及临时token获取)

    1. **创建STS服务**:在阿里云控制台启用Security Token Service(STS)。 2. **生成角色**:定义一个角色,并授予该角色对OSS的特定操作权限。 3. **获取临时凭证**:通过调用STS API,使用主账号的Access Key和...

    vCenter Server 上 STS 证书 checksts.py

    要验证 VMware Security Token Service (STS) 的过期日期,请执行以下操作: HTML 5 客户端 注意:适用于 vCenter Server 7.0 Update2 及更高版本 通过 https://vcenter_server_ip_address_or_fqdn/ui 连接到 ...

    阿里云视频点播 临时授权 STS

    (2)STS服务器验证请求并生成包含AccessKeyId、AccessKeySecret和SecurityToken的临时凭证;(3)客户端使用这些临时凭证调用阿里云服务,如视频点播API。 5. **临时凭证的使用**:在ThinkPHP5项目中,可以通过阿里云...

    阿里云OSS临时授权STS直传视频文件到OSS服务器教程(含所需的核心js代码)

    在实际应用中,尤其是涉及到用户直接上传大文件,如视频,OSS提供了临时安全授权(Security Token Service,简称STS)机制来实现权限控制和安全上传。STS允许应用程序或用户获取一个具有特定权限和有效期的临时凭据...

    Python库 | mypy_boto3_sso-1.19.4-py3-none-any.whl

    在众多的Python库中,mypy_boto3_sso是一个非常重要的组件,尤其对于那些需要处理AWS Security Token Service (STS)的开发者来说,它提供了强大的类型检查和静态分析功能。本文将详细探讨mypy_boto3_sso库的背景、...

    Python库 | tencentcloud-sdk-python-sts-3.0.546.tar.gz

    在Python开发中,TencentCloud SDK for Python STS(Security Token Service)是一个不可或缺的工具,尤其对于那些需要与腾讯云服务进行集成的应用程序。本文将深入探讨这个库的3.0.546版本,包括其功能、用途以及...

    PyPI 官网下载 | mypy_boto3_sso-1.17.23.0-py3-none-any.whl

    `mypy_boto3_sso` 是一个类型注解(Type Checked)的 AWS Security Token Service (STS) 非官方客户端,它是基于Boto3库的一个扩展。Boto3是Amazon Web Services (AWS) 的官方Python SDK,允许开发者与AWS的众多服务...

    Oracle SOA Suite 11g Handbook

    3. **WS-Security and Security Token Service**:Oracle SOA Suite 11g支持Web服务安全标准,如WS-Security,确保服务间的通信安全。Security Token Service (STS) 提供了安全令牌的管理和颁发,增强了身份验证和...

    Python库 | mypy-boto3-sts-1.12.36.0.tar.gz

    Python库myPy-boto3-sts是用于类型检查和静态分析的一个工具,它与AWS Security Token Service (STS)客户端库boto3-sts相结合。这个压缩包“mypy-boto3-sts-1.12.36.0.tar.gz”包含了一个特定版本的这个集成库,版本...

    Python库 | mypy_boto3_sso-1.14.15.0-py3-none-any.whl

    mypy_boto3_sso是一个专门针对Python的静态类型检查器mypy扩展,旨在为使用AWS Security Token Service (SSO)的boto3库提供更强大的类型支持。这个库的版本号是1.14.15.0,兼容Python 3环境,其文件名为“mypy_boto3...

    PyPI 官网下载 | mypy-boto3-sts-1.16.36.0.tar.gz

    资源“mypy-boto3-sts-1.16.36.0.tar.gz”正是源自这个官方平台,它是一个用于Python的特定库,旨在为开发者提供与AWS Security Token Service(STS)交互的功能。在这里,我们将深入探讨这个库的细节、用途以及如何...

    PyPI 官网下载 | blurredface_sts_test-0.0.4-py3-none-any.whl

    "blurredface_sts_test"可能是一个用于处理模糊人脸或安全令牌服务(STS,Security Token Service)的测试库,常见于处理身份验证、授权或安全相关的功能。在后端开发中,这样的库可以帮助开发者更安全地处理敏感...

    PyPI 官网下载 | mypy_boto3_sso_admin-1.17.48.0-py3-none-any.whl

    `mypy_boto3_sso_admin`是专门为Amazon Simple Storage Service (S3) 和 Amazon Security Token Service (STS) 的Single Sign-On (SSO) 管理接口提供类型检查的Python库。它基于`boto3`,`boto3`是Amazon Web ...

    PyPI 官网下载 | mypy-boto3-sts-1.19.5.tar.gz

    在本文中,我们将探讨的是在PyPI上下载的名为`mypy-boto3-sts-1.19.5.tar.gz`的压缩包,这个包是针对Python开发的一个特定库,旨在增强对AWS Security Token Service (STS)的支持,并结合类型检查工具mypy进行更严格...

    aliyun-net-sdk-sts-3.0.0.zip

    assumeRoleResponse.Credentials.SecurityToken)); // 接下来可以使用ossClient进行文件操作,如上传、下载等 ``` 5. 移动应用直传:对于移动应用,可以将临时凭证通过后端服务发送给前端,前端直接使用这些凭证...

    Python库 | mypy_boto3_sso-1.14.47.0-py3-none-any.whl

    `mypy_boto3_sso` 是一个专门为Python开发的库,它扩展了`boto3`库的功能,增加了类型检查和静态分析支持,特别针对AWS Security Token Service (STS)的交互。这个库的版本是1.14.47.0,表明它是对`boto3`库的一个...

Global site tag (gtag.js) - Google Analytics