requested modification

This commit is contained in:
Kamidu Sachith 2015-10-12 17:57:43 +05:30
parent 831fed6d38
commit 8cc38c87f5
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -946,7 +946,6 @@
<artifactId>org.wso2.carbon.identity.application.authentication.framework</artifactId> <artifactId>org.wso2.carbon.identity.application.authentication.framework</artifactId>
<version>${carbon.identity.version}</version> <version>${carbon.identity.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.wso2.carbon.identity</groupId> <groupId>org.wso2.carbon.identity</groupId>
<artifactId>org.wso2.carbon.identity.oauth</artifactId> <artifactId>org.wso2.carbon.identity.oauth</artifactId>