}
if (log.isDebugEnabled()) {
log.debug(sm.getString("jaasRealm.authenticateSuccess", username));
}
*/
JAASTomcatPrincipal jaasPrincipal = new JAASTomcatPrincipal(principalName);
jaasPrincipal.setSubject(subject);
return (jaasPrincipal);
}
else {
if (log.isDebugEnabled())