> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] 
> Subject: Re: Bug in RealmBase, JAASRealm, and/or Requestt 
> object preventing proper role authorization
> 
> So in the JAAS login module, what you would have to do 
> is instantiate a user principal that is a subclass of 
> GenericPrinicipal for your user principal, then add your
> role principals to that user principal, and then add the 
> user principal and all the role principals to the subject.

No, you don't need to go through those steps yourself, since the
JAASRealm will do it for you.

> What an ugly hack though.

I guess I don't see the ugliness - that's what subclassing is for.
Would be nice if the behavior were actually documented...

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to