{
private AuthenticationRequest authRequest;
public void handle(final Callback[] callbacks) throws IOException, UnsupportedCallbackException
{
final UserPassCallbackHandler userPassHandler = new UserPassCallbackHandler(authRequest, false);
userPassHandler.handle(callbacks);
final JBossSTSTokenCallbackHandler tokenHandler = new JBossSTSTokenCallbackHandler(authRequest);
tokenHandler.handle(callbacks);
}