Interface TransportSubjectBuilder
public interface TransportSubjectBuilder
Builds a Subject based on information available at the transport layer,
before any requests have been received from the client.
A TransportSubjectBuilder instance is constructed by a TransportSubjectBuilderService,
which in turn is specified on a virtual cluster.
See SaslSubjectBuilder for a similar interface use for building a Subject based on SASL authentication.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns an asynchronous result which completes with theSubjectbuilt from the givencontext.
-
Method Details
-
buildTransportSubject
Returns an asynchronous result which completes with theSubjectbuilt from the givencontext.- Parameters:
context- The context of the connection.- Returns:
- The Subject. The returned stage should fail with an
SubjectBuildingExceptionif the builder was not able to build a subject.
-