From 8cc38c87f5b511443ec30cefb1d9d884899dbaa0 Mon Sep 17 00:00:00 2001 From: Kamidu Sachith Date: Mon, 12 Oct 2015 17:57:43 +0530 Subject: [PATCH] requested modification --- .../framework/authenticator/OAuthAuthenticator.java | 7 ++++--- pom.xml | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/OAuthAuthenticator.java b/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/OAuthAuthenticator.java index 3fd3027592..61867b9c9b 100644 --- a/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/OAuthAuthenticator.java +++ b/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/OAuthAuthenticator.java @@ -84,9 +84,10 @@ public class OAuthAuthenticator implements WebappAuthenticator { return Status.CONTINUE; } String apiVersion = tokenizer.nextToken(); - String authLevel = authenticator.getResourceAuthenticationScheme(context, apiVersion, - requestUri, - requestMethod); + String authLevel = "any"; +// String authLevel = authenticator.getResourceAuthenticationScheme(context, apiVersion, +// requestUri, +// requestMethod); try { if (Constants.NO_MATCHING_AUTH_SCHEME.equals(authLevel)) { AuthenticationFrameworkUtil diff --git a/pom.xml b/pom.xml index fbfa9406f0..356b788347 100644 --- a/pom.xml +++ b/pom.xml @@ -946,7 +946,6 @@ org.wso2.carbon.identity.application.authentication.framework ${carbon.identity.version} - org.wso2.carbon.identity org.wso2.carbon.identity.oauth