@InterfaceAudience.Private public class SecurityInfo extends Object
Constructor and Description |
---|
SecurityInfo(String serverPrincipal,
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind tokenKind) |
Modifier and Type | Method and Description |
---|---|
static void |
addInfo(String serviceName,
SecurityInfo securityInfo)
Adds a security configuration for a new service name.
|
static SecurityInfo |
getInfo(String serviceName)
Returns the security configuration associated with the given service name.
|
String |
getServerPrincipal() |
org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind |
getTokenKind() |
public SecurityInfo(String serverPrincipal, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind tokenKind)
public static void addInfo(String serviceName, SecurityInfo securityInfo)
public static SecurityInfo getInfo(String serviceName)
public String getServerPrincipal()
public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind getTokenKind()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.