Package de.mhus.lib.core.security
Class LoginCallbackHandler
- java.lang.Object
-
- de.mhus.lib.core.security.LoginCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class LoginCallbackHandler extends Object implements CallbackHandler
-
-
Constructor Summary
Constructors Constructor Description LoginCallbackHandler()LoginCallbackHandler(String password)LoginCallbackHandler(String name, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Callback[] callbacks)Handles the callbacks, and sets the user/password detail.
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
Handles the callbacks, and sets the user/password detail.- Specified by:
handlein interfaceCallbackHandler- Parameters:
callbacks- the callbacks to handle- Throws:
IOException- if an input or output error occurs.UnsupportedCallbackException
-
-