Class AutoTGTKrb5LoginModule
java.lang.Object
org.apache.storm.security.auth.kerberos.AutoTGTKrb5LoginModule
- All Implemented Interfaces:
LoginModule
- Direct Known Subclasses:
AutoTGTKrb5LoginModuleTest
Custom LoginModule to enable Auto Login based on cached ticket.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
kerbTicket
-
-
Constructor Details
-
AutoTGTKrb5LoginModule
public AutoTGTKrb5LoginModule()
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initialize
in interfaceLoginModule
-
login
- Specified by:
login
in interfaceLoginModule
- Throws:
LoginException
-
getKerbTicketFromCache
protected void getKerbTicketFromCache() -
getKerbTicketClient
-
commit
- Specified by:
commit
in interfaceLoginModule
- Throws:
LoginException
-
abort
- Specified by:
abort
in interfaceLoginModule
- Throws:
LoginException
-
logout
- Specified by:
logout
in interfaceLoginModule
- Throws:
LoginException
-