tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Letélié <slete...@improve.fr>
Subject Session replication : classcastexception on principal
Date Fri, 01 Apr 2005 12:46:55 GMT
Hi,

	I use a JAASRealm in my context with mys own LoginModule to
authenticate in mys webapp. When I use the cluster for session replication,
I have a ClassCastExecption when the cluster try to serialize the Principal
object. 
	When I look in the source code
(org.apache.catalina.cluster.session.DeltaRequest.setPrincipal(), I see that
they are a cast for the specific catalina principal object :
GenericPrincipal.
	With a JAASRealm you don't use this object for principal, you
precise your own class (userClassName attribute).

	Is it a bug or is my authentication technic is not ok ?

   +
  / \ ----------------------------------------
improve Sébastien Letélié
/-----\ ----------------------------------------
 Consultant
-------------------------------------------------
Tel : 00 420 257 317 435
skype : sebmadecz
AOL : sebmade
ICQ : #336508634
MSN : sebmade@hotmail.com
-------------------------------------------------
<http://blogs.application-servers.com/blogs/page/sebmade> mon weblog,
articles et informations sur les nouvelles technologies 
<http://www.resurgences.com> solution pour les Services d'Accès aux Urgences
hospitalières
<http://www.improve-institute.com> toutes vos formations J2EE et WebSphere 
<http://www.application-servers.com> les brèves technologiques 
<http://www.improve.technologies.com> votre index thématique sur les
nouvelles technologies




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message