Package waffle.jaas
Class UsernamePasswordCallbackHandler
java.lang.Object
waffle.jaas.UsernamePasswordCallbackHandler
- All Implemented Interfaces:
CallbackHandler
The Class UsernamePasswordCallbackHandler.
-
Constructor Summary
ConstructorDescriptionUsernamePasswordCallbackHandler
(String newUserName, String newPassword) Instantiates a new username password callback handler. -
Method Summary
-
Constructor Details
-
UsernamePasswordCallbackHandler
Instantiates a new username password callback handler.- Parameters:
newUserName
- the new user namenewPassword
- the new password
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-