UserInfo
- a type for authenticated user info objectpublic final class BasicAuthHttpServiceFilter<UserInfo> extends java.lang.Object implements StreamingHttpServiceFilterFactory, HttpExecutionStrategyInfluencer
StreamingHttpServiceFilter
, which filters HTTP requests using
RFC7617: The 'Basic' HTTP Authentication Scheme.BasicAuthHttpServiceFilter.Builder
Modifier and Type | Class and Description |
---|---|
static class |
BasicAuthHttpServiceFilter.Builder<UserInfo>
A builder for an
StreamingHttpServiceFilter , which filters HTTP requests using RFC7617: The 'Basic' HTTP Authentication Scheme. |
static interface |
BasicAuthHttpServiceFilter.CredentialsVerifier<UserInfo>
Verifies
user-id and password , parsed from the 'Basic' HTTP Authentication Scheme credentials. |
Modifier and Type | Method and Description |
---|---|
StreamingHttpServiceFilter |
create(StreamingHttpService service)
Create a
StreamingHttpServiceFilter using the provided StreamingHttpService . |
HttpExecutionStrategy |
influenceStrategy(HttpExecutionStrategy strategy)
Optionally modify the passed
HttpExecutionStrategy to a new HttpExecutionStrategy that suits
this HttpExecutionStrategyInfluencer . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append
defaultStreamingInfluencer
public StreamingHttpServiceFilter create(StreamingHttpService service)
StreamingHttpServiceFilterFactory
StreamingHttpServiceFilter
using the provided StreamingHttpService
.create
in interface StreamingHttpServiceFilterFactory
service
- StreamingHttpService
to filterStreamingHttpServiceFilter
using the provided StreamingHttpService
.public HttpExecutionStrategy influenceStrategy(HttpExecutionStrategy strategy)
HttpExecutionStrategyInfluencer
HttpExecutionStrategy
to a new HttpExecutionStrategy
that suits
this HttpExecutionStrategyInfluencer
.influenceStrategy
in interface HttpExecutionStrategyInfluencer
strategy
- HttpExecutionStrategy
to influence.HttpExecutionStrategy
that suits this HttpExecutionStrategyInfluencer