Re: instructions for setting up jaas over db in tomcat
I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm It tooks some research, but I finally got it to work. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instructions for setting up jaas over db in tomcat
Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === Ittay Dror ([EMAIL PROTECTED]) Application Team Leader, RD Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instructions for setting up jaas over db in tomcat
btw, i also need authentication vs an ldap server thanx, ittay Ittay Dror wrote: Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === Ittay Dror ([EMAIL PROTECTED]) Application Team Leader, RD Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instructions for setting up jaas over db in tomcat
Have you read anything here? http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html /robert Ittay Dror wrote: Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instructions for setting up jaas over db in tomcat
From: Ittay Dror [EMAIL PROTECTED] btw, i also need authentication vs an ldap server I recently got JAASRealm and Sun's Krb5LoginModule (Kerberos Authentication) to work for the JSP examples that ship with Tomcat... this may save you some pain: http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatJspExamples You'll have to figure out what to put in jaas.conf and find a LoginModule for LDAP, but other than that the pieces should fit together the same way. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: instructions for setting up jaas over db in tomcat
tomcat website has a server configuration link and it states for every element in the server.xml which sub elements are possible. along with knowledge of JAAS you have to acuire alone and the JAAS Realm configuration link you have been given, i would say you are set. -Original Message- From: Ittay Dror [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 10:48 PM To: Tomcat Users List Subject: Re: instructions for setting up jaas over db in tomcat Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === Ittay Dror ([EMAIL PROTECTED]) Application Team Leader, RD Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instructions for setting up jaas over db in tomcat
Guy Katz wrote: tomcat website has a server configuration link and it states for every element in the server.xml which sub elements are possible. along with knowledge of JAAS you have to acuire alone and the JAAS Realm configuration link you have been given, i would say you are set. can i put the Realm statement in Catalina/localhost/ROOT.xml? -Original Message- From: Ittay Dror [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 10:48 PM To: Tomcat Users List Subject: Re: instructions for setting up jaas over db in tomcat Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === Ittay Dror ([EMAIL PROTECTED]) Application Team Leader, RD Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: instructions for setting up jaas over db in tomcat
if the Realm element can reside inside the elements in the root.xml (specifically the Context element) then yes. you can check this in the server.xml configuration docs on the tomcat website. -Original Message- From: Ittay Dror [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 7:49 AM To: Tomcat Users List Subject: Re: instructions for setting up jaas over db in tomcat Guy Katz wrote: tomcat website has a server configuration link and it states for every element in the server.xml which sub elements are possible. along with knowledge of JAAS you have to acuire alone and the JAAS Realm configuration link you have been given, i would say you are set. can i put the Realm statement in Catalina/localhost/ROOT.xml? -Original Message- From: Ittay Dror [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 10:48 PM To: Tomcat Users List Subject: Re: instructions for setting up jaas over db in tomcat Robert Taylor wrote: I used the following link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm doesn't contain whether i can put 'Realm' in ROOT.xml doesn't say anything about where to get a LoginModule implementation, or how to config jaas.config. It tooks some research, but I finally got it to work. my point exactly. i believe every person setting up tomcat does this research and i wondered if anyone created a guide. /robert Ittay Dror wrote: Hi, I haven't found anywhere a step-by-step instructions or reference code on how to set up jaas. Please help me with this as I'm very much lost. What I need: - authentication vs a DB - a ROOT webapp - tomcat 5.5 - where to put the 'Realm' element (can it be in conf/Catalina/localhost/ROOT.xml?) - what to put inside jaas.config - where to get an implementation of a login module. tagish isn't good for me since they require a specific db schema (i'm porting an existing application). Is there a standalone package with jboss's implementations? Thanx, Ittay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === Ittay Dror ([EMAIL PROTECTED]) Application Team Leader, RD Qlusters Inc. +972-3-6081994 Fax: +972-3-6081841 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]