if (isTomcatAuthentication())
dummy=readString(ajpin, null);
else {
req.setRemoteUser( readString(ajpin, null));
// Note that roles are not integrated with apache
req.setUserPrincipal( new SimplePrincipal( req.getRemoteUser() ));
}
req.setAuthType(readString(ajpin, null));
//remote port
dummy = readString(ajpin, null);
// System.out.println("XXX rport " + dummy );