.getService(sr);
if (pa == null) {
log.warn("Failed to get PasswdAuthenticator service.");
telnetLogin = new TelnetLogin(false, null, userName);
} else {
PasswdSession ps = pa.createSession();
ps.setUsername(userName);
ps.setPassword(password);
ContextualAuthorization ca = null;
try {