public final class AuthenticationFilter extends DecoratorApiProvider
decoratedProvider| Constructor and Description |
|---|
AuthenticationFilter(ApiProvider decoratedProvider,
AuthenticationConfig authnConfig,
List<AuthenticationHandler> authnHandlers) |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
getImplicitlyAnonymousOperations() |
void |
invoke(String serviceId,
String operationId,
DataValue input,
ExecutionContext ctx,
AsyncHandle<MethodResult> asyncHandle)
Invokes the specified operation using the provided input and
execution context.
|
public AuthenticationFilter(ApiProvider decoratedProvider, AuthenticationConfig authnConfig, List<AuthenticationHandler> authnHandlers)
decoratedProvider - the provider that is decorated with this
authentication filter. cannot be null.authnConfig - the authentication configuration. cannot be null.authnHandlers - a list of the authentication handlers that will
be executed during authentication events. cannot be
null.public void invoke(String serviceId, String operationId, DataValue input, ExecutionContext ctx, AsyncHandle<MethodResult> asyncHandle)
ApiProviderTarget method is identified by serviceId and
operationId.
invoke in interface ApiProviderinvoke in class DecoratorApiProviderserviceId - identifier of the target serviceoperationId - identifier of the target operationinput - operation input parametersctx - execution context for the invocationasyncHandle - handle used to asynchronously "return" the result
or error of the invocationCopyright © 2023. All rights reserved.