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.

Reply via email to