JAAS: Where does role information go in a Subject?

2004-03-12 Thread Alan Weissman
I'm implementing a JAAS login mechanism in my app, not as a Realm but via Struts Action classes. In my loginModule, I am creating the Subject with principals and credentials and want to store role information. Where does Tomcat expect a list of roles to be in the Subject? I Haven't been

Re: JAAS: Where does role information go in a Subject?

2004-03-12 Thread Adam Hardy
On 03/12/2004 06:44 PM Alan Weissman wrote: I'm implementing a JAAS login mechanism in my app, not as a Realm but via Struts Action classes. In my loginModule, I am creating the Subject with principals and credentials and want to store role information. Where does Tomcat expect a list of roles

RE: JAAS: Where does role information go in a Subject?

2004-03-12 Thread Alan Weissman
control over what happens at login? -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:48 PM To: Tomcat Users List Subject: Re: JAAS: Where does role information go in a Subject? On 03/12/2004 06:44 PM Alan Weissman wrote: I'm implementing

Re: JAAS: Where does role information go in a Subject?

2004-03-12 Thread Adam Hardy
On 03/12/2004 08:02 PM Alan Weissman wrote: Hm! Thanks Adam - I guess that makes sense! Ok, so my two requirements for my authentication are 1) that I can load custom information into the session object and 2) that I support isUserInRole(). Realm authentication should take care of #2, but what