public abstract class CelleryCellInterceptorService
extends io.envoyproxy.envoy.service.auth.v2.AuthorizationGrpc.AuthorizationImplBase
Inbound calls are intercepted to inject user attributes are headers to be consumed by services within the cell. Outbound calls are intercepted to inject authorization security required for authentication.
| Modifier and Type | Field and Description |
|---|---|
protected CelleryCellStsService |
cellStsService |
| Constructor and Description |
|---|
CelleryCellInterceptorService(CelleryCellStsService cellStsService) |
| Modifier and Type | Method and Description |
|---|---|
protected CellStsRequest |
buildCellStsRequest(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy) |
void |
check(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy,
io.grpc.stub.StreamObserver<io.envoyproxy.envoy.service.auth.v2.CheckResponse> responseObserver) |
protected CellStsRequest.CellStsRequestBuilder |
getCellStsRequestBuilder(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy) |
protected abstract void |
handleRequest(CellStsRequest cellStsRequest,
CellStsResponse cellStsResponse) |
protected CelleryCellStsService cellStsService
public CelleryCellInterceptorService(CelleryCellStsService cellStsService) throws CelleryCellSTSException
CelleryCellSTSExceptionpublic final void check(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy,
io.grpc.stub.StreamObserver<io.envoyproxy.envoy.service.auth.v2.CheckResponse> responseObserver)
check in class io.envoyproxy.envoy.service.auth.v2.AuthorizationGrpc.AuthorizationImplBaseprotected abstract void handleRequest(CellStsRequest cellStsRequest, CellStsResponse cellStsResponse) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected CellStsRequest buildCellStsRequest(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected CellStsRequest.CellStsRequestBuilder getCellStsRequestBuilder(io.envoyproxy.envoy.service.auth.v2.CheckRequest requestFromProxy) throws CelleryCellSTSException
CelleryCellSTSExceptionCopyright © 2019 WSO2. All rights reserved.