Hi Davis, Just an idea: Couldn't it be possible to point to the config-file by setting the System.Property dynamically in your Login-modules class by: System.setProperty("java.security.auth.login.config","jaas.conf") or System.setProperty("java.security.auth.login.config","URL_path\jaas.conf").
Falko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Davis Sent: Donnerstag, 22. November 2001 08:25 To: [EMAIL PROTECTED] Subject: jaas login module integration with tomcat Hi All. Right now, I am facing one problem integrating my jaas login module to servlet or JSP using tomcat. I don't find a way to configure the jaas.config file into the server so that the loginContext can find the login module to instantiate from the config file. We can specify this for application using -D option( -Djava.security.auth.login.config==jaas.config ). Any one did this before ?.. Can you please share with me. Any help in this regard is highly appreciated. Warm regards Davis. [EMAIL PROTECTED] wrote: > > Hi! This is the ezmlm program. I'm managing the > [EMAIL PROTECTED] mailing list. > > I'm working for my owner, who can be reached > at [EMAIL PROTECTED] > > Acknowledgment: I have added the address > > [EMAIL PROTECTED] > > to the tomcat-user mailing list. > > Welcome to [EMAIL PROTECTED]! > > Please save this message so that you know the address you are > subscribed under, in case you later want to unsubscribe or change your > subscription address. > > --- Administrative commands for the tomcat-user list --- > > I can handle administrative requests automatically. Please > do not send them to the list address! Instead, send > your message to the correct command address: > > To subscribe to the list, send a message to: > <[EMAIL PROTECTED]> > > To remove your address from the list, send a message to: > <[EMAIL PROTECTED]> > > Send mail to the following for info and FAQ for this list: > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > Similar addresses exist for the digest list: > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > To get messages 123 through 145 (a maximum of 100 per request), mail: > <[EMAIL PROTECTED]> > > To get an index with subject and author for messages 123-456 , mail: > <[EMAIL PROTECTED]> > > They are always returned as sets of 100, max 2000 per request, > so you'll actually get 100-499. > > To receive all messages with the same subject as message 12345, > send an empty message to: > <[EMAIL PROTECTED]> > > The messages do not really need to be empty, but I will ignore > their content. Only the ADDRESS you send to is important. > > You can start a subscription for an alternate address, > for example "[EMAIL PROTECTED]", just add a hyphen and your > address (with '=' instead of '@') after the command word: > <[EMAIL PROTECTED]> > > To stop subscription for this address, mail: > <[EMAIL PROTECTED]> > > In both cases, I'll send a confirmation message to that address. When > you receive it, simply reply to it to complete your subscription. > > If despite following these instructions, you do not get the > desired results, please contact my owner at > [EMAIL PROTECTED] Please be patient, my owner is a > lot slower than I am ;-) > > --- Enclosed is a copy of the request I received. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 25872 invoked from network); 22 Nov 2001 03:31:31 -0000 > Received: from daedalus.apache.org (HELO apache.org) (64.125.133.20) > by nagoya.betaversion.org with SMTP; 22 Nov 2001 03:31:31 -0000 > Received: (qmail 43067 invoked by uid 500); 22 Nov 2001 03:31:22 -0000 > Delivered-To: apmail-jakarta-tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirte [EMAIL PROTECTED] > Received: (qmail 43062 invoked from network); 22 Nov 2001 03:31:22 -0000 > Received: from smtp1.cwasia.net.sg (202.79.64.27) > by daedalus.apache.org with SMTP; 22 Nov 2001 03:31:22 -0000 > Received: from elixirtech.com ([202.79.93.131]) > by smtp1.cwasia.net.sg (8.9.3/8.9.1) with SMTP id LAA07064 > for <tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@jakarta .apache.org>; Thu, 22 Nov 2001 11:31:30 +0800 (SGT) > Sender: [EMAIL PROTECTED] > Message-ID: <[EMAIL PROTECTED]> > Date: Thu, 22 Nov 2001 12:24:26 +0800 > From: Davis <[EMAIL PROTECTED]> > X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22 i686) > X-Accept-Language: en > MIME-Version: 1.0 > To: tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@jakarta. apache.org > Subject: Re: confirm subscribe to [EMAIL PROTECTED] > References: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > [EMAIL PROTECTED] wrote: > > > > Hi! This is the ezmlm program. I'm managing the > > [EMAIL PROTECTED] mailing list. > > > > I'm working for my owner, who can be reached > > at [EMAIL PROTECTED] > > > > To confirm that you would like > > > > [EMAIL PROTECTED] > > > > added to the tomcat-user mailing list, please send > > an empty reply to this address: > > > > tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@jakarta. apache.org > > > > Usually, this happens when you just hit the "reply" button. > > If this does not work, simply copy the address and paste it into > > the "To:" field of a new message. > > > > or click here: > > mailto:tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@j akarta.apache.org > > > > This confirmation serves two purposes. First, it verifies that I am able > > to get mail through to you. Second, it protects you in case someone > > forges a subscription request in your name. > > > > Some mail programs are broken and cannot handle long addresses. If you > > cannot reply to this request, instead send a message to > > <[EMAIL PROTECTED]> and put the > > entire address listed above into the "Subject:" line. > > > > --- Administrative commands for the tomcat-user list --- > > > > I can handle administrative requests automatically. Please > > do not send them to the list address! Instead, send > > your message to the correct command address: > > > > To subscribe to the list, send a message to: > > <[EMAIL PROTECTED]> > > > > To remove your address from the list, send a message to: > > <[EMAIL PROTECTED]> > > > > Send mail to the following for info and FAQ for this list: > > <[EMAIL PROTECTED]> > > <[EMAIL PROTECTED]> > > > > Similar addresses exist for the digest list: > > <[EMAIL PROTECTED]> > > <[EMAIL PROTECTED]> > > > > To get messages 123 through 145 (a maximum of 100 per request), mail: > > <[EMAIL PROTECTED]> > > > > To get an index with subject and author for messages 123-456 , mail: > > <[EMAIL PROTECTED]> > > > > They are always returned as sets of 100, max 2000 per request, > > so you'll actually get 100-499. > > > > To receive all messages with the same subject as message 12345, > > send an empty message to: > > <[EMAIL PROTECTED]> > > > > The messages do not really need to be empty, but I will ignore > > their content. Only the ADDRESS you send to is important. > > > > You can start a subscription for an alternate address, > > for example "[EMAIL PROTECTED]", just add a hyphen and your > > address (with '=' instead of '@') after the command word: > > <[EMAIL PROTECTED]> > > > > To stop subscription for this address, mail: > > <[EMAIL PROTECTED]> > > > > In both cases, I'll send a confirmation message to that address. When > > you receive it, simply reply to it to complete your subscription. > > > > If despite following these instructions, you do not get the > > desired results, please contact my owner at > > [EMAIL PROTECTED] Please be patient, my owner is a > > lot slower than I am ;-) > > > > --- Enclosed is a copy of the request I received. > > > > Return-Path: <[EMAIL PROTECTED]> > > Received: (qmail 25659 invoked from network); 22 Nov 2001 03:30:05 -0000 > > Received: from daedalus.apache.org (HELO apache.org) (64.125.133.20) > > by nagoya.betaversion.org with SMTP; 22 Nov 2001 03:30:05 -0000 > > Received: (qmail 42636 invoked by uid 500); 22 Nov 2001 03:29:56 -0000 > > Delivered-To: [EMAIL PROTECTED] > > Received: (qmail 42631 invoked from network); 22 Nov 2001 03:29:56 -0000 > > Received: from smtp1.cwasia.net.sg (202.79.64.27) > > by daedalus.apache.org with SMTP; 22 Nov 2001 03:29:56 -0000 > > Received: from elixirtech.com ([202.79.93.131]) > > by smtp1.cwasia.net.sg (8.9.3/8.9.1) with SMTP id LAA06971 > > for <[EMAIL PROTECTED]>; Thu, 22 Nov 2001 11:30:03 +0800 (SGT) > > Sender: [EMAIL PROTECTED] > > Message-ID: <[EMAIL PROTECTED]> > > Date: Thu, 22 Nov 2001 12:22:59 +0800 > > From: Davis <[EMAIL PROTECTED]> > > X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22 i686) > > X-Accept-Language: en > > MIME-Version: 1.0 > > To: [EMAIL PROTECTED] > > Subject: subscribe > > Content-Type: text/plain; charset=us-ascii > > Content-Transfer-Encoding: 7bit > > X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > > > subscribe -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>