public class CelleryCellStsService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static AuthorizationService |
AUTHORIZATION_SERVICE |
protected static String |
BEARER_HEADER_VALUE_PREFIX |
protected UserContextStore |
localContextStore |
protected static CellSTSRequestValidator |
REQUEST_VALIDATOR |
protected UserContextStore |
userContextStore |
| Constructor and Description |
|---|
CelleryCellStsService(UserContextStore contextStore,
UserContextStore localContextStore) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attachToken(CellStsRequest cellStsRequest,
CellStsResponse cellStsResponse) |
protected String |
getTokenFromLocalSTS(String audience,
String destination) |
protected String |
getTokenFromLocalSTS(String jwt,
String audience,
String destination) |
protected String |
getUserContextJwt(CellStsRequest cellStsRequest) |
void |
handleInboundRequest(CellStsRequest cellStsRequest,
CellStsResponse cellStsResponse) |
void |
handleOutboundRequest(CellStsRequest cellStsRequest,
CellStsResponse cellStsResponse) |
protected com.nimbusds.jwt.JWTClaimsSet |
handleRequestToMicroGW(CellStsRequest cellStsRequest,
String requestId,
String jwt) |
protected static final String BEARER_HEADER_VALUE_PREFIX
protected static final CellSTSRequestValidator REQUEST_VALIDATOR
protected static final AuthorizationService AUTHORIZATION_SERVICE
protected UserContextStore userContextStore
protected UserContextStore localContextStore
public CelleryCellStsService(UserContextStore contextStore, UserContextStore localContextStore) throws CelleryCellSTSException
CelleryCellSTSExceptionpublic void handleInboundRequest(CellStsRequest cellStsRequest, CellStsResponse cellStsResponse) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected com.nimbusds.jwt.JWTClaimsSet handleRequestToMicroGW(CellStsRequest cellStsRequest, String requestId, String jwt) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected String getUserContextJwt(CellStsRequest cellStsRequest)
public void handleOutboundRequest(CellStsRequest cellStsRequest, CellStsResponse cellStsResponse) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected void attachToken(CellStsRequest cellStsRequest, CellStsResponse cellStsResponse) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected String getTokenFromLocalSTS(String audience, String destination) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected String getTokenFromLocalSTS(String jwt, String audience, String destination) throws CelleryCellSTSException
CelleryCellSTSExceptionCopyright © 2019 WSO2. All rights reserved.