Constructor and Description |
---|
KerberosLoginProvider(Configuration configuration) |
KerberosLoginProvider(SecurityConfiguration securityConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
doLogin()
Does kerberos login and sets current user.
|
org.apache.hadoop.security.UserGroupInformation |
doLoginAndReturnUGI()
Does kerberos login and doesn't set current user, just returns a new UGI instance.
|
boolean |
isLoginPossible() |
public KerberosLoginProvider(Configuration configuration)
public KerberosLoginProvider(SecurityConfiguration securityConfiguration)
public boolean isLoginPossible() throws IOException
IOException
public void doLogin() throws IOException
IOException
public org.apache.hadoop.security.UserGroupInformation doLoginAndReturnUGI() throws IOException
IOException
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.