I just tried something that seems to work, but am not sure. In my server login module, I pass a NameCallback and and ObjectCallback to the callback handler to get the client-side login information.
is this correct?
Its up to the login module to obtain whatever credentials it needs by passing a Callback to the CallbackHandler provided to its init method, so yes, this is the correct way to obtain a username and password.
Thanks for the answer. Much appreciated!