Example usage for Java org.apache.hadoop.security SecurityUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
String | HOSTNAME_PATTERN |
String | FAILED_TO_GET_UGI_MSG_HEADER |
Text | buildTokenService(InetSocketAddress addr) Construct the service key for a token |
Text | buildTokenService(URI uri) Construct the service key for a token |
AuthenticationMethod | getAuthenticationMethod(Configuration conf) |
InetAddress | getByName(String hostname) Resolves a host subject to the security requirements determined by hadoop.security.token.service.use_ip. |
String | getServerPrincipal(String principalConfig, String hostname) Convert Kerberos principal name pattern to valid Kerberos principal names. |
String | getServerPrincipal(String principalConfig, InetAddress addr) Convert Kerberos principal name pattern to valid Kerberos principal names. |
InetSocketAddress | getTokenServiceAddr(Token> token) Decode the given token's service field into an InetAddress |
void | login(final Configuration conf, final String keytabFileKey, final String userNameKey, String hostname) Login as a principal specified in config. |
void | login(final Configuration conf, final String keytabFileKey, final String userNameKey) Login as a principal specified in config. |
void | setAuthenticationMethod(AuthenticationMethod authenticationMethod, Configuration conf) |
void | setTokenService(Token> token, InetSocketAddress addr) Set the given token's service to the format expected by the RPC client |