try {
String[] autoLogins = PropsUtil.getArray(
PropsUtil.AUTO_LOGIN_HOOKS);
for (int i = 0; i < autoLogins.length; i++) {
AutoLogin autoLogin =
(AutoLogin)InstancePool.get(autoLogins[i]);
String[] credentials = autoLogin.login(req, res);
if ((credentials != null) && (credentials.length == 3)) {
String jUsername = credentials[0];
String jPassword = credentials[1];
boolean encPwd = GetterUtil.getBoolean(credentials[2]);