public class AutoTGTKrb5LoginModule extends Object implements LoginModule
Modifier and Type | Field and Description |
---|---|
protected KerberosTicket |
kerbTicket |
Constructor and Description |
---|
AutoTGTKrb5LoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
boolean |
commit() |
protected Principal |
getKerbTicketClient() |
protected void |
getKerbTicketFromCache() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
protected KerberosTicket kerbTicket
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
protected void getKerbTicketFromCache()
protected Principal getKerbTicketClient()
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Copyright © 2023 The Apache Software Foundation. All rights reserved.