Code Fixing

revert-70aa11f8
Kamidu Sachith 9 years ago
parent 824f57b5d2
commit a66949c7e0

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

Loading…
Cancel
Save