|
|
@ -69,8 +69,8 @@ public class ExternalOAuthValidator implements OAuth2TokenValidator{
|
|
|
|
headerList.add(header);
|
|
|
|
headerList.add(header);
|
|
|
|
options.setProperty(org.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS, headerList);
|
|
|
|
options.setProperty(org.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS, headerList);
|
|
|
|
client.setOptions(options);
|
|
|
|
client.setOptions(options);
|
|
|
|
OAuth2TokenValidationResponseDTO tokenValidationResponse =
|
|
|
|
OAuth2TokenValidationResponseDTO tokenValidationResponse = tokenValidationService.
|
|
|
|
tokenValidationService.findOAuthConsumerIfTokenIsValid(validationRequest).getAccessTokenValidationResponse();
|
|
|
|
findOAuthConsumerIfTokenIsValid(validationRequest).getAccessTokenValidationResponse();
|
|
|
|
boolean isValid = tokenValidationResponse.getValid();
|
|
|
|
boolean isValid = tokenValidationResponse.getValid();
|
|
|
|
String userName = null;
|
|
|
|
String userName = null;
|
|
|
|
String tenantDomain = null;
|
|
|
|
String tenantDomain = null;
|
|
|
|