public final class AuthenticationHandlerUtil extends Object
AuthenticationHandler.| Modifier and Type | Method and Description | 
|---|---|
| static String | checkAuthScheme(String scheme)This method checks if the specified HTTP authentication  schemevalue is valid. | 
| static String | getAuthenticationHandlerClassName(String authHandler)This method provides an instance of  AuthenticationHandlerbased on
 specifiedauthHandlerName. | 
| static boolean | matchAuthScheme(String scheme,
               String auth)This method checks if the specified  authTokenbelongs to the
 specified HTTP authenticationscheme. | 
public static String getAuthenticationHandlerClassName(String authHandler)
AuthenticationHandler based on
 specified authHandlerName.authHandler - The short-name (or fully qualified class name) of the
          authentication handler.public static String checkAuthScheme(String scheme)
scheme
 value is valid.scheme - HTTP authentication scheme to be checkedIllegalArgumentException - In case the specified value is not a valid
           HTTP authentication scheme.public static boolean matchAuthScheme(String scheme, String auth)
authToken belongs to the
 specified HTTP authentication scheme.scheme - HTTP authentication scheme to be checkedauth - Authentication header value which is to be compared with the
          authentication scheme.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.