Read the JAAS howto, the first topic in this forum as it has an example of using the DatabaseServerLoginModule.
hi Scott Stark,
in fact ,i have read the HOWTO.
it just tell the configuration about databaseLoginModule,but not any code fragment about the web tier.
thanks for your reply anyway.
can you give me the code fragment?
Application code never directly uses any login module so the configuration is all that matters. The JAAS howto shows setting up a web application to delegate authentication and authorization checks to the DatabaseServerLoginModule. If this is not what you want describe the problem in more detail.