That's fine, the security context of a call is stateless.

----- Original Message -----
From: "Jules Gosnell" <[EMAIL PROTECTED]>
To: "Ignacio Coloma" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 2:28 PM
Subject: Re: [JBoss-dev] java.io.NotSerializableException:
org.jboss.jetty.JBossUserRealm


> If you had run the testsuite today, you would have noticed the absence of
this
> problem.... :-)
>
> I am using a suggestion of Anatoly's to simply :
>
> SecurityAssociation.setPrincipal(new SimplePrincipal(this.getName()));
>
> instead of :
>
> SecurityAssociation.setPrincipal(this);
>
> in my JBossUserPrincipal.
>
> SimplePrincipals are Serializable, whereas JBossUserPrincipals is not.
>
> This should be OK - shouldn't it, Scott ?
>
>
> Jules
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to