AuthorizationHeaderCredential rename to AuthorizationHeader

This commit is contained in:
MaxKey
2023-03-07 10:05:18 +08:00
parent 6a534e9f67
commit b34063de10
7 changed files with 21 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ import javax.servlet.http.HttpServletResponse;
import org.maxkey.authn.LoginCredential;
import org.maxkey.authn.provider.AbstractAuthenticationProvider;
import org.maxkey.constants.ConstsLoginType;
import org.maxkey.util.AuthorizationHeaderCredential;
import org.maxkey.util.AuthorizationHeader;
import org.maxkey.util.AuthorizationHeaderUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -96,7 +96,7 @@ public class BasicEntryPoint implements AsyncHandlerInterceptor {
return false;
}
AuthorizationHeaderCredential headerCredential = null;
AuthorizationHeader headerCredential = null;
if(AuthorizationHeaderUtils.isBasic(basicCredential)){
headerCredential=AuthorizationHeaderUtils.resolve(basicCredential);