Protocol and deployment notes · Deployment
Bounded WS-Trust 1.3 Issue, Validate, Renew, Cancel, and Proof Key
On this page
Enable the bearer profileEnable managed token-producing ValidateEnable bounded same-application RenewEnable bounded same-application CancelEnable bounded symmetric proof-key IssueEnable the optional active UsernameMixed profileDiscover the exact profilesRequest a token with an Atlas bearer sessionRequest a SAML 1.1 holder-of-key tokenValidate an Atlas-issued application tokenProduce the configured target token from a managed provider tokenRenew an Atlas-issued application tokenCancel an Atlas-issued application tokenRequest an active UsernameMixed tokenAuthorization and federation behaviorDeliberate boundariesAtlas exposes seven deliberately bounded WS-Trust 1.3 profiles for an active WS-Federation application:
- the preferred profile exchanges an existing Atlas HTTP bearer session for the application's configured signed SAML 2.0, SAML 1.1, or JWT token; and
- a status-only
Validateprofile verifies a plaintext token previously issued by Atlas for that exact application, using an existing Atlas HTTP bearer session; and - an optional token-producing
Validateprofile accepts one protocol-specific token from the exact managed OIDC, direct SAML 1.1, or WS-Federation provider already bound to the live Atlas session and mints the application's configured token only after provider, subject, replay, hub-route, and local-policy validation; and - an optional same-application
Renewprofile replaces one unexpired current Atlas-issued token only when its signed subject matches the authenticated current application subject; and - an optional same-application
Cancelprofile durably invalidates one unexpired current Atlas-issued token only when its signed subject matches the authenticated current application subject; and - an optional proof-key
Issueprofile derives one 256-bit symmetric key from requestor and Atlas entropy, binds it to a signed SAML 1.1 holder-of-key assertion, and encrypts it to the application's current RSA relying-party certificate; and - an optional legacy active profile accepts WS-Security UsernameMixed over TLS and can issue only the application's configured signed SAML 2.0 or SAML 1.1 bearer token.
None of these profiles is a general token-translation service. The managed token-producing profile does not accept a caller-supplied trust set or an arbitrary provider. The active profile is disabled by default and is intended for bounded legacy clients such as hybrid-joined Windows flows that cannot perform an interactive browser sign-in.
Enable the bearer profile
Configure and activate a normal WS-Federation application, then set:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"realm": "urn:mission:service",
"replyUrl": "https://service.example.mil/wsfed",
"audienceUri": "urn:mission:service",
"tokenType": "saml2",
"tokenSigningAlgorithm": "rsa-sha256",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"attributeStatements": ["email"],
"maxSessionLifetimeMinutes": 60
}
}
}
}
The wsfed-wstrust-profile-safe readiness check blocks the application unless
TLS and signed tokens are required and the token type is exactly saml2,
saml1.1, or jwt. All normal WS-Federation readiness, assignment, claim
release, logout/revocation, and application-lifecycle checks still apply.
Enable managed token-producing Validate
Set wsTrustTokenTranslation only on a target application whose bearer
profile is already enabled:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"tokenType": "saml2",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"wsTrustTokenTranslation": true
}
}
}
}
The application readiness check fails closed when translation is enabled without the authenticated bearer profile. Enabling the field does not create a global STS. A usable transaction also requires all of the following current server-owned state:
- the HTTP bearer resolves to a live Atlas session created from one enabled managed inbound OIDC, direct SAML 1.1, or WS-Federation provider;
- that session's provider-generation digest still matches the current managed provider configuration;
ValidateTargetis exactly one provider-specific carrier: the OIDC ID token retained in the encrypted provider session as a Base64 WS-SecurityBinarySecurityToken, a full signed direct SAML 1.1 Browser/POST Response, or a SAML 1.1, SAML 2.0, or JWT token accepted by the exact WS-Federation provider;- OIDC is cryptographically revalidated against current RP/JWKS state and its exact issuer, audience, authorized party, nonce, subject, authentication context and methods, times, upstream session, and assurance; direct SAML revalidates the response signature, issuer, recipient, audience, lifetime, and subject against the current provider certificate and runtime;
- the source subject exactly matches the provider subject bound to the Atlas
session, and configured WS-Federation
wauthandwfreshrequirements still hold where applicable; - the source token has not been used by either inbound browser federation or a prior token-producing Validate transaction; and
- an active restriction-only federation-hub route permits that exact provider to reach that exact application.
Atlas then re-applies assignment, RBAC/ABAC, AAL, freshness, TrustAI, release, and rate-limit policy and mints the target with the application's ordinary local signing authority. Raw source subjects and token identifiers do not cross into the application issuer or its audit record; the issuer receives the managed provider ID, source token type, and a one-way token-ID hash.
Enable bounded same-application Renew
Set wsTrustRenew only on an application whose authenticated bearer profile
is already enabled:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"tokenType": "saml1.1",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"wsTrustRenew": true,
"maxSessionLifetimeMinutes": 60
}
}
}
}
The readiness check rejects Renew unless TLS, signed tokens, and the bearer profile are enabled and the configured token type is supported. The setting opens only the URL-selected application's exact Renew endpoint; it does not create a global renewal authority.
Enable bounded same-application Cancel
Set wsTrustCancel only on an application whose authenticated bearer profile
is already enabled:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"tokenType": "saml1.1",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"wsTrustCancel": true
}
}
}
}
The readiness check rejects Cancel unless TLS, signed tokens, and the bearer profile are enabled and the configured token type is supported. The setting opens only the URL-selected application's exact Cancel endpoint; it does not create a third-party or global cancellation authority.
Enable bounded symmetric proof-key Issue
Set wsTrustProofKey only on an authenticated bearer application configured
for signed, unencrypted SAML 1.1. Register the relying party's current RSA
encryption certificate through the standard application certificate field:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"realm": "urn:mission:proof-service",
"replyUrl": "https://proof.example.mil/wsfed",
"audienceUri": "urn:mission:proof-service",
"tokenType": "saml1.1",
"tokenSigningAlgorithm": "rsa-sha256",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"wsTrustProofKey": true,
"spEncryptionCertificatesPem": ["-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"]
}
}
}
}
wsfed-wstrust-proof-key-ready blocks activation unless the certificate is
currently valid, uses RSA with at least 2048 bits, and the application selects
SAML 1.1 without whole-assertion encryption. The proof-key endpoint is a
separate opt-in profile; enabling it never changes bearer Issue, Validate,
Renew, Cancel, or active UsernameMixed behavior.
Enable the optional active UsernameMixed profile
Open the deployment gate explicitly:
ATLAS_WS_TRUST_ACTIVE_USERNAME_ENABLED=true
The AIO Compose and image defaults are false. The deployment switch opens no
endpoint by itself. The application must also set:
{
"domain": {
"protocol": {
"selectedProtocol": "ws-fed",
"wsFed": {
"tokenType": "saml2",
"requireSignedTokens": true,
"requireTls": true,
"wsTrustBearerExchange": true,
"wsTrustActiveUsernameMixed": true,
"wsTrustActiveAllowedCidrs": ["10.40.0.0/16"]
}
}
}
}
wsfed-wstrust-active-boundary blocks activation unless the selected token is
saml1.1 or saml2, the bearer profile is also enabled, and one to 32 explicit
source networks are configured. IPv4 networks broader than /8 and IPv6
networks broader than /32 are rejected.
The source address is resolved through Atlas managed network zones. When AIO's
nginx terminates TLS, register its loopback hop as a trusted_proxy through the
standard /api/v1/zones API or Access & Network interface; otherwise Atlas
ignores forwarding headers. For example, the AIO ingress zone can include
127.0.0.0/8 and ::1/128, while the application's active allowlist contains
the real approved client networks. Do not use the loopback network as the
application's client allowlist.
Discover the exact profiles
For application <app-id>, Atlas publishes:
GET /api/v1/sso/wsfed/<app-id>/trust/mexGET /api/v1/sso/wsfed/<app-id>/trust/wsdlPOST /api/v1/sso/wsfed/<app-id>/trust/13POST /api/v1/sso/wsfed/<app-id>/trust/validate13- optional same-application endpoint:
POST /api/v1/sso/wsfed/<app-id>/trust/renew13 - optional same-application endpoint:
POST /api/v1/sso/wsfed/<app-id>/trust/cancel13 - optional proof-key endpoint:
POST /api/v1/sso/wsfed/<app-id>/trust/proof13 - optional active endpoint:
POST /api/v1/sso/wsfed/<app-id>/trust/active13
MEX is available only for an active, explicitly opted-in application. The XML
document binds the exact Issue endpoint, registered audience, configured token
type, public per-application signing certificate, and Atlas restrictions. It
also contains a standard WSDL 1.1 metadata section. The same application-
specific WSDL is returned directly by /trust/wsdl and /trust/mex?wsdl for
HTTP-GET metadata tooling. The contract uses OASIS WS-Trust 1.3 message QNames,
SOAP 1.2 document/literal bindings, exact WS-Addressing actions and HTTPS
addresses, and attached WS-Policy transport requirements. It emits only ports
that the current runtime can service: bearer Issue, eligible Validate, Renew
only while wsTrustRenew is enabled, Cancel only while wsTrustCancel is
enabled, proof-key Issue only while wsTrustProofKey and its certificate
requirements remain valid, and the active UsernameMixed port only while both
active gates are open. For an
element-encrypted SAML 2.0 application, ordinary status Validate is omitted;
the Validate port remains only if governed token-producing Validate is enabled.
WSDL import is discovery, not trust bootstrap or authorization. An importer
may ignore Atlas's optional descriptive policy assertions, but the runtime
still requires the exact HTTP bearer or UsernameToken boundary, application
policy, audience, token profile, replay controls, and managed source trust. The
custom MEX profile section remains the authoritative description of those
Atlas-specific restrictions. It
identifies the preferred profile as atlas-authenticated-bearer-issue and
the status-only profile as
atlas-authenticated-same-application-validate. The Validate profile is not
advertised for a SAML 2.0 application that uses element encryption because
Atlas does not hold the relying party's decryption key. MEX
includes atlas-federated-token-producing-validate only when
wsTrustTokenTranslation is enabled. It advertises the exact configured local
response token type and the managed OIDC/direct-SAML/WS-Federation provider,
session, generation, protocol-specific carrier, subject, one-time replay,
route, and local-policy restrictions; it never supplies or installs source
trust. MEX includes atlas-authenticated-same-application-renew only when
wsTrustRenew is enabled. That profile binds the current application, current
signed subject, source-token lifetime, one-time source use, policy-derived
replacement lifetime, and hash-only durable replacement lineage. MEX includes
atlas-authenticated-same-application-cancel only when wsTrustCancel is
enabled. That profile binds the current application and authenticated signed
subject, requires direct possession of the current token, commits an
idempotent hash-only cancellation before acknowledgement, and advertises the
subsequent Validate/Renew denial. MEX
includes atlas-authenticated-saml11-symmetric-holder-of-key only when
wsTrustProofKey is enabled. It fixes SAML 1.1, SymmetricKey, 256 bits,
dual entropy, the WS-Trust CK/PSHA1 computed-key URI, holder-of-key subject
confirmation, the current relying-party RSA certificate, and MessageID plus
request-entropy replay denial. MEX
includes atlas-active-username-mixed-issue only while both active gates are
open. It never advertises a caller-selectable proof algorithm, external token
processors, or a general token-translator STS.
The absolute endpoint values use the configured Atlas SAML/WS-Federation base URL. Production deployments must set that authority to the externally trusted HTTPS origin before activating applications.
Request a token with an Atlas bearer session
Send SOAP 1.2 with Content-Type: application/soap+xml, the live Atlas bearer
token in Authorization, and a single WS-Trust 1.3 request:
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<s:Header>
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</wsa:Action>
<wsa:MessageID>urn:uuid:2a615b4d-fb83-4afe-a626-40b47f220251</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-mission/trust/13</wsa:To>
</s:Header>
<s:Body>
<wst:RequestSecurityToken Context="mission-request-42">
<wst:TokenType>urn:oasis:names:tc:SAML:2.0:assertion</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType>
<wsp:AppliesTo>
<wsa:EndpointReference>
<wsa:Address>urn:mission:service</wsa:Address>
</wsa:EndpointReference>
</wsp:AppliesTo>
<wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Bearer</wst:KeyType>
</wst:RequestSecurityToken>
</s:Body>
</s:Envelope>
Atlas accepts at most 64 KiB and an opaque Context of at most 2048 bytes.
Action, To, RequestType, KeyType, TokenType, and AppliesTo must
exactly match the advertised profile and registered application. Duplicate,
unknown, DTD, entity, mismatched, or oversized input fails closed.
On success Atlas returns a SOAP 1.2 WS-Trust 1.3
RequestSecurityTokenResponseCollection. The response preserves Context,
relates to the optional request MessageID, and contains the configured signed
token. A relying party must validate the signature with the MEX certificate,
the exact issuer and audience, and the token lifetime before using it.
Request a SAML 1.1 holder-of-key token
Send SOAP 1.2 to the exact /trust/proof13 endpoint with a live Atlas bearer
token. The profile accepts one absolute, single-use MessageID, the exact
registered audience, SymmetricKey, a 256-bit KeySize, and exactly 32 bytes
of canonical base64 requestor entropy:
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
<s:Header>
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</wsa:Action>
<wsa:MessageID>urn:uuid:0b3a88ef-4b30-42dc-a525-4ea570465db8</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-proof/trust/proof13</wsa:To>
</s:Header>
<s:Body>
<wst:RequestSecurityToken Context="mission-proof-42">
<wst:TokenType>urn:oasis:names:tc:SAML:1.0:assertion</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Issue</wst:RequestType>
<wsp:AppliesTo>
<wsa:EndpointReference>
<wsa:Address>urn:mission:proof-service</wsa:Address>
</wsa:EndpointReference>
</wsp:AppliesTo>
<wst:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</wst:KeyType>
<wst:KeySize>256</wst:KeySize>
<wst:Entropy>
<wst:BinarySecret Type="http://docs.oasis-open.org/ws-sx/ws-trust/200512/Nonce">AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8=</wst:BinarySecret>
</wst:Entropy>
</wst:RequestSecurityToken>
</s:Body>
</s:Envelope>
Atlas generates a fresh 32-byte issuer entropy value. Client and Atlas derive
the same 32-byte key as P_SHA1(requestor-entropy, issuer-entropy), the
computed-key algorithm fixed by WS-Trust 1.3. The RSTR returns the issuer
entropy and .../CK/PSHA1; it never returns the derived key in plaintext. The
signed SAML 1.1 assertion uses holder-of-key subject confirmation and carries
an EncryptedKey wrapped to the current registered relying-party certificate
with RSA-OAEP-SHA256. The relying party verifies the assertion signature,
decrypts that key, and requires application-protocol proof of possession.
Atlas commits the transaction before returning the RSTR. The append-only
PostgreSQL record contains domain-separated SHA-256 hashes of MessageID,
request and response entropy, proof key, assertion ID, subject, session, and
evidence, but no raw entropy, key, token, or subject. Reusing either MessageID
or requestor entropy fails, including after gateway restart or authority
reconstruction. A request for Bearer, another key size, caller-selected
algorithm, UseKey, Lifetime, or Claims is rejected; there is no silent
fallback from holder-of-key to bearer.
P_SHA1 is retained solely because the WS-Trust 1.3 computed-key contract
defines it. Atlas uses RSA-SHA256/XML-SHA256 for the assertion and
RSA-OAEP-SHA256 for proof-key transport.
Validate an Atlas-issued application token
Send SOAP 1.2 to the exact /trust/validate13 endpoint with the live Atlas
bearer token in Authorization. The request must ask only for a WS-Trust
status response and carry exactly one token directly in ValidateTarget:
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<s:Header>
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate</wsa:Action>
<wsa:MessageID>urn:uuid:91dd8f2e-7ce2-4ee7-9eb0-f3ec22e3a49b</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-mission/trust/validate13</wsa:To>
</s:Header>
<s:Body>
<wst:RequestSecurityToken Context="mission-validation-42">
<wst:TokenType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/Status</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Validate</wst:RequestType>
<wst:ValidateTarget>
<!-- One Atlas-issued SAML assertion or JWT BinarySecurityToken. -->
</wst:ValidateTarget>
</wst:RequestSecurityToken>
</s:Body>
</s:Envelope>
Atlas verifies the configured profile with the application's current or
retiring public signing certificate and exact issuer, audience, lifetime, and
recipient where the token profile defines one. A valid target receives
.../status/valid; a bad signature, wrong application, wrong issuer or
audience, or expired token receives .../status/invalid. Both are HTTP 200
WS-Trust responses with a generic reason, so the endpoint does not disclose
which verification check failed. A malformed request remains an HTTP error.
Validation is repeatable and does not consume the token. It also does not
create a session, grant access, translate the token, or return a replacement
token. valid means the token's cryptography and registered application
contract are valid at evaluation time; it is not a statement that the
originating Atlas session remains active and is never an authorization grant.
The caller still passes the application's normal assignment, RBAC/ABAC,
AAL, freshness, TrustAI, rate-limit, and governed hub-route checks before Atlas
will perform validation. The SAML 1.1 and JWT paths are retained in the
independent TLS Docker proof; SAML 2.0 is covered by the same verifier and
focused signature, audience, key, lifetime, and repeatability tests.
Produce the configured target token from a managed provider token
Use the same /trust/validate13 endpoint and Validate action, but set the
request TokenType to the exact target token type advertised by the
atlas-federated-token-producing-validate MEX profile. Place exactly one
source-provider token directly in ValidateTarget:
<wst:RequestSecurityToken Context="managed-exchange-42"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<wst:TokenType>urn:oasis:names:tc:SAML:2.0:assertion</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Validate</wst:RequestType>
<wst:ValidateTarget>
<!-- One token signed by the exact provider bound to this Atlas session. -->
</wst:ValidateTarget>
</wst:RequestSecurityToken>
On success the RSTR carries both the required standard .../status/valid
status and a freshly minted RequestedSecurityToken for the URL-selected
application. The output token is not a modified copy of the source token. It
uses the target application's configured SAML 1.1, SAML 2.0, or JWT profile,
issuer, audience, recipient, lifetime, release mapping, and signing authority.
An invalid, replayed, wrong-provider, wrong-subject, stale, or generation-
drifted source returns only the standard .../status/invalid response, without
a target token or verification detail. A missing provider-bound session or
denied route/policy is forbidden. Unavailable managed trust, replay, signing,
or policy authority returns service unavailable and no token. A successfully
accepted source token is claimed exactly once; clients must not retry that
source token after an indeterminate transport outcome.
The resulting token remains only an authentication assertion for the target. It cannot create application assignment or authorization, and the hub route is restriction-only.
Renew an Atlas-issued application token
Send SOAP 1.2 to the exact /trust/renew13 endpoint with a live Atlas bearer
token in Authorization. The request must carry exactly one current
Atlas-issued token directly in RenewTarget:
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<s:Header>
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Renew</wsa:Action>
<wsa:MessageID>urn:uuid:7d2955aa-25e5-4981-a67d-0fa7a3a0be49</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-mission/trust/renew13</wsa:To>
</s:Header>
<s:Body>
<wst:RequestSecurityToken Context="mission-renew-42">
<wst:TokenType>urn:oasis:names:tc:SAML:1.0:assertion</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Renew</wst:RequestType>
<wst:RenewTarget>
<!-- One current Atlas-issued token for this exact application. -->
</wst:RenewTarget>
</wst:RequestSecurityToken>
</s:Body>
</s:Envelope>
Atlas verifies the current or retiring application signing certificate, exact
issuer, audience, recipient where applicable, token type, and unexpired source
lifetime. The signed source subject must equal the current subject mapped for
the authenticated caller and URL-selected application. Atlas then re-runs the
ordinary assignment, application policy, hub-route, assurance, TrustAI, and
rate-limit path and derives the replacement lifetime from the application's
current maxSessionLifetimeMinutes policy.
Each source token can be accepted once. A serializable PostgreSQL reservation is written before minting, and the replacement ID and expiration are committed before delivery. The append-only lineage contains only domain-separated hashes for the source token ID, replacement token ID, and subject/session plus transaction/evidence identifiers and timestamps. A replacement can itself be renewed, producing an explicit parent transaction link. Raw tokens and raw subjects are never stored in the renewal table. If reservation, issuance, verification, or completion cannot be proven, Atlas returns no replacement.
The request intentionally cannot select Lifetime, Claims, proof keys, a
different application, subject, token profile, or trust value. Clients must
not retry the same source token after an indeterminate transport result.
Cancel an Atlas-issued application token
Send SOAP 1.2 to the exact /trust/cancel13 endpoint with a live Atlas bearer
token in Authorization. The request must carry exactly one signed, unexpired
current Atlas-issued token directly in CancelTarget:
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wst="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
<s:Header>
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel</wsa:Action>
<wsa:MessageID>urn:uuid:4f0cf649-df63-4942-9615-4c31c608ec87</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-mission/trust/cancel13</wsa:To>
</s:Header>
<s:Body>
<wst:RequestSecurityToken Context="mission-cancel-42">
<wst:TokenType>urn:oasis:names:tc:SAML:1.0:assertion</wst:TokenType>
<wst:RequestType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/Cancel</wst:RequestType>
<wst:CancelTarget>
<!-- One current Atlas-issued token for this exact application. -->
</wst:CancelTarget>
</wst:RequestSecurityToken>
</s:Body>
</s:Envelope>
Atlas verifies the current or retiring application signing certificate, exact issuer, audience, recipient where applicable, token type, unexpired lifetime, and signed subject. The subject must equal the current application subject of the authenticated bearer. Normal assignment, application policy, hub-route, assurance, TrustAI, and rate-limit checks prove authorized use; possession of the target token alone is insufficient.
Before acknowledgement, Atlas commits one append-only PostgreSQL row keyed by
domain-separated hashes of the tenant, application, token ID, subject,
session, and evidence. Raw tokens and raw subjects are not retained. Repeating
the exact authorized request is idempotent and returns the same standard
RequestedTokenCancelled success shape without adding a second record. The
durable cancellation survives gateway or authority reconstruction. Subsequent
status Validate returns only the generic invalid status, and Renew denies the
cancelled source. Validate deliberately does not disclose that cancellation
was the failed check.
Lifetime, Claims, proof-key material, token references, multiple targets,
third-party subjects, and caller-selected applications are rejected. The
bounded profile therefore cannot be used as a general token-revocation broker.
Request an active UsernameMixed token
Send the same exact WS-Trust Issue body to /trust/active13, without an HTTP
Authorization header. The SOAP header must contain exactly one WS-Security
UsernameToken with PasswordText, a namespaced wsu:Id, and a fresh Timestamp:
<s:Header
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsa:Action>http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</wsa:Action>
<wsa:MessageID>urn:uuid:47fbc1d1-481f-4ed8-b03a-ef2400795664</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:To>https://atlas.example.mil/api/v1/sso/wsfed/app-mission/trust/active13</wsa:To>
<wsse:Security>
<wsse:UsernameToken wsu:Id="username-token-47fbc1d1">
<wsse:Username>operator@example.mil</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">REDACTED</wsse:Password>
</wsse:UsernameToken>
<wsu:Timestamp>
<wsu:Created>2026-08-15T17:00:00Z</wsu:Created>
<wsu:Expires>2026-08-15T17:05:00Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</s:Header>
The body must select the exact MEX-advertised token type and audience, Bearer
KeyType, and Issue RequestType. Timestamp validity may not exceed five
minutes; Atlas permits at most one minute of future clock skew. MessageID and
UsernameToken ID are mandatory and jointly replay-protected in encrypted Redis
for ten minutes. Passwords are stripped before the issue handler and are never
included in the application transaction or MEX response.
Atlas authenticates the credential through the ordinary password path. If the result requires MFA, authenticator enrollment, bot interaction, or a password change, active sign-in returns a SOAP Fault; it never bypasses or simulates the interactive step. A successful password ceremony creates a normal short-lived Atlas session so the existing application controls can run. Atlas then commits durable revocation and cache/JTI denial for that temporary session before it releases the SOAP token response. If closure cannot be proven, no token is returned.
Authorization and federation behavior
The HTTP bearer or accepted UsernameToken is only the authentication boundary. Issuance independently re-applies:
- active application state and explicit WS-Trust opt-in;
- subject and group assignment;
- application RBAC/ABAC and TrustAI policy;
- server-validated AAL and authentication freshness;
- claim-release and session-lifetime limits;
- principal, organization, and application-intent rate limits; and
- an explicit active restriction-only federation-hub route when the Atlas session originated at a managed upstream provider.
The hub route cannot grant access or weaken any local decision. An unlisted target is denied before token issuance.
Deliberate boundaries
Atlas does not currently implement or claim:
- third-party or reference-based cancellation, or arbitrary/caller-directed renewal;
- token-producing
Validatefor caller-selected providers, arbitrary external trust, opaque tokens, bare direct-SAML assertions, or ambient/batch exchange; OAuth 2.0 Token Exchange; element-encrypted source-token validation; or validation against a caller-supplied trust set; - asymmetric proof keys, caller-selected proof algorithms,
UseKey, or proof keys outside the separate SAML 1.1 symmetric 256-bit dual-entropy profile; - arbitrary
Claimsrequests or general many-to-many token translation; - X.509, Kerberos, or arbitrary SAML/JWT/OAuth token processors (the bounded OIDC processor accepts only the encrypted-session ID token in the exact typed Base64 carrier, and the direct-SAML processor accepts only a fresh full signed SAML 1.1 Response from the provider bound to the Atlas session);
- PasswordDigest, Windows transport, certificate-mixed, acceptance by a named WIF-generated client, or vendor-specific SOAP Fault behavior; or
- interoperability acceptance with Okta, PingFederate, AD FS, Microsoft 365, Windows Azure Pack, or another named product.
The retained Docker artifact at
artifacts/federation-hub-validation/20260816T042735Z uses independent TLS
SOAP client to discover the MEX profiles and parse the embedded and direct
WSDL 1.1 contracts. It verifies exact SOAP 1.2 endpoints and actions, attached
HTTPS transport policy, omission of disabled ports, bearer-session Issue and
the active UsernameMixed SAML 2.0 signature and exact AppliesTo; issues and
repeatedly validates Atlas SAML 1.1 and JWT tokens; observes the standard
invalid status for tampering and a token presented to the wrong application;
rejects an unconfigured token-producing Validate request without disclosing
verification detail; rejects an unsupported key type, wrong password, replay,
and an outside source; observes federation-hub denial for an unlisted target;
and proves that the active flow's temporary Atlas session is durably revoked
and its JWT rejected. The same TLS client discovers the separately opted-in
managed-provider profile and validates three exact source paths: the retained
OIDC ID token against current RP/JWKS state, a fresh full signed direct SAML 1.1
Response against current provider trust, and an independently signed
WS-Federation SAML 2.0 token. Each path enforces the provider generation,
protocol, subject continuity, one-time source use, explicit restriction-only
hub route, and normal local policy before the client independently verifies the
freshly signed SAML 1.1 target. Replay, protocol drift, and wrong-subject source
tokens return only invalid Status. Focused tests additionally cover SAML 1.1,
SAML 2.0, and JWT WS-Federation source verification and provider-generation
drift. The same client discovers the separately opted-in Renew port, replaces
a five-minute current SAML 1.1 token with a policy-derived token, independently
verifies its signature, denies source replay, reconstructs the PostgreSQL
renewal authority, renews the first replacement under updated current policy,
and verifies two hash-only rows with an explicit parent link and no raw subject
custody. It then discovers the separately opted-in Cancel port, proves the
renewed token valid before cancellation, receives RequestedTokenCancelled,
reconstructs the PostgreSQL cancellation authority, acknowledges an identical
Cancel idempotently with one retained hash-only row, receives generic invalid
status from Validate, and observes Renew denial. Direct update and deletion of
the cancellation record are rejected by the append-only database guard. The
same client then discovers the separately opted-in proof-key port, contributes
256 bits of requestor entropy, derives the exact OASIS P_SHA1 result from the
returned issuer entropy, verifies the signed SAML 1.1 holder-of-key assertion,
and decrypts the same key from RSA-OAEP-SHA256 with the independent relying-
party private key. That relying party accepts an application request only with
the correct key and fresh nonce. Wrong key, application nonce replay, bearer
downgrade, MessageID replay, and request-entropy replay fail. PostgreSQL retains
one append-only hash-only issuance record and preserves replay denial after
authority reconstruction. The artifact remains a single-host local protocol
fixture, not named-product interoperability proof.
Run the bounded cancellation acceptance gate with:
./scripts/validation/validate-wstrust-cancel.py
FED-ACC-007 is retained at
artifacts/federation-external-acceptance/latest/wstrust-cancel.json. The
receipt binds the focused parser/runtime tests, the 17 required live Docker and
PostgreSQL checks, the independently verified fixture manifest, and hashes of
the implementation and operator documentation.
Run the bounded proof-key acceptance gate with:
./scripts/validation/validate-wstrust-proof-key.py
FED-ACC-008 is retained at
artifacts/federation-external-acceptance/latest/wstrust-proof-key.json. The
receipt binds the exact parser and P_SHA1 vector, holder-of-key signature and
key-wrapping tests, 20 required live Docker/PostgreSQL checks, the independently
verified fixture manifest, and hashes of the implementation and this operator
contract. It does not claim asymmetric proof keys, caller-selected algorithms,
named WIF-client acceptance, or named-vendor interoperability.