public class CelleryCellStsService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AUTHORIZATION_HEADER_NAME |
protected static AuthorizationService |
AUTHORIZATION_SERVICE |
protected static String |
BEARER_HEADER_VALUE_PREFIX |
protected static String |
CELLERY_AUTH_SUBJECT_CLAIMS_HEADER |
protected UserContextStore |
localContextStore |
protected static CellSTSRequestValidator |
REQUEST_VALIDATOR |
protected static TokenValidator |
TOKEN_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) |
protected String |
getTokenFromLocalSTS(String jwt,
String audience) |
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 CELLERY_AUTH_SUBJECT_CLAIMS_HEADER
protected static final String AUTHORIZATION_HEADER_NAME
protected static final String BEARER_HEADER_VALUE_PREFIX
protected static final TokenValidator TOKEN_VALIDATOR
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) throws CelleryCellSTSException
CelleryCellSTSExceptionprotected String getTokenFromLocalSTS(String jwt, String audience) throws CelleryCellSTSException
CelleryCellSTSExceptionCopyright © 2019 WSO2. All rights reserved.