Java org.apache.hadoop.security SecurityUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.security SecurityUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.security SecurityUtil.

The text is from its open source code.

Subclass

org.apache.hadoop.security.SecurityUtil has subclasses.
Click this link to see all its subclasses.

Field

Method

TextbuildTokenService(InetSocketAddress addr)
Construct the service key for a token
TextbuildTokenService(URI uri)
Construct the service key for a token
AuthenticationMethodgetAuthenticationMethod(Configuration conf)
InetAddressgetByName(String hostname)
Resolves a host subject to the security requirements determined by hadoop.security.token.service.use_ip.
StringgetServerPrincipal(String principalConfig, String hostname)
Convert Kerberos principal name pattern to valid Kerberos principal names.
StringgetServerPrincipal(String principalConfig, InetAddress addr)
Convert Kerberos principal name pattern to valid Kerberos principal names.
InetSocketAddressgetTokenServiceAddr(Token token)
Decode the given token's service field into an InetAddress
voidlogin(final Configuration conf, final String keytabFileKey, final String userNameKey, String hostname)
Login as a principal specified in config.
voidlogin(final Configuration conf, final String keytabFileKey, final String userNameKey)
Login as a principal specified in config.
voidsetAuthenticationMethod(AuthenticationMethod authenticationMethod, Configuration conf)
voidsetTokenService(Token token, InetSocketAddress addr)
Set the given token's service to the format expected by the RPC client