public class AuthenticationHandlerUtil extends Object
AuthenticationHandler.| Constructor and Description |
|---|
AuthenticationHandlerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<String> |
getTypes(org.apache.hadoop.security.authentication.server.AuthenticationHandler handler)
This method returns authentication type(s) supported by a specified
AuthenticationHandler
implementation. |
public static Collection<String> getTypes(org.apache.hadoop.security.authentication.server.AuthenticationHandler handler)
AuthenticationHandler
implementation. This method is specifically designed to work with MultiSchemeAuthenticationHandler
implementation which supports multiple authentication schemes while the AuthenticationHandler
interface supports fetching a single type via AuthenticationHandler.getType() method.handler - The authentication handler whose type(s) need to be fetched.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.