Skip to main content

Module security_policy

Module security_policy 

Source

Structs§

AudienceBinding
Accepted issuer and audience set for a route’s authentication.
AuthContext
Authentication context handed to a SecurityPolicy during evaluation.
Principal
Represents an authenticated principal extracted from token claims.
RouteSecurityPlan
Compiled security plan for a single server route.
SecurityPolicyConfig

Enums§

AccessMode
Access classification for a compiled route.
AuthorizationDecision
CredentialSource
Source from which a token can be extracted.
TransportId
Transport kinds that can host a server route.

Constants§

CAMEL_HTTP_QUERY_HEADER
Name of the input header camel-http uses to carry the raw HTTP query string.
PRINCIPAL_AUDIENCE_KEY
Exchange property key for the principal’s audience (JSON array).
PRINCIPAL_CLAIMS_KEY
Exchange property key for the principal’s raw claims (JSON object).
PRINCIPAL_ISSUER_KEY
Exchange property key for the principal’s issuer.
PRINCIPAL_KEY
Exchange property key for the full serialized principal.
PRINCIPAL_ROLES_KEY
Exchange property key for the principal’s roles (JSON array).
PRINCIPAL_SCOPES_KEY
Exchange property key for the principal’s scopes (JSON array).
PRINCIPAL_SUBJECT_KEY
Exchange property key for the principal’s subject.

Traits§

AuthPrincipal
Read-only view of the principal minted by the authentication path.
SecurityPolicy

Functions§

principal_from_exchange
store_principal_properties
Store all principal properties as exchange properties under well-known keys.