public static class Krb5TokenUtils.LoginCallbackHandler extends Object implements CallbackHandler
Constructor and Description |
---|
LoginCallbackHandler() |
LoginCallbackHandler(String password) |
LoginCallbackHandler(String name,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Handles the callbacks, and sets the user/password detail.
|
public LoginCallbackHandler()
public LoginCallbackHandler(String password)
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
callbacks
- the callbacks to handleIOException
- if an input or output error occurs.UnsupportedCallbackException
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.