Support pincipal copying in Tomcat cluster
------------------------------------------
Key: GERONIMO-5630
URL: https://issues.apache.org/jira/browse/GERONIMO-5630
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Clustering, Tomcat
Affects Versions: 3.0
Reporter: Ivan
Seems that Tomcat requires the principal extends GenericPrincipal, from
org.apache.catalina.ha.session.DeltaRequest
public void setPrincipal(Principal p) {
int action = (p==null)?ACTION_REMOVE:ACTION_SET;
SerializablePrincipal sp = null;
if ( p != null ) {
if(p instanceof GenericPrincipal) {
sp = SerializablePrincipal.createPrincipal((GenericPrincipal)p);
if(log.isDebugEnabled())
log.debug(sm.getString("deltaRequest.showPrincipal",
p.getName() , getSessionId()));
} else
log.error(sm.getString("deltaRequest.wrongPrincipalClass",p.getClass().getName()));
}
addAction(TYPE_PRINCIPAL,action,NAME_PRINCIPAL,sp);
}
http://www.mail-archive.com/[email protected]/msg14201.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.