public class KerberosPasswordUser extends AbstractKerberosUser
Modifier and Type | Class and Description |
---|---|
private static class |
KerberosPasswordUser.PasswordConfig
JAAS Configuration to use when logging in with username/password.
|
private static class |
KerberosPasswordUser.UsernamePasswordCallbackHandler
CallbackHandler that provides the given username and password.
|
Modifier and Type | Field and Description |
---|---|
private String |
password |
DATE_FORMAT, loggedIn, loginContext, principal, subject, TICKET_RENEW_WINDOW
Constructor and Description |
---|
KerberosPasswordUser(String principal,
String password) |
Modifier and Type | Method and Description |
---|---|
protected LoginContext |
createLoginContext(Subject subject) |
checkTGTAndRelogin, doAs, doAs, getPrincipal, getSubject, isLoggedIn, login, logout
private final String password
protected LoginContext createLoginContext(Subject subject) throws LoginException
createLoginContext
in class AbstractKerberosUser
LoginException
Copyright © 2019 Apache NiFi Project. All rights reserved.