public class KerberosLoginProvider extends Object
Constructor and Description |
---|
KerberosLoginProvider(Options options) |
KerberosLoginProvider(SecurityConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
doLogin()
Does kerberos login and sets current user.
|
static boolean |
hasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi) |
boolean |
isLoginPossible() |
static boolean |
isProxyUser(org.apache.hadoop.security.UserGroupInformation ugi) |
public KerberosLoginProvider(Options options)
public KerberosLoginProvider(SecurityConfiguration config)
public boolean isLoginPossible() throws IOException
IOException
public void doLogin() throws IOException
IOException
public static boolean isProxyUser(org.apache.hadoop.security.UserGroupInformation ugi)
public static boolean hasUserKerberosAuthMethod(org.apache.hadoop.security.UserGroupInformation ugi)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.