package http
High level Akka http utilities e.g. making it easier to bind and handle an HTTP port with a TLS certificate as per com.cisco.streambed.http.HttpServerConfig.
- Alphabetic
- By Inheritance
- http
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
- package identity
Utilities to integrate streambed identity with Akka HTTP identity such that we can support authentication and authorization via OAuth tokens.
Utilities to integrate streambed identity with Akka HTTP identity such that we can support authentication and authorization via OAuth tokens. A Java example of an Akka HTTP route that verifies a token, and returning the corresponding com.cisco.streambed.identity.Principal given a valid one.
pathPrefix("api", () -> authenticateOAuth2Async("secured api", identityService::verifier, principal -> route(...
Type Members
- case class HttpServerBinding(binding: ServerBinding, tls: Boolean) extends Product with Serializable
Represents an HTTP server binding
Value Members
- object HttpServerConfig
Provides a standard way for streambed applications to configure and setup Akka HTTP servers with optional HTTPS/TLS support.