* @throws AuthenticationProtocolException
*/
public void authenticate(AuthenticationProtocolClient authentication,
String serviceToStart) throws IOException, TerminatedStateException {
if ((getUsername() == null) || (agent == null)) {
throw new AuthenticationProtocolException(
"You must supply a username and agent");
}
// Iterate the agents keys, find an acceptable key and authenticate
Map keys = agent.listKeys();