Oleg's answered this more correctly than I did. What I was alluding to is if
you had multiple loginmodule then they would share the same Subject for a
given user.
-----Original Message-----
From: Kenworthy, Edward [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 15:15
To: 'jBoss Developer'
Subject: RE: [jBoss-Dev] jaas - commit()
The Subject is magic :-) it's shared.
-----Original Message-----
From: Ferguson, Doug [mailto:[EMAIL PROTECTED]]
Sent: 22 January 2001 15:17
To: '[EMAIL PROTECTED]'
Subject: [jBoss-Dev] jaas - commit()
I am currently tryint to write a loginModule that
uses DBAuthentication and uses roles.
I was checking out the AbstractLoginModule class
and noticed that it just took the Subject reference
and added roles to it. Is this all that is necessary
to add roles to a user.
What is going on under the hood here. How does jBoss
get the subject back later? I.E. I thought rmi calls
where pass by value.
Thanks.
d.