> From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Subject: Bug in RealmBase, JAASRealm, and/or Requestt object > preventing proper role authorization > > When this statement executes, principal is not a > GenericPrincipal, by merits of the request's > getUserPrincipal() method executed prior to calling > this method -- it is instead a custom user principal.
What happens if you have your custom principal extend GenericPrincipal? It appears that all the interesting fields are marked as protected, so you should be able to set them in a subclass. - 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]