From 0444f63a071db00f01bcefec3bfe2c73985ed0ba Mon Sep 17 00:00:00 2001 From: ayyoob Date: Tue, 18 Apr 2017 10:13:58 +0530 Subject: [PATCH] renamed method name --- .../framework/authenticator/BasicAuthAuthenticator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/BasicAuthAuthenticator.java b/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/BasicAuthAuthenticator.java index 0dfc9c5d704..f384efe6f52 100644 --- a/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/BasicAuthAuthenticator.java +++ b/components/webapp-authenticator-framework/org.wso2.carbon.webapp.authenticator.framework/src/main/java/org/wso2/carbon/webapp/authenticator/framework/authenticator/BasicAuthAuthenticator.java @@ -49,7 +49,7 @@ public class BasicAuthAuthenticator implements WebappAuthenticator { @Override public boolean canHandle(Request request) { - if (!isSupportsAuthentication(request)) { + if (!isAuthenticationSupported(request)) { return false; } MessageBytes authorization = @@ -159,7 +159,7 @@ public class BasicAuthAuthenticator implements WebappAuthenticator { } } - private boolean isSupportsAuthentication(Request request) { + private boolean isAuthenticationSupported(Request request) { String param = request.getContext().findParameter("basicAuth"); return (param == null || !Boolean.parseBoolean(param)); }