Code Fixing

4.x.x
Kamidu Sachith 9 years ago
parent 824f57b5d2
commit a66949c7e0

@ -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;

Loading…
Cancel
Save