Oleg Nitz wrote:
> 
> Ferguson, Doug wrote:
> > I am currently tryint to write a loginModule that
> > uses DBAuthentication and uses roles.
> BTW, you don't need to re-implement DBAuthentication, you can use
> DatabaseServerLoginModule and write your own login module that just
> sets user roles for the Subject. These server login modules then
> should appear in auth.conf one below another in the same application
> entry.
> 
> Oleg

Whoa. I was just extending the existing DatabaseServerLoginModule.
Wouldn't it make sense to query the roles when I query the password =
only on dB hit.

PS, I am not sure how it would work with 2 modules.

d.

-- 
Doug Ferguson
Software Developer
www.coremetrics.com
512-342-2623x212
512-619-9972(cell)

Reply via email to