public class SelfContainedTokenValidator extends Object implements TokenValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
KNATIVE_ACTIVATOR_WORKLOAD_REGEX |
| Constructor and Description |
|---|
SelfContainedTokenValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validateToken(String token,
CellStsRequest cellStsRequest)
Validates a self contained access security.
|
public static final String KNATIVE_ACTIVATOR_WORKLOAD_REGEX
public void validateToken(String token, CellStsRequest cellStsRequest) throws TokenValidationFailureException
validateToken in interface TokenValidatortoken - Incoming security. JWT to be validated.cellStsRequest - Request which reaches cell STS.TokenValidationFailureException - TokenValidationFailureException.Copyright © 2019 WSO2. All rights reserved.