Package | Description |
---|---|
org.apache.hadoop.security | |
org.apache.hadoop.util |
Common utilities.
|
Modifier and Type | Method and Description |
---|---|
SaslRpcServer.AuthMethod |
UserGroupInformation.AuthenticationMethod.getAuthMethod() |
static SaslRpcServer.AuthMethod |
SaslRpcServer.AuthMethod.read(DataInput in)
Read from in
|
static SaslRpcServer.AuthMethod |
SaslRpcServer.AuthMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaslRpcServer.AuthMethod[] |
SaslRpcServer.AuthMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static UserGroupInformation |
UserGroupInformation.createRemoteUser(String user,
SaslRpcServer.AuthMethod authMethod)
Create a user from a login name.
|
void |
UserGroupInformation.setAuthenticationMethod(SaslRpcServer.AuthMethod authMethod)
Sets the authentication method in the subject
|
static UserGroupInformation.AuthenticationMethod |
UserGroupInformation.AuthenticationMethod.valueOf(SaslRpcServer.AuthMethod authMethod) |
Modifier and Type | Method and Description |
---|---|
static IpcConnectionContextProtos.IpcConnectionContextProto |
ProtoUtil.makeIpcConnectionContext(String protocol,
UserGroupInformation ugi,
SaslRpcServer.AuthMethod authMethod)
This method creates the connection context using exactly the same logic
as the old connection context as was done for writable where
the effective and real users are set based on the auth method.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.