Romoving Temporary Solutions

revert-70aa11f8
Kamidu Sachith 9 years ago
parent 743f394fb9
commit fe355b3184

@ -84,10 +84,9 @@ public class OAuthAuthenticator implements WebappAuthenticator {
return Status.CONTINUE; return Status.CONTINUE;
} }
String apiVersion = tokenizer.nextToken(); String apiVersion = tokenizer.nextToken();
String authLevel = "any"; String authLevel = authenticator.getResourceAuthenticationScheme(context, apiVersion,
// String authLevel = authenticator.getResourceAuthenticationScheme(context, apiVersion, requestUri,
// requestUri, requestMethod);
// requestMethod);
try { try {
if (Constants.NO_MATCHING_AUTH_SCHEME.equals(authLevel)) { if (Constants.NO_MATCHING_AUTH_SCHEME.equals(authLevel)) {
AuthenticationFrameworkUtil AuthenticationFrameworkUtil

Loading…
Cancel
Save